Dave-Vallance / bt-ccxt-store

Fork of Ed Bartosh's CCXT Store Work
MIT License
423 stars 187 forks source link

how to buy and sell in backtest? #48

Open graceyangfan opened 3 years ago

graceyangfan commented 3 years ago

I am a newer in quant,I see that when you do a live trading, the code use buy method from ccxt, so when doing a backrest, which buy method should I use,the method from ccxt or backtrader.These method in ccxt and backtrader have different parameters,so it means I should write two different version for backtest and live trading?

donjonson commented 3 years ago

I have not yet used this backtrader add on so I really dont know what I am talking about but I would reccomend not using the ccxt module in a backtest. you dont need to pull the data from your broker if your not trading live