Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, Grant, AndrewAMD), 3,498 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Futures with IB #480813
07/16/20 01:08
07/16/20 01:08
Joined: Mar 2020
Posts: 41
J
jbhunter Offline OP
Newbie
jbhunter  Offline OP
Newbie
J

Joined: Mar 2020
Posts: 41
Is anyone familiar with how to setup futures trading with IB? I first tried to setup E-mini S&P futures. I did figure the symbol out. When using the Download script to update the assets file I get this.

Name,Price,Spread,RollLong,RollShort,PIP,PIPCost,MarginCost,Leverage,LotAmount,Commission,Symbol
ES,3222.00,0.250000,0.0000,0.0000,0.01000,0.010000,0,2.000,1.00,0.000,ES-FUT-20200918-ES-GLOBEX

Bear with me, I am new to Futures....

From Barcharts.com for ES (S&P E-mini)
https://www.barchart.com/futures/quotes/ESU20/overview
Point Value $50
Tick Size 0.25 points ($12.50 per contract)
Contract Size $50 times Index
Point Value $50
Margin/Maintenance $13,200/12,000


When backtesting the equity is tracking the asset value. Not $12.50 per contract/0.25 value tick. Does the Download script now work for Futures on IB? Any suggestions on how to properly configure the assets file?

Re: Futures with IB [Re: jbhunter] #483648
07/01/21 16:55
07/01/21 16:55
Joined: Jul 2021
Posts: 1
S
Stefan_zt Offline
Guest
Stefan_zt  Offline
Guest
S

Joined: Jul 2021
Posts: 1
Hi there, did you figure this out? I'm trying to setup and backtest ES futuers for the first time as well and not sure how to do it correctly.

Thanks

Re: Futures with IB [Re: jbhunter] #483649
07/02/21 14:11
07/02/21 14:11
Joined: Feb 2017
Posts: 1,814
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,814
Chicago
You need to configure the asset list per the contract specifications:
https://zorro-project.com/manual/en/account.htm
https://www.cmegroup.com/markets/equities/sp/e-mini-sandp500.contractSpecs.html

Assuming this is a USD account, PIP should be 0.25, PIPCost should be 12.50, leverage should be zero, and MarginCost should be the maximum of initial and maintenance margin (per your broker). (Or configure MarginCost or Leverage conservatively.)

Re: Futures with IB [Re: jbhunter] #483650
07/02/21 14:25
07/02/21 14:25
Joined: Jul 2017
Posts: 787
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 787
...And you would need to handle rollovers - both when backtesting and in Live.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1