I need to be able to track an external identifier thru that process and wanted to ask some questions about Order fields that are not documented as far as I can tell.
1. OrderId is supposed to be the brokerage id for the order, but it seems to be set even when the order is in Initialized state (before being sent), which would imply this is a Ninja id, not the brokerage id. Is this true? If so, is there any way to get the brokerage order id?
2. ClientId is an undocumented long field. If I set this field, it seems to be carried thru the order process (except in the Initialized state when it is set to -1). Can this field be safely used for this purpose? If so, any reason it would not be set in the Initialized state (I set it it when passed to Submit, but first OrderUpdate has set to -1, subsequent OrderUpdates have properly set)?
3. Similarly, there is an undocumented Id long field. Can this be used?
4. Finally, there are two string fields, Name and FromEntrySignal. Can these be safely used to store order information thru the order update process?
Thanks.
Comment