Open npezolano opened 9 years ago
I've heard it's currently in the works. @jfkirk should be able to give you more details. Personally I'd love to have the SPAN margin method implemented http://www.investopedia.com/terms/s/spanmargin.asp
@npezolano We are planning to incorporate a full margin system that would allow you to specify rates for individual Assets or classes of Assets. This would cover your use case.
Right now we are speccing this feature out (conducting user interviews and designing the API). Then we will begin development.
Self-assigning.
Could this be incorporated into the metadata that gets passed into TradingEnviroment.write_data?
until the margin feature is implemented for futures, is there any way we can limit the max leverage when running backtests with futures?
Unlike equities, each future contract has a different initial and maintenance margin. Should this be incorporated somehow into Zipline?
https://www.interactivebrokers.com/en/?f=margin&p=fut
Somewhat related to #564