I just recently started using pyalgotrade
I backtest bitcoin historical data
In every trade I want to trade a fraction of bitcoin, but because the quantity argument of enterlong(), has int method, it converts for example 0.5 into 0 and raises an error.
What can I do?
Thanks a lot