vectorbt icon indicating copy to clipboard operation
vectorbt copied to clipboard

How to set Leverage?

Open mr-september opened this issue 1 year ago • 1 comments

Trying to backtest on Forex, which is almost always traded on large leverage. Setting fees but without leverage makes the results useless.

mr-september avatar Apr 02 '23 10:04 mr-september

Leverage currently supported only in the pro version. Community version doesn't have the required args, but you can always use the low level api of vectorbt to build your own simulation function.

polakowo avatar Apr 03 '23 11:04 polakowo