Skip to main content

ib_async.objects

Generated from the installed ib_async 2.1.0 package. Signatures and defaults are version-specific.

Object hierarchy.

Public constants

NameValue
EPOCHdatetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc)
UNSET_DOUBLE1.7976931348623157e+308
UNSET_INTEGER2147483647

AccountValue

AccountValue(account: ForwardRef('str'), tag: ForwardRef('str'), value: ForwardRef('str'), currency: ForwardRef('str'), modelCode: ForwardRef('str'))

Completeness: signature-only · Canonical ID: ib_async.objects.AccountValue

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

AccountValue(account, tag, value, currency, modelCode)

BarData

BarData(date: 'date_ | datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), open: 'float' = 0.0, high: 'float' = 0.0, low: 'float' = 0.0, close: 'float' = 0.0, volume: 'float' = 0, average: 'float' = 0.0, barCount: 'int' = 0) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.BarData

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

BarData(date: 'date_ | datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), open: 'float' = 0.0, high: 'float' = 0.0, low: 'float' = 0.0, close: 'float' = 0.0, volume: 'float' = 0, average: 'float' = 0.0, barCount: 'int' = 0)

Fields

NameTypeDefault
datedate_ | datetimedatetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc)
openfloat0.0
highfloat0.0
lowfloat0.0
closefloat0.0
volumefloat0
averagefloat0.0
barCountint0

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.BarData.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.BarData.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.BarData.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.BarData.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

BarDataList

BarDataList(*args)

Completeness: signature-only · Canonical ID: ib_async.objects.BarDataList

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

List of .BarData that also stores all request parameters.

Events:

  • updateEvent (bars: .BarDataList, hasNewBar: bool)

Events

BarDataList.updateEvent

updateEvent

Completeness: signature-only · Canonical ID: ib_async.objects.BarDataList.updateEvent

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

CommissionReport

CommissionReport(execId: 'str' = '', commission: 'float' = 0.0, currency: 'str' = '', realizedPNL: 'float' = 0.0, yield_: 'float' = 0.0, yieldRedemptionDate: 'int' = 0) -> None

Completeness: fully-documented · Canonical ID: ib_async.objects.CommissionReport

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

CommissionReport(execId: 'str' = '', commission: 'float' = 0.0, currency: 'str' = '', realizedPNL: 'float' = 0.0, yield_: 'float' = 0.0, yieldRedemptionDate: 'int' = 0)

Fields

NameTypeDefault
execIdstr``
commissionfloat0.0
currencystr``
realizedPNLfloat0.0
yield_float0.0
yieldRedemptionDateint0

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.CommissionReport.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.CommissionReport.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.CommissionReport.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.CommissionReport.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

ConnectionStats

ConnectionStats(startTime: 'float', duration: 'float', numBytesRecv: 'int', numBytesSent: 'int', numMsgRecv: 'int', numMsgSent: 'int') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.ConnectionStats

Runtime signature is published; semantic enrichment remains outstanding.

ConnectionStats(startTime: 'float', duration: 'float', numBytesRecv: 'int', numBytesSent: 'int', numMsgRecv: 'int', numMsgSent: 'int')

Fields

NameTypeDefault
startTimefloatrequired
durationfloatrequired
numBytesRecvintrequired
numBytesSentintrequired
numMsgRecvintrequired
numMsgSentintrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.ConnectionStats.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.ConnectionStats.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.ConnectionStats.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.ConnectionStats.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

DOMLevel

DOMLevel(price: ForwardRef('float'), size: ForwardRef('float'), marketMaker: ForwardRef('str'))

Completeness: signature-only · Canonical ID: ib_async.objects.DOMLevel

Runtime signature is published; semantic enrichment remains outstanding.

DOMLevel(price, size, marketMaker)

DepthMktDataDescription

DepthMktDataDescription(exchange: 'str' = '', secType: 'str' = '', listingExch: 'str' = '', serviceDataType: 'str' = '', aggGroup: 'int' = 2147483647) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.DepthMktDataDescription

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

DepthMktDataDescription(exchange: 'str' = '', secType: 'str' = '', listingExch: 'str' = '', serviceDataType: 'str' = '', aggGroup: 'int' = 2147483647)

Fields

NameTypeDefault
exchangestr``
secTypestr``
listingExchstr``
serviceDataTypestr``
aggGroupint2147483647

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.DepthMktDataDescription.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.DepthMktDataDescription.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.DepthMktDataDescription.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.DepthMktDataDescription.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

Dividends

Dividends(past12Months: 'float | None', next12Months: 'float | None', nextDate: 'date_ | None', nextAmount: 'float | None') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.Dividends

Runtime signature is published; semantic enrichment remains outstanding.

Dividends(past12Months: 'float | None', next12Months: 'float | None', nextDate: 'date_ | None', nextAmount: 'float | None')

Fields

NameTypeDefault
past12Monthsfloat | Nonerequired
next12Monthsfloat | Nonerequired
nextDatedate_ | Nonerequired
nextAmountfloat | Nonerequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.Dividends.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.Dividends.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.Dividends.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.Dividends.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

DynamicObject

DynamicObject(**kwargs)

Completeness: signature-only · Canonical ID: ib_async.objects.DynamicObject

Runtime signature is published; semantic enrichment remains outstanding.

No library docstring is provided; consult the signature, type fields, and operational guides.

EfpData

EfpData(basisPoints: 'float', formattedBasisPoints: 'str', impliedFuture: 'float', holdDays: 'int', futureLastTradeDate: 'str', dividendImpact: 'float', dividendsToLastTradeDate: 'float') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.EfpData

Runtime signature is published; semantic enrichment remains outstanding.

Exchange for Physical (EFP) futures data.

EFP allows trading a position in a single stock for a position in the corresponding single stock future.

Fields

NameTypeDefault
basisPointsfloatrequired
formattedBasisPointsstrrequired
impliedFuturefloatrequired
holdDaysintrequired
futureLastTradeDatestrrequired
dividendImpactfloatrequired
dividendsToLastTradeDatefloatrequired

Execution

Execution(execId: 'str' = '', time: 'datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), acctNumber: 'str' = '', exchange: 'str' = '', side: 'str' = '', shares: 'float' = 0.0, price: 'float' = 0.0, permId: 'int' = 0, clientId: 'int' = 0, orderId: 'int' = 0, liquidation: 'int' = 0, cumQty: 'float' = 0.0, avgPrice: 'float' = 0.0, orderRef: 'str' = '', evRule: 'str' = '', evMultiplier: 'float' = 0.0, modelCode: 'str' = '', lastLiquidity: 'int' = 0, pendingPriceRevision: 'bool' = False) -> None

Completeness: fully-documented · Canonical ID: ib_async.objects.Execution

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

Execution(execId: 'str' = '', time: 'datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), acctNumber: 'str' = '', exchange: 'str' = '', side: 'str' = '', shares: 'float' = 0.0, price: 'float' = 0.0, permId: 'int' = 0, clientId: 'int' = 0, orderId: 'int' = 0, liquidation: 'int' = 0, cumQty: 'float' = 0.0, avgPrice: 'float' = 0.0, orderRef: 'str' = '', evRule: 'str' = '', evMultiplier: 'float' = 0.0, modelCode: 'str' = '', lastLiquidity: 'int' = 0, pendingPriceRevision: 'bool' = False)

Fields

NameTypeDefault
execIdstr``
timedatetimedatetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc)
acctNumberstr``
exchangestr``
sidestr``
sharesfloat0.0
pricefloat0.0
permIdint0
clientIdint0
orderIdint0
liquidationint0
cumQtyfloat0.0
avgPricefloat0.0
orderRefstr``
evRulestr``
evMultiplierfloat0.0
modelCodestr``
lastLiquidityint0
pendingPriceRevisionboolFalse

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.Execution.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.Execution.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.Execution.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.Execution.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

ExecutionFilter

ExecutionFilter(clientId: 'int' = 0, acctCode: 'str' = '', time: 'str' = '', symbol: 'str' = '', secType: 'str' = '', exchange: 'str' = '', side: 'str' = '') -> None

Completeness: fully-documented · Canonical ID: ib_async.objects.ExecutionFilter

Explicit policy override after evidence-backed documentation review.

Sources and provenance

ExecutionFilter(clientId: 'int' = 0, acctCode: 'str' = '', time: 'str' = '', symbol: 'str' = '', secType: 'str' = '', exchange: 'str' = '', side: 'str' = '')

Fields

NameTypeDefault
clientIdint0
acctCodestr``
timestr``
symbolstr``
secTypestr``
exchangestr``
sidestr``

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.ExecutionFilter.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.ExecutionFilter.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.ExecutionFilter.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.ExecutionFilter.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

FamilyCode

FamilyCode(accountID: 'str', familyCodeStr: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.FamilyCode

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

FamilyCode(accountID: 'str', familyCodeStr: 'str')

Fields

NameTypeDefault
accountIDstrrequired
familyCodeStrstrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.FamilyCode.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.FamilyCode.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.FamilyCode.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.FamilyCode.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

Fill

Fill(contract: ForwardRef('Contract'), execution: ForwardRef('Execution'), commissionReport: ForwardRef('CommissionReport'), time: ForwardRef('datetime'))

Completeness: fully-documented · Canonical ID: ib_async.objects.Fill

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

Fill(contract, execution, commissionReport, time)

FundamentalRatios

FundamentalRatios(**kwargs)

Completeness: signature-only · Canonical ID: ib_async.objects.FundamentalRatios

Runtime signature is published; semantic enrichment remains outstanding.

See: https://web.archive.org/web/20200725010343/https://interactivebrokers.github.io/tws-api/fundamental_ratios_tags.html

HistogramData

HistogramData(price: 'float' = 0.0, count: 'int' = 0) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.HistogramData

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistogramData(price: 'float' = 0.0, count: 'int' = 0)

Fields

NameTypeDefault
pricefloat0.0
countint0

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.HistogramData.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.HistogramData.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.HistogramData.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.HistogramData.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

HistoricalNews

HistoricalNews(time: 'datetime', providerCode: 'str', articleId: 'str', headline: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalNews

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalNews(time: 'datetime', providerCode: 'str', articleId: 'str', headline: 'str')

Fields

NameTypeDefault
timedatetimerequired
providerCodestrrequired
articleIdstrrequired
headlinestrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalNews.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalNews.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalNews.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalNews.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

HistoricalSchedule

HistoricalSchedule(startDateTime: 'str' = '', endDateTime: 'str' = '', timeZone: 'str' = '', sessions: 'list[HistoricalSession]' = <factory>) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSchedule

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalSchedule(startDateTime: 'str' = '', endDateTime: 'str' = '', timeZone: 'str' = '', sessions: 'list[HistoricalSession]' = <factory>)

Fields

NameTypeDefault
startDateTimestr``
endDateTimestr``
timeZonestr``
sessionslist[HistoricalSession]factory: list

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSchedule.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSchedule.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSchedule.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSchedule.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

HistoricalSession

HistoricalSession(startDateTime: 'str' = '', endDateTime: 'str' = '', refDate: 'str' = '') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSession

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalSession(startDateTime: 'str' = '', endDateTime: 'str' = '', refDate: 'str' = '')

Fields

NameTypeDefault
startDateTimestr``
endDateTimestr``
refDatestr``

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSession.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSession.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSession.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalSession.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

HistoricalTick

HistoricalTick(time: ForwardRef('datetime'), price: ForwardRef('float'), size: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalTick

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalTick(time, price, size)

HistoricalTickBidAsk

HistoricalTickBidAsk(time: ForwardRef('datetime'), tickAttribBidAsk: ForwardRef('TickAttribBidAsk'), priceBid: ForwardRef('float'), priceAsk: ForwardRef('float'), sizeBid: ForwardRef('float'), sizeAsk: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalTickBidAsk

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalTickBidAsk(time, tickAttribBidAsk, priceBid, priceAsk, sizeBid, sizeAsk)

HistoricalTickLast

HistoricalTickLast(time: ForwardRef('datetime'), tickAttribLast: ForwardRef('TickAttribLast'), price: ForwardRef('float'), size: ForwardRef('float'), exchange: ForwardRef('str'), specialConditions: ForwardRef('str'))

Completeness: signature-only · Canonical ID: ib_async.objects.HistoricalTickLast

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

HistoricalTickLast(time, tickAttribLast, price, size, exchange, specialConditions)

IBDefaults

IBDefaults(emptyPrice: 'Any' = -1, emptySize: 'Any' = 0, unset: 'Any' = nan, timezone: 'tzinfo' = datetime.timezone.utc) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.IBDefaults

Runtime signature is published; semantic enrichment remains outstanding.

A simple way to provide default values when populating API data.

Fields

NameTypeDefault
emptyPriceAny-1
emptySizeAny0
unsetAnynan
timezonetzinfodatetime.timezone.utc

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.IBDefaults.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.IBDefaults.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.IBDefaults.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.IBDefaults.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

MktDepthData

MktDepthData(time: ForwardRef('datetime'), position: ForwardRef('int'), marketMaker: ForwardRef('str'), operation: ForwardRef('int'), side: ForwardRef('int'), price: ForwardRef('float'), size: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.MktDepthData

Runtime signature is published; semantic enrichment remains outstanding.

MktDepthData(time, position, marketMaker, operation, side, price, size)

NewsArticle

NewsArticle(articleType: 'int', articleText: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.NewsArticle

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

NewsArticle(articleType: 'int', articleText: 'str')

Fields

NameTypeDefault
articleTypeintrequired
articleTextstrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.NewsArticle.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsArticle.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsArticle.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.NewsArticle.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

NewsBulletin

NewsBulletin(msgId: 'int', msgType: 'int', message: 'str', origExchange: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.NewsBulletin

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

NewsBulletin(msgId: 'int', msgType: 'int', message: 'str', origExchange: 'str')

Fields

NameTypeDefault
msgIdintrequired
msgTypeintrequired
messagestrrequired
origExchangestrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.NewsBulletin.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsBulletin.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsBulletin.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.NewsBulletin.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

NewsProvider

NewsProvider(code: 'str' = '', name: 'str' = '') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.NewsProvider

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

NewsProvider(code: 'str' = '', name: 'str' = '')

Fields

NameTypeDefault
codestr``
namestr``

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.NewsProvider.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsProvider.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsProvider.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.NewsProvider.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

NewsTick

NewsTick(timeStamp: 'int', providerCode: 'str', articleId: 'str', headline: 'str', extraData: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.NewsTick

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

NewsTick(timeStamp: 'int', providerCode: 'str', articleId: 'str', headline: 'str', extraData: 'str')

Fields

NameTypeDefault
timeStampintrequired
providerCodestrrequired
articleIdstrrequired
headlinestrrequired
extraDatastrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.NewsTick.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsTick.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.NewsTick.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.NewsTick.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

OptionChain

OptionChain(exchange: 'str', underlyingConId: 'int', tradingClass: 'str', multiplier: 'str', expirations: 'list[str]', strikes: 'list[float]') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.OptionChain

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

OptionChain(exchange: 'str', underlyingConId: 'int', tradingClass: 'str', multiplier: 'str', expirations: 'list[str]', strikes: 'list[float]')

Fields

NameTypeDefault
exchangestrrequired
underlyingConIdintrequired
tradingClassstrrequired
multiplierstrrequired
expirationslist[str]required
strikeslist[float]required

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.OptionChain.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.OptionChain.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.OptionChain.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.OptionChain.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

OptionComputation

OptionComputation(tickAttrib: 'int', impliedVol: 'float | None' = None, delta: 'float | None' = None, optPrice: 'float | None' = None, pvDividend: 'float | None' = None, gamma: 'float | None' = None, vega: 'float | None' = None, theta: 'float | None' = None, undPrice: 'float | None' = None) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.OptionComputation

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

OptionComputation(tickAttrib: 'int', impliedVol: 'float | None' = None, delta: 'float | None' = None, optPrice: 'float | None' = None, pvDividend: 'float | None' = None, gamma: 'float | None' = None, vega: 'float | None' = None, theta: 'float | None' = None, undPrice: 'float | None' = None)

Fields

NameTypeDefault
tickAttribintrequired
impliedVolfloat | NoneNone
deltafloat | NoneNone
optPricefloat | NoneNone
pvDividendfloat | NoneNone
gammafloat | NoneNone
vegafloat | NoneNone
thetafloat | NoneNone
undPricefloat | NoneNone

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.OptionComputation.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.OptionComputation.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.OptionComputation.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.OptionComputation.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

PnL

PnL(account: 'str' = '', modelCode: 'str' = '', dailyPnL: 'float' = nan, unrealizedPnL: 'float' = nan, realizedPnL: 'float' = nan) -> None

Completeness: fully-documented · Canonical ID: ib_async.objects.PnL

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

PnL(account: 'str' = '', modelCode: 'str' = '', dailyPnL: 'float' = nan, unrealizedPnL: 'float' = nan, realizedPnL: 'float' = nan)

Fields

NameTypeDefault
accountstr``
modelCodestr``
dailyPnLfloatnan
unrealizedPnLfloatnan
realizedPnLfloatnan

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.PnL.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.PnL.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.PnL.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.PnL.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

PnLSingle

PnLSingle(account: 'str' = '', modelCode: 'str' = '', conId: 'int' = 0, dailyPnL: 'float' = nan, unrealizedPnL: 'float' = nan, realizedPnL: 'float' = nan, position: 'int' = 0, value: 'float' = nan) -> None

Completeness: fully-documented · Canonical ID: ib_async.objects.PnLSingle

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

PnLSingle(account: 'str' = '', modelCode: 'str' = '', conId: 'int' = 0, dailyPnL: 'float' = nan, unrealizedPnL: 'float' = nan, realizedPnL: 'float' = nan, position: 'int' = 0, value: 'float' = nan)

Fields

NameTypeDefault
accountstr``
modelCodestr``
conIdint0
dailyPnLfloatnan
unrealizedPnLfloatnan
realizedPnLfloatnan
positionint0
valuefloatnan

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.PnLSingle.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.PnLSingle.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.PnLSingle.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.PnLSingle.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

PortfolioItem

PortfolioItem(contract: ForwardRef('Contract'), position: ForwardRef('float'), marketPrice: ForwardRef('float'), marketValue: ForwardRef('float'), averageCost: ForwardRef('float'), unrealizedPNL: ForwardRef('float'), realizedPNL: ForwardRef('float'), account: ForwardRef('str'))

Completeness: signature-only · Canonical ID: ib_async.objects.PortfolioItem

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

PortfolioItem(contract, position, marketPrice, marketValue, averageCost, unrealizedPNL, realizedPNL, account)

Position

Position(account: ForwardRef('str'), contract: ForwardRef('Contract'), position: ForwardRef('float'), avgCost: ForwardRef('float'))

Completeness: fully-documented · Canonical ID: ib_async.objects.Position

Explicit policy override after evidence-backed documentation review.

Related API navigation

Sources and provenance

Position(account, contract, position, avgCost)

PriceIncrement

PriceIncrement(lowEdge: ForwardRef('float'), increment: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.PriceIncrement

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

PriceIncrement(lowEdge, increment)

RealTimeBar

RealTimeBar(time: 'datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), endTime: 'int' = -1, open_: 'float' = 0.0, high: 'float' = 0.0, low: 'float' = 0.0, close: 'float' = 0.0, volume: 'float' = 0.0, wap: 'float' = 0.0, count: 'int' = 0) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBar

Runtime signature is published; semantic enrichment remains outstanding.

RealTimeBar(time: 'datetime' = datetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc), endTime: 'int' = -1, open_: 'float' = 0.0, high: 'float' = 0.0, low: 'float' = 0.0, close: 'float' = 0.0, volume: 'float' = 0.0, wap: 'float' = 0.0, count: 'int' = 0)

Fields

NameTypeDefault
timedatetimedatetime.datetime(1970, 1, 1, 0, 0, tzinfo=datetime.timezone.utc)
endTimeint-1
open_float0.0
highfloat0.0
lowfloat0.0
closefloat0.0
volumefloat0.0
wapfloat0.0
countint0

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBar.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBar.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBar.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBar.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

RealTimeBarList

RealTimeBarList(*args)

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBarList

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

List of .RealTimeBar that also stores all request parameters.

Events:

  • updateEvent (bars: .RealTimeBarList, hasNewBar: bool)

Events

RealTimeBarList.updateEvent

updateEvent

Completeness: signature-only · Canonical ID: ib_async.objects.RealTimeBarList.updateEvent

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

ScanDataList

ScanDataList(*args)

Completeness: signature-only · Canonical ID: ib_async.objects.ScanDataList

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

List of .ScanData that also stores all request parameters.

Events:

  • updateEvent (.ScanDataList)

Events

ScanDataList.updateEvent

updateEvent

Completeness: signature-only · Canonical ID: ib_async.objects.ScanDataList.updateEvent

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

ScannerSubscription

ScannerSubscription(numberOfRows: 'int' = -1, instrument: 'str' = '', locationCode: 'str' = '', scanCode: 'str' = '', abovePrice: 'float' = 1.7976931348623157e+308, belowPrice: 'float' = 1.7976931348623157e+308, aboveVolume: 'int' = 2147483647, marketCapAbove: 'float' = 1.7976931348623157e+308, marketCapBelow: 'float' = 1.7976931348623157e+308, moodyRatingAbove: 'str' = '', moodyRatingBelow: 'str' = '', spRatingAbove: 'str' = '', spRatingBelow: 'str' = '', maturityDateAbove: 'str' = '', maturityDateBelow: 'str' = '', couponRateAbove: 'float' = 1.7976931348623157e+308, couponRateBelow: 'float' = 1.7976931348623157e+308, excludeConvertible: 'bool' = False, averageOptionVolumeAbove: 'int' = 2147483647, scannerSettingPairs: 'str' = '', stockTypeFilter: 'str' = '') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.ScannerSubscription

Runtime signature is published; semantic enrichment remains outstanding.

ScannerSubscription(numberOfRows: 'int' = -1, instrument: 'str' = '', locationCode: 'str' = '', scanCode: 'str' = '', abovePrice: 'float' = 1.7976931348623157e+308, belowPrice: 'float' = 1.7976931348623157e+308, aboveVolume: 'int' = 2147483647, marketCapAbove: 'float' = 1.7976931348623157e+308, marketCapBelow: 'float' = 1.7976931348623157e+308, moodyRatingAbove: 'str' = '', moodyRatingBelow: 'str' = '', spRatingAbove: 'str' = '', spRatingBelow: 'str' = '', maturityDateAbove: 'str' = '', maturityDateBelow: 'str' = '', couponRateAbove: 'float' = 1.7976931348623157e+308, couponRateBelow: 'float' = 1.7976931348623157e+308, excludeConvertible: 'bool' = False, averageOptionVolumeAbove: 'int' = 2147483647, scannerSettingPairs: 'str' = '', stockTypeFilter: 'str' = '')

Fields

NameTypeDefault
numberOfRowsint-1
instrumentstr``
locationCodestr``
scanCodestr``
abovePricefloat1.7976931348623157e+308
belowPricefloat1.7976931348623157e+308
aboveVolumeint2147483647
marketCapAbovefloat1.7976931348623157e+308
marketCapBelowfloat1.7976931348623157e+308
moodyRatingAbovestr``
moodyRatingBelowstr``
spRatingAbovestr``
spRatingBelowstr``
maturityDateAbovestr``
maturityDateBelowstr``
couponRateAbovefloat1.7976931348623157e+308
couponRateBelowfloat1.7976931348623157e+308
excludeConvertibleboolFalse
averageOptionVolumeAboveint2147483647
scannerSettingPairsstr``
stockTypeFilterstr``

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.ScannerSubscription.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.ScannerSubscription.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.ScannerSubscription.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.ScannerSubscription.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

SmartComponent

SmartComponent(bitNumber: 'int', exchange: 'str', exchangeLetter: 'str') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.SmartComponent

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

SmartComponent(bitNumber: 'int', exchange: 'str', exchangeLetter: 'str')

Fields

NameTypeDefault
bitNumberintrequired
exchangestrrequired
exchangeLetterstrrequired

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.SmartComponent.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.SmartComponent.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.SmartComponent.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.SmartComponent.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

SoftDollarTier

SoftDollarTier(name: 'str' = '', val: 'str' = '', displayName: 'str' = '') -> None

Completeness: signature-only · Canonical ID: ib_async.objects.SoftDollarTier

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

SoftDollarTier(name: 'str' = '', val: 'str' = '', displayName: 'str' = '')

Fields

NameTypeDefault
namestr``
valstr``
displayNamestr``

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.SoftDollarTier.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.SoftDollarTier.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.SoftDollarTier.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.SoftDollarTier.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

TickAttrib

TickAttrib(canAutoExecute: 'bool' = False, pastLimit: 'bool' = False, preOpen: 'bool' = False) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttrib

Runtime signature is published; semantic enrichment remains outstanding.

TickAttrib(canAutoExecute: 'bool' = False, pastLimit: 'bool' = False, preOpen: 'bool' = False)

Fields

NameTypeDefault
canAutoExecuteboolFalse
pastLimitboolFalse
preOpenboolFalse

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttrib.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttrib.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttrib.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttrib.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

TickAttribBidAsk

TickAttribBidAsk(bidPastLow: 'bool' = False, askPastHigh: 'bool' = False) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribBidAsk

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

TickAttribBidAsk(bidPastLow: 'bool' = False, askPastHigh: 'bool' = False)

Fields

NameTypeDefault
bidPastLowboolFalse
askPastHighboolFalse

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribBidAsk.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribBidAsk.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribBidAsk.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribBidAsk.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

TickAttribLast

TickAttribLast(pastLimit: 'bool' = False, unreported: 'bool' = False) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribLast

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

TickAttribLast(pastLimit: 'bool' = False, unreported: 'bool' = False)

Fields

NameTypeDefault
pastLimitboolFalse
unreportedboolFalse

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribLast.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribLast.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribLast.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.TickAttribLast.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

TickByTickAllLast

TickByTickAllLast(tickType: ForwardRef('int'), time: ForwardRef('datetime'), price: ForwardRef('float'), size: ForwardRef('float'), tickAttribLast: ForwardRef('TickAttribLast'), exchange: ForwardRef('str'), specialConditions: ForwardRef('str'))

Completeness: signature-only · Canonical ID: ib_async.objects.TickByTickAllLast

Runtime signature is published; semantic enrichment remains outstanding.

TickByTickAllLast(tickType, time, price, size, tickAttribLast, exchange, specialConditions)

TickByTickBidAsk

TickByTickBidAsk(time: ForwardRef('datetime'), bidPrice: ForwardRef('float'), askPrice: ForwardRef('float'), bidSize: ForwardRef('float'), askSize: ForwardRef('float'), tickAttribBidAsk: ForwardRef('TickAttribBidAsk'))

Completeness: signature-only · Canonical ID: ib_async.objects.TickByTickBidAsk

Runtime signature is published; semantic enrichment remains outstanding.

TickByTickBidAsk(time, bidPrice, askPrice, bidSize, askSize, tickAttribBidAsk)

TickByTickMidPoint

TickByTickMidPoint(time: ForwardRef('datetime'), midPoint: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.TickByTickMidPoint

Runtime signature is published; semantic enrichment remains outstanding.

TickByTickMidPoint(time, midPoint)

TickData

TickData(time: ForwardRef('datetime'), tickType: ForwardRef('int'), price: ForwardRef('float'), size: ForwardRef('float'))

Completeness: signature-only · Canonical ID: ib_async.objects.TickData

Runtime signature is published; semantic enrichment remains outstanding.

TickData(time, tickType, price, size)

TradeLogEntry

TradeLogEntry(time: 'datetime', status: 'str' = '', message: 'str' = '', errorCode: 'int' = 0) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.TradeLogEntry

Runtime signature is published; semantic enrichment remains outstanding.

TradeLogEntry(time: 'datetime', status: 'str' = '', message: 'str' = '', errorCode: 'int' = 0)

Fields

NameTypeDefault
timedatetimerequired
statusstr``
messagestr``
errorCodeint0

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.TradeLogEntry.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.TradeLogEntry.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.TradeLogEntry.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.TradeLogEntry.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.

WshEventData

WshEventData(conId: 'int' = 2147483647, filter: 'str' = '', fillWatchlist: 'bool' = False, fillPortfolio: 'bool' = False, fillCompetitors: 'bool' = False, startDate: 'str' = '', endDate: 'str' = '', totalLimit: 'int' = 2147483647) -> None

Completeness: signature-only · Canonical ID: ib_async.objects.WshEventData

Runtime signature is published; semantic enrichment remains outstanding.

Related API navigation

Sources and provenance

WshEventData(conId: 'int' = 2147483647, filter: 'str' = '', fillWatchlist: 'bool' = False, fillPortfolio: 'bool' = False, fillCompetitors: 'bool' = False, startDate: 'str' = '', endDate: 'str' = '', totalLimit: 'int' = 2147483647)

Fields

NameTypeDefault
conIdint2147483647
filterstr``
fillWatchlistboolFalse
fillPortfolioboolFalse
fillCompetitorsboolFalse
startDatestr``
endDatestr``
totalLimitint2147483647

dict

dict(obj) -> dict

Completeness: signature-only · Canonical ID: ib_async.objects.WshEventData.dict

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as dict. This is a non-recursive variant of dataclasses.asdict.

nonDefaults

nonDefaults(obj) -> dict[str, typing.Any]

Completeness: signature-only · Canonical ID: ib_async.objects.WshEventData.nonDefaults

Runtime signature is published; semantic enrichment remains outstanding.

For a dataclass instance get the fields that are different from the default values and return as dict.

tuple

tuple(obj) -> tuple[typing.Any, ...]

Completeness: signature-only · Canonical ID: ib_async.objects.WshEventData.tuple

Runtime signature is published; semantic enrichment remains outstanding.

Return dataclass values as tuple. This is a non-recursive variant of dataclasses.astuple.

update

update(obj, *srcObjs, **kwargs) -> object

Completeness: signature-only · Canonical ID: ib_async.objects.WshEventData.update

Runtime signature is published; semantic enrichment remains outstanding.

Update fields of the given dataclass object from zero or more dataclass source objects and/or from keyword arguments.