Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
IB live trading - negative prices #473192
06/20/18 09:03
06/20/18 09:03
Joined: Mar 2017
Posts: 65
G
Ger1 Offline OP
Junior Member
Ger1  Offline OP
Junior Member
G

Joined: Mar 2017
Posts: 65
I am testing futures trading via Zorro's IB API at the moment.

When I am closing trades negative prices are returned and due to this huge losses are recorded.

Below an example from the logfile:

Name,Type,Asset,ID,Lots,Open,Close,Entry,Exit,Profit,Roll,ExitType
TradeTest,Long,ES,18,1,14/06/2018 10:32.14/06/2018 10:32,2778.8,-2778.8,-277925,0,Sold

I entered and exited at the same price but a loss of $277k is shown.
Is this a common error? All it took was 5 trades and the shown demo-account size was negative.

I also tried various broker commands but could not solve it.

Re: IB live trading - negative prices [Re: Ger1] #473200
06/21/18 05:35
06/21/18 05:35
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Can you show that script, or send it to support?

Re: IB live trading - negative prices [Re: jcl] #473201
06/21/18 06:42
06/21/18 06:42
Joined: Mar 2017
Posts: 65
G
Ger1 Offline OP
Junior Member
Ger1  Offline OP
Junior Member
G

Joined: Mar 2017
Posts: 65
I tried various ones including TradeTest and all had the same results.

Okay, thanks I'll send it to the support.


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1