You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Change DynamicTableWriter from using logRow to logRowPermissive.
* Added missing error code.
* Use int64 instead of int32 for column types.
* Debug logging for deadlocks
* Rerequest IDs, in case they have not been sent.
* Debug logging for deadlocks
* Rerequest IDs, in case they have not been sent.
* Added thread names.
* Add stack traces for all threads.
* Generalizing the strategy for obtaining order ids.
* Make the strategy for getting order IDs selectable.
* Fixing bad import
* Fixing bad import
* Fixing bad import
* Fix broken enum
* Cleaned up debugging output
* Update docs
* Update error messages
* Add type annotation
* Added space to error message.
* Fixed thread name.
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ See [Access your file system with Docker data volumes](https://deephaven.io/core
144
144
145
145
Follow these steps to run a [Deephaven](https://deephaven.io) plus [Interactive Brokers](https://interactivebrokers.com) system.
146
146
147
-
`<deephaven_version>` is the version of [Deephaven](https://deephaven.io) to run (e.g., `0.9.0`). A list of available versions
147
+
`<deephaven_version>` is the version of [Deephaven](https://deephaven.io) to run (e.g., `0.10.0`). A list of available versions
148
148
can be found on the [Deephaven Releases GitHub page](https://github.com/deephaven/deephaven-core/releases).
149
149
150
150
**Windows users need to run the commands in WSL.**
@@ -219,6 +219,11 @@ of Docker, `host` should be set to `host.docker.internal`.
219
219
communicates on. This value can be found in the [IB Trader Workstation (TWS)](https://www.interactivebrokers.com/en/trading/tws.php)
220
220
settings. By default, production trading uses port 7496, and paper trading uses port 7497. See [Setup](#setup) and [TWS Initial Setup](https://interactivebrokers.github.io/tws-api/initial_setup.html) for more details.
221
221
222
+
`order_id_strategy` is the strategy used for obtaining new order ids.
223
+
*`OrderIdStrategy.RETRY` (default) - Request a new order ID from TWS every time one is needed. Retry if TWS does not respond quickly. This usually avoids a TWS bug where it does not always respond.
224
+
*`OrderIdStrategy.BASIC` - Request a new order ID from TWS every time one is needed. Does not retry, so it may deadlock if TWS does not respond.
225
+
*`OrderIdStrategy.INCREMENT` - Use the initial order ID sent by TWS and increment the value upon every request. This is fast, but it may fail for multiple, concurrent sessions connected to TWS.
502: "Couldn't connect to TWS. Confirm that 'Enable ActiveX and Socket EClients' is enabled and connection port is the same as 'Socket Port' on the TWS 'Edit->Global Configuration...->API->Settings' menu. Live Trading ports: TWS: 7496; IB Gateway: 4001. Simulated Trading ports for new installations of version 954.1 or newer: TWS: 7497; IB Gateway: 4002",
35
35
2113: "The order size for Bonds (Bills) is entered as a nominal par value of the order, and must be a multiple",
36
36
10089: "Requested market data requires additional subscription for API.See link in 'Market Data Connections' dialog for more details.",
37
+
10172: "Failed to request news article: No data available",
# TODO: convert date time? Values are not provided in TWS, and the format is not documented. (https://github.com/deephaven-examples/deephaven-ib/issues/10)
0 commit comments