Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TWS connection issue #126

Closed
Da5hes opened this issue Aug 15, 2024 · 1 comment
Closed

TWS connection issue #126

Da5hes opened this issue Aug 15, 2024 · 1 comment

Comments

@Da5hes
Copy link
Contributor

Da5hes commented Aug 15, 2024

trying to simply connect to TWS:

mport deephaven as dh
import deephaven.time as dht
import deephaven.plot as dhp
import deephaven_ib as dhib
from ibapi.contract import Contract

# Connect to Interactive Brokers using IbSessionTws
client = dhib.IbSessionTws(host="localhost", port=7497, client_id=30, download_short_rates=True, read_only=False)
client.connect()

deephaven running locally with
deephaven server --jvm-args "-Xmx4g -Dauthentication.psk......

17:37:29.865 STDERR ERROR:ibapi.wrapper:ERROR -1 2104 Market data farm connection is OK:usfarm
17:37:29.869 STDERR ERROR:ibapi.wrapper:ERROR -1 2106 HMDS data farm connection is OK:ushmds
17:37:29.872 STDERR ERROR:ibapi.wrapper:ERROR -1 2158 Sec-def data farm connection is OK:secdefnj

pltaform: MacBook Pro M3
TWS version: 10.30.1l (online autoupdating version)
same results for TWS offline version 10.30.1k

@Da5hes
Copy link
Contributor Author

Da5hes commented Aug 20, 2024

nvm... turns out this is a notification that shows up as error

@Da5hes Da5hes closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant