Gamestudio Links
Zorro Links
Newest Posts
IBKR datasave problem
by BrainSailor. 06/13/25 09:42
Marking Exit trades
by jcl. 06/11/25 14:02
SGT_FW
by Aku_Aku. 06/02/25 17:54
The Perfect Adventure Game
by tian. 05/27/25 04:32
ADX values
by Yogpot. 05/25/25 15:11
Transfer of Lots between Algos?
by Jack_Zodiac. 05/25/25 09:30
AUM Magazine
Latest Screens
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Zeal-X2
Who's Online Now
2 registered members (AndrewAMD, Quad), 507 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
WardyJoubertIII, NewbieZorro, Squarei, tian, Yogpot
19139 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to enable trading for negative price? #488426
11/03/24 10:25
11/03/24 10:25
Joined: Apr 2023
Posts: 56
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 56
I have negative prices for some futures assets, due to stitching up different contracts to generate a continuous futures price. However, Zorro will cap the negative prices at zero.

How to enable Zorro to continue trading at negative price, just like for positive price?

Re: How to enable trading for negative price? [Re: vicknick] #488427
11/04/24 16:15
11/04/24 16:15
Joined: Feb 2017
Posts: 1,790
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,790
Chicago
Use PriceOffset, as discussed here:
https://opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=486155#Post486155
Quote
PriceOffset
Amount added to historical or live prices of the current asset, for special purposes such as shifting negative prices to the positive scale. Set it after selecting the asset, but before loading history for affecting historical prices.

https://zorro-project.com/manual/en/spread.htm


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1