/Futures - How to auto-calculate how many contracts I can buy with my balance?

K

kelso

New member
VIP
Hi All,

I'm trying to come up with an automatic way to tell me how much futures I can buy with my current balance/margin balance.
Futures act differently than regular stocks, so the market price isn't really the price it will cost to buy a margin, but rather the margin requirement needs to be calculated. any suggestions on which variables to use inside thinkscript? I can't find one that will give me what I need.

Thanks!
 
murkr

murkr

Member
VIP
I just have $2000 in my account per MES contract. That way if the price goes in the opposite direction I can go negative for a bit without getting margin called.
 

Similar threads

Top