Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/20/24 06:09
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (flink, Edgar_Herrera), 695 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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