Skip to content

Commit

Permalink
removed brack order and add a custom RMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Harkishan-99 committed Sep 29, 2020
2 parents e040b93 + 6b6b213 commit 19cb245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ from trend_following import run
#settings
#-------------------------------
#Running this strategy on two stocks : AAPL and AMZN
#with with trade quantity of 50 and 20 respectively
#with with trade quantity of 50 and 30 respectively
#both share same setting for Bollinger Bands lookback i.e. 50 bars
#and TP/SL as 2/1
symbols = {'AAPL' : ['volume_bar', 50, 15, 2, 1],
'AMZN' : ['volume_bar', 30, 15, 2, 1]}
bars_per_day = 5000 #sampling frequency
bars_per_day = 50 #sampling frequency i.e. number of bars per day
#passing the symbols and running it.
run(symbols, bars_per_day)
```

0 comments on commit 19cb245

Please sign in to comment.