Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by Grant. 05/23/26 20:53
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
Purchase A8 full licence version
by NeoDumont. 05/13/26 20:17
Black Book, 4th edition
by TipmyPip. 05/11/26 08:40
No errors in the command line
by jcl. 05/08/26 10:59
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 2,774 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
jayden, liu, Koti, curry, DeepxKalsi
19220 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,814
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

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