Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 827 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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