Gamestudio Links
Zorro Links
Newest Posts
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:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (firecrest, AndrewAMD), 387 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
New TradeMode TR_POOLDELAY #477938
08/16/19 15:03
08/16/19 15:03
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
jcl,

Currently, if a virtual trade is entered in tick() or a TMF, the pool trade occurs instantly.

It would be helpful if this can be overridden such that all pool trades take place at the end of all pending tick() and TMF calls.

What happens now:
tick() is called, virtual trade is opened/closed, pool trade executed immediately.
TMFs are called, various virtual trades are closed, pool trade executed immediately.

New feature:
setf(TradeMode, TR_POOLDELAY)
tick() is called, virtual trade is opened/closed. (nothing happens to the pool yet.)
TMFs are called, various virtual trades are closed. (nothing happens to the pool yet.)
No tick or TMF calls remain. Now adjust the pool. (Alternatively, wait for an explicit call to a new function tradePool().)

Thanks,
Andrew

Re: New TradeMode TR_POOLDELAY [Re: AndrewAMD] #477949
08/17/19 21:46
08/17/19 21:46
Joined: Apr 2008
Posts: 585
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 585
Austria
To enter a pool trade not in tick() but later, I would simply sum up the lots in tick() and then enter later the trade.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1