Gamestudio Links
Zorro Links
Newest Posts
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:48
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
3 registered members (MadJack, AndrewAMD, Quad), 540 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: NFA Accounts: Pending to Filled [Re: Zheka] #468854
10/23/17 17:00
10/23/17 17:00
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: Zheka
In case of SierraChart, it is quite safe to assume that OrderIDs reported via DTC would conform to the same convention.
Most SC broker integrations are based on FIX.
Agreed

Re: NFA Accounts: Pending to Filled [Re: jcl] #469209
11/08/17 14:52
11/08/17 14:52
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online OP
Serious User
AndrewAMD  Online OP
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: jcl
For closing an order on an NFA account, the fill price is passed in the BrokerBuy function. If the position is not yet closed, return zero. Zorro will then repeat the close order until the fill price is known.

Originally Posted By: jcl
The difference is not needed, since on NFA accounts it does not matter which order is closed. Only the close amount matters. When positions are not closed immediately, you need anyway a bookkeeping of the positions in your plugin. When a position closes, then return 1 and pass the fill price on the next close order of the same amount. If the close order has a different amount, just ignore it. Unlike open orders, close orders are repeated until the right amount is closed.
jcl, this is very useful information. Perhaps this should be added to the manual?

Re: NFA Accounts: Pending to Filled [Re: AndrewAMD] #469229
11/09/17 08:50
11/09/17 08:50
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Yes, I will add it.

Page 2 of 2 1 2

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