Description Usage Arguments Details Value Note Author(s)
Get the next valid order ID for use with the TWS.
1 | reqIds(conn, numIds = 1)
|
conn |
a valid twsConnection object of class |
numIds |
currently ignored by the TWS. |
twsconn
objects maintain the next valid id inside of the object,
returning the current id, and incrementing by 1 with each call
to reqIds.
For twsconn
objects, reqIds
and .reqIds
results
are identical.
A character representation of the next numeric ID.
The TWS will keep track of order ids across connection ids and sessions. The values may be reset only as outlined by the official TWS documentation. IBrokers simply records and manages the data as recieved from the TWS upon initial connection. Each connection id will have a different order id associated with it.
Jeffrey A. Ryan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.