Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 07/05/22 15:02
C++ scripts
by jcl. 07/04/22 13:02
History & HistoryFolder
by DdlV. 07/01/22 14:57
car.c how to add a trailer or wagon?
by Ice2642. 07/01/22 13:35
AUM Magazine
Latest Screens
DEAD TASTE
Tactics of World War I
Hecknex World
Scheherazade's Journey
Who's Online Now
6 registered members (Grant, MegaTanker, AndrewAMD, foox, Ice2642, 1 invisible), 397 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
foox, Jiseb, faustotex, Anas, PeroPero
18793 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,834
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,834
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: 82
M
MegaTanker Online OP
Junior Member
MegaTanker  Online OP
Junior Member
M

Joined: Aug 2021
Posts: 82
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