[ts-gen] What is the "perm" column in OrderStatus?

R P Herrold herrold at owlriver.com
Sun Aug 23 15:35:06 EDT 2009


On Sun, 23 Aug 2009, Ken Feng wrote:

> This "perm" field seems to be embedded in the filled 3|11|7 responses
> rather than the user-defined key sequential.
>
> Is this the identifier for an order (how I map from filled trade to my
> original order)?
>
> In the case below, perm turns out to be 471363108 towards the end.  I
> am trying to associate this perm entry back to my user-defined
> sequential key.

seen in the next to last field here.  I am away from my notes, 
and I suspect that is a shim session data structure pointer, 
but this is not at all clear in my memory.  Within a given 
shim session, completed orders are held in a non-transient 
memory structure (a 'perm'anent one for the duration of that 
process session), which needs to be marked as 'perm'anent and 
thus not transient temporary or free-able.

This said, I also recall design discussions about habing a 
user defined 'permanent' brand on each order, as might be 
useful for lot accounting purposes.

-- Russ herrold


> 18967|06014|  0.316406|3|11| 7|49|AUD
> |CASH||0.000000||IDEALPRO|JPY|AUD.JPY|0001f4e8.43b61b2e.01.01|20090821
> 01:40:13|DU70100|IDEALPRO|BOT|50000|78.130000|471363108|8|0|0



More information about the ts-general mailing list