Skip to content

volumeRate10Min vs Short-Term Volume 10 Minutes tick types #213

@lightbeard

Description

@lightbeard

Based on the tick types documented below, I'm trying to write a function that returns "Short-Term Volume 10 Minutes" which is documented with generic tick 595.

https://interactivebrokers.github.io/tws-api/tick_types.html

I'm confused by the following output? It seems ib async is populating it in another field called volumeRate10Min=768800.0

Wouldn't a rate of volume be a ratio not a large volume number? Is this in fact short-term 10min volume for AAPL?

ib = IB()
ib.connect(host, port, clientId=1)

ib.reqMarketDataType(3)

contract = Stock("AAPL", "SMART", "USD")
ib.qualifyContracts(contract)

t = ib.reqMktData(contract, "595", False, False)

while True:
    ib.sleep(10)
    print(t)


Ticker(contract=Stock(conId=265598, symbol='AAPL', exchange='SMART', primaryExchange='NASDAQ', currency='USD', localSymbol='AAPL', tradingClass='NMS'), time=datetime.datetime(2026, 4, 20, 15, 29, 23, 506502, tzinfo=datetime.timezone.utc), timestamp=1776698963.5065072, minTick=0.01, bid=272.69, bidSize=500.0, bidExchange='QVZ', ask=272.71, askSize=400.0, askExchange='PQ', last=272.7, lastSize=100.0, lastExchange='V', lastTimestamp=datetime.datetime(2026, 4, 20, 15, 29, 22, tzinfo=datetime.timezone.utc), prevBid=272.7, prevBidSize=800.0, prevAsk=272.7, prevAskSize=100.0, prevLast=272.71, prevLastSize=100.0, volume=138951.0, open=270.39, high=274.27, low=270.29, close=270.23, volumeRate3Min=231300.0, volumeRate5Min=418300.0, volumeRate10Min=768800.0, ticks=[TickData(time=datetime.datetime(2026, 4, 20, 15, 29, 23, 506502, tzinfo=datetime.timezone.utc), tickType=0, price=272.69, size=500.0), TickData(time=datetime.datetime(2026, 4, 20, 15, 29, 23, 506502, tzinfo=datetime.timezone.utc), tickType=3, price=272.71, size=400.0)], bboExchange='9c0001', snapshotPermissions=3, defaults=IBDefaults(emptyPrice=-1, emptySize=0, unset=nan, timezone=datetime.timezone.utc), created=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions