Replies: 1 comment
-
No support for fractional units. See #134 for a workaround. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm am trying to implement a backtest for Oanda CFD SPX Symbol.



Oanda works with units (and not with lots like other Forex Broker) and it is possible to use one decimal point .
So the questions is how can I mimic this symbol in backtesting py the best.
I use the following already:
bt = Backtest(data, Cluster, cash=cash_g, exclusive_orders=True, margin=0.05 )
margin = 0.05 => 1:20 leverage but I don't know how to handle the decimal problem...
Thank you and best regards,
Anton
Beta Was this translation helpful? Give feedback.
All reactions