Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 3.11
by madpower2000. 07/16/26 13:49
What are you working on?
by NeoDumont. 07/15/26 16:38
Z9 getting Error 058
by jcl. 07/15/26 15:07
Zorro version 3.0 prerelease!
by madpower2000. 07/14/26 20:11
Accepting new programming clients
by AndrewAMD. 07/14/26 19:32
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (TipmyPip, AndrewAMD, Quad, ukgamer), 1,429 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 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: 61
V
vicknick Offline OP
Junior Member
vicknick  Offline OP
Junior Member
V

Joined: Apr 2023
Posts: 61
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,821
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,821
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