Skip to content

IBKR README: Add comment to each section saying "look for evidence in table XXXX" #37

@margaretkennedy

Description

@margaretkennedy

In the readme there is a list of tables. Good.

However, after I run respective sections of the readme, I would like to be directed to tables that can show evidence of success of the script I just ran.

So, after the readme section about getting market data htat has this bit of code:
`from ibapi.contract import Contract

import deephaven_ib as dhib

Use delayed market data if you do not have access to real-time

client.set_market_data_type(dhib.MarketDataType.DELAYED)

client.set_market_data_type(dhib.MarketDataType.REAL_TIME)

c = Contract()
c.symbol = 'AAPL'
c.secType = 'STK'
c.exchange = 'SMART'
c.currency = 'USD'

rc = client.get_registered_contract(c)
print(rc)

client.request_market_data(rc)
client.request_tick_data_realtime(rc, dhib.TickDataType.BID_ASK)
client.request_tick_data_realtime(rc, dhib.TickDataType.LAST)
client.request_tick_data_realtime(rc, dhib.TickDataType.MIDPOINT)`

Then perhaps add a comment:

"You will see market data flowing in real-time in the table ticks_price and ticks_bid_ask, for example."

I would add similar commments after the Request-News code snippet and Order-Management code snippet.

In contrast, after the "Query and do math", the script brings the user to the bars_joined table....
And after the plotting script, the plot pops up in the wed IDE as evidence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions