[ts-gen] Debugging intermittent lost posts
Nils Gebhardt
mail at ngebhardt.de
Sat Oct 3 16:48:17 EDT 2009
Bill,
thanks for releasing the new algorithm; and also for pointing me
explicitly to the warn option in a previous post - I missed it out
somewhat in a first step.
regards,
Nils
On Thu, 2009-10-01 at 20:05 -0400, Bill Pippin wrote:
> Nils,
>
> 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.
>
> Thanks,
>
> Bill
>
> _______________________________________________
> ts-general mailing list
> ts-general at trading-shim.org
> http://www.trading-shim.org/mailman/listinfo/ts-general
More information about the ts-general
mailing list