Bob111
Registered: May 2002
Posts: 6422 |
05-22-13 02:35 AM
Quote from bluematrix:
oh sure, it was that every time you restart it, it doesn't reset - you need to pick up the last order you had used.
that's right.just a random example- imagine holding large position on same stock with multiple entries and maybe open target\stops orders. then your internet dies or Pc crashed or whatever. you have to restart TWS and now you stuck,if you don't have your ID's and rest of the info about orders stored or they reset because of this restart. what you gonna do?
it's the only way-assign new ID in whatever increments you like every time upon successful connection. TWS keeps track of them on your side and fire next available every time
|