How to get historical margin requirement from brokers?

Discussion in 'Commodity Futures' started by Phoenix_colossal, May 12, 2022.

  1. fullautotrading likes this.
  2. CannonTrading_Ilan

    CannonTrading_Ilan Sponsor

    comagnum likes this.
  3. CannonTrading_Ilan

    CannonTrading_Ilan Sponsor

    Good question and to be honest not sure.
    We charge exchange minimum over 90% of the time.
     
  4. IB offers historical data, but not of the type that you want. At least not that I am aware of.

    The only viable option that I see with IB is to create your own repository by recording real-time the current margin requirements for the desired instruments (this you can get easily).

    After a while, you would have a good repository.

    Then, to go back in time, you might work by interpolation and data "reconstruction". That is, to apply the discrepancy you see in real time between broker and exchange and make a plausible projection on the past data.

    Better than nothing I guess.
     
  5. yeah that's what I am doing. Just log the margin requirement of all instrument one by one via whatIfOrder() on an empty account, so I get the "raw" margin requirement. Better late than never.
     
  6. Just assume that if volatility picks up, you will not be able to execute your system anymore with IB if it depends on margin.