Skip to main content

Module enums

Module enums 

Source
Expand description

Common enumerations for the Betfair adapter.

Structs§

BetDelayModelIter
An iterator over the variants of BetDelayModel
BetStatusIter
An iterator over the variants of BetStatus
BetTargetTypeIter
An iterator over the variants of BetTargetType
BetfairOrderStatusIter
An iterator over the variants of BetfairOrderStatus
BetfairOrderTypeIter
An iterator over the variants of BetfairOrderType
BetfairSideIter
An iterator over the variants of BetfairSide
BetfairTimeInForceIter
An iterator over the variants of BetfairTimeInForce
CertLoginStatusIter
An iterator over the variants of CertLoginStatus
ChangeTypeIter
An iterator over the variants of ChangeType
ExecutionReportErrorCodeIter
An iterator over the variants of ExecutionReportErrorCode
ExecutionReportStatusIter
An iterator over the variants of ExecutionReportStatus
GroupByIter
An iterator over the variants of GroupBy
InstructionReportErrorCodeIter
An iterator over the variants of InstructionReportErrorCode
InstructionReportStatusIter
An iterator over the variants of InstructionReportStatus
LapseStatusReasonCodeIter
An iterator over the variants of LapseStatusReasonCode
MarketBettingTypeIter
An iterator over the variants of MarketBettingType
MarketDataFilterFieldIter
An iterator over the variants of MarketDataFilterField
MarketProjectionIter
An iterator over the variants of MarketProjection
MarketSortIter
An iterator over the variants of MarketSort
MarketStatusIter
An iterator over the variants of MarketStatus
MatchProjectionIter
An iterator over the variants of MatchProjection
OrderByIter
An iterator over the variants of OrderBy
OrderProjectionIter
An iterator over the variants of OrderProjection
PersistenceTypeIter
An iterator over the variants of PersistenceType
PriceDataIter
An iterator over the variants of PriceData
PriceLadderTypeIter
An iterator over the variants of PriceLadderType
RollupModelIter
An iterator over the variants of RollupModel
RunnerStatusIter
An iterator over the variants of RunnerStatus
SegmentTypeIter
An iterator over the variants of SegmentType
SortDirIter
An iterator over the variants of SortDir
StatusErrorCodeIter
An iterator over the variants of StatusErrorCode
StreamingOrderStatusIter
An iterator over the variants of StreamingOrderStatus
StreamingOrderTypeIter
An iterator over the variants of StreamingOrderType
StreamingPersistenceTypeIter
An iterator over the variants of StreamingPersistenceType
StreamingSideIter
An iterator over the variants of StreamingSide
TimeGranularityIter
An iterator over the variants of TimeGranularity

Enums§

BetDelayModel
Bet delay model for in-play markets.
BetStatus
Bet settlement status.
BetTargetType
Bet target type.
BetfairOrderStatus
Betfair order status.
BetfairOrderType
Betfair order type.
BetfairSide
Betfair order side.
BetfairTimeInForce
Betfair time-in-force (only FILL_OR_KILL supported).
CertLoginStatus
Certificate-based login response status.
ChangeType
Streaming change type.
ExecutionReportErrorCode
Error codes for execution report failures.
ExecutionReportStatus
Execution report status for batch order operations.
GroupBy
Grouping level for cleared order reports.
InstructionReportErrorCode
Error codes for individual instruction report failures.
InstructionReportStatus
Instruction report status for individual order instructions.
LapseStatusReasonCode
Reason code for bet lapse events on the streaming API.
MarketBettingType
Market betting type.
MarketDataFilterField
Market data filter fields for streaming subscriptions.
MarketProjection
Controls which data fields are returned with market catalogues.
MarketSort
Sorting options for market listings.
MarketStatus
Market status.
MatchProjection
Matched amount rollup projection.
OrderBy
Order sort field.
OrderProjection
Order filter projection.
PersistenceType
How unmatched bets are handled at market turn in-play.
PriceData
Exchange price data options.
PriceLadderType
Price ladder type.
RollupModel
Volume rollup strategy.
RunnerStatus
Runner status.
SegmentType
Streaming segment type.
SortDir
Sort direction for order listings.
StatusErrorCode
Streaming status error code.
StreamingOrderStatus
Streaming order status (shorthand: E=Executable, EC=ExecutionComplete).
StreamingOrderType
Streaming order type (shorthand: L=Limit, LOC=LimitOnClose, MOC=MarketOnClose).
StreamingPersistenceType
Streaming persistence type (shorthand: L=Lapse, P=Persist, MOC=MarketOnClose).
StreamingSide
Streaming order side (shorthand: B=Back, L=Lay).
TimeGranularity
Time aggregation granularity.

Functions§

resolve_order_status
Resolves the Nautilus OrderStatus for a Betfair order.
resolve_streaming_order_status
Resolves the Nautilus OrderStatus for a streaming order update.