I made a strategy myself that includes some sort of position sizing algorithm. When running the strategy on stocks everything works perfect using Close[0] as current price, but when I run it on futures, I woud have to know the margin and not the real value of the contract.
Is there any way to check if the traded contract is a future and if it is, to access its margin?
Comment