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 (TipmyPip, 1 invisible), 18,789 guests, and 8 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
Page 4 of 4 1 2 3 4
Re: Reversing positions without market orders? [Re: MegaTanker] #486183
06/17/22 10:22
06/17/22 10:22
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
If the broker has a flat fee, use virtual hedging. This ensures the minimum number of orders.

Re: Reversing positions without market orders? [Re: MegaTanker] #486192
06/17/22 16:10
06/17/22 16:10
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline OP
Member
MegaTanker  Offline OP
Member
M

Joined: Aug 2021
Posts: 101
If the virtual hedging modes submit the pool trades always as one order, I might be able to work with that. I probably have no control per script over the execution of those, they will always be market orders (I assume) but I could add a brokercommand to turn them into limit orders on the plugin side perhaps.

By the way, the FTX plugin on github also has another bug I think. BrokerHistory returns T6 candles with their starting timestamp when Zorro expects the ending timestamp, doesn't it? So every minute candle is effectively shifted by one bar.

Page 4 of 4 1 2 3 4

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1