Gamestudio Links
Zorro Links
Newest Posts
Old models with Mixamo animations
by rayp
Yesterday at 21:21
rayp's old school fast zombie FPS project
by rayp
Yesterday at 21:10
Votes for future features
by AndrewAMD
Yesterday at 18:08
Series within loop
by tradingest
Yesterday at 15:24
TMF info
by AndrewAMD
Yesterday at 15:24
text outline breiter machen?
by tagimbul
Yesterday at 12:26
Reset vars
by tradingest
Yesterday at 00:40
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
5 registered (Akow, RealSerious3D, AndrewAMD, thewalruss, 1 invisible), 442 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
jiffdbf, jgtrader, Chefmac, BazGen, pallab1964
18079 Registered Users
Topic Options
Rate This Topic
#473091 - 06/12/18 22:36 Broker API: BrokerTrade: Pending Order gets rejected
AndrewAMD Online
Senior Member

Registered: 02/21/17
Posts: 384
Loc: Chicago
jcl,

I have a question regarding the following scenario:

* Plugin is orders-only (NFA)
* Zorro calls BrokerBuy2. Plugin places the order. Broker confirms that the order is in a "pending" state and supplies a UUID. Plugin therefore returns -1 and outputs this UUID.
* Broker rejects the pending order for some reason. For example, the order expired.
* Zorro specifies this UUID and then calls BrokerTrade, nTradeID=-1.

Question: How is the plugin supposed to communicate that the pending order has been suddenly rejected?


Aside: For context, I will cross-reference this thread:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=469209&page=1

Top
#473126 - 06/15/18 15:44 Re: Broker API: BrokerTrade: Pending Order gets rejected [Re: AndrewAMD]
jcl Offline

Chief Engineer

Registered: 07/22/00
Posts: 26529
Loc: Frankfurt
When BrokerTrade() returns 0, Zorro will remove that order from its list.

Top
#473128 - 06/15/18 15:57 Re: Broker API: BrokerTrade: Pending Order gets rejected [Re: jcl]
AndrewAMD Online
Senior Member

Registered: 02/21/17
Posts: 384
Loc: Chicago
Thanks for the clarification.

Top



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

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