Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, Quad), 768 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
...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