Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (alibaba, howardR, basik85278), 756 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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 Offline OP
Serious User
AndrewAMD  Offline 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 Offline OP
Serious User
AndrewAMD  Offline 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,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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