[ts-gen] Debugging intermittent lost posts

Bill Pippin pippin at owlriver.net
Thu Oct 1 20:05:25 EDT 2009


Today's release uses the new algorithm for choosing the order id
sequence starting point as described in a previous post:

>   0.  Given a shim-provided handshake client_id of C, and the
>       resulting next id message from the IB tws with a proposed
>       tick id sequence starting value of X; then:
>   1.  the shim will interpolate C into the following query template:
>           select max(order_tag)
>             from CreateEvent
>            where client_id = %d;
>   2.  use it to select from the database a max id value Y; and
>   3.  use max(X, Y+1) as the tick id sequence starting point.

There is also a new "dups" option to retain the old behavior, which
feature should not be used without good reason.



More information about the ts-general mailing list