Documentation ¶
Index ¶
- Constants
- type AccountDetails
- type AccountFunds
- type AccountStatementReport
- type Betfair
- func (b *Betfair) CancelOrders(ctx context.Context, filter CancelFilter) (cancelExecutionReport CancelExecutionReport, err error)
- func (b *Betfair) CreateAppKeys(ctx context.Context) (res DeveloperAppKey, err error)
- func (b *Betfair) GetAccountDetails(ctx context.Context) (res AccountDetails, err error)
- func (b *Betfair) GetAccountFunds(ctx context.Context, filter Filter) (res AccountFunds, err error)
- func (b *Betfair) GetAccountStatement(ctx context.Context, filter Filter) (res AccountStatementReport, err error)
- func (b *Betfair) GetAppKeys(ctx context.Context) (res DeveloperAppKeyList, err error)
- func (b *Betfair) GetListCurrencyRates(ctx context.Context, filter Filter) (res CurrencyRateList, err error)
- func (b *Betfair) GetSession(ctx context.Context) error
- func (b *Betfair) GetTransferFunds(ctx context.Context, filter Filter) (transferResponse TransferResponse, err error)
- func (b *Betfair) KeepAlive(ctx context.Context) error
- func (b *Betfair) ListClearedOrders(ctx context.Context, filter Filter) (clearedOrderSummaryReport ClearedOrderSummaryReport, err error)
- func (b *Betfair) ListCompetitions(ctx context.Context, filter Filter) (res CompetitionResultList, err error)
- func (b *Betfair) ListCountries(ctx context.Context, filter Filter) (res CountryCodeResultList, err error)
- func (b *Betfair) ListCurrentOrders(ctx context.Context, filter Filter) (currentOrderSummaryReport CurrentOrderSummaryReport, err error)
- func (b *Betfair) ListEventTypes(ctx context.Context, filter Filter) (res EventTypeResultList, err error)
- func (b *Betfair) ListEvents(ctx context.Context, filter Filter) (res EventResultList, err error)
- func (b *Betfair) ListMarketBook(ctx context.Context, filter Filter) (res MarketBookList, err error)
- func (b *Betfair) ListMarketCatalogue(ctx context.Context, filter Filter) (res MarketCatalogueList, err error)
- func (b *Betfair) ListMarketProfitAndLoss(ctx context.Context, filter Filter) (res MarketProfitAndLossList, err error)
- func (b *Betfair) ListMarketTypes(ctx context.Context, filter Filter) (res MarketTypeResultList, err error)
- func (b *Betfair) ListTimeRangeResult(ctx context.Context, filter Filter) (res TimeRangeResultList, err error)
- func (b *Betfair) ListVenueResult(ctx context.Context, filter Filter) (res VenueResultList, err error)
- func (b *Betfair) PlaceOrders(ctx context.Context, filter Filter) (placeExecutionReport PlaceExecutionReport, err error)
- func (b *Betfair) Request(ctx context.Context, target easyjson.Unmarshaler, url BetfairRestURL, ...) error
- type BetfairRestURL
- type BettingError
- type CancelExecutionReport
- type CancelFilter
- type CancelInstruction
- type CancelInstructionReport
- type ClearedOrderSummary
- type ClearedOrderSummaryReport
- type Competition
- type CompetitionResult
- type CompetitionResultList
- type Config
- type CountryCodeResult
- type CountryCodeResultList
- type CurrencyRate
- type CurrencyRateList
- type CurrentOrderSummary
- type CurrentOrderSummaryReport
- type DateRange
- type Decimal
- type DeveloperAppKey
- type DeveloperAppKeyList
- type DeveloperAppVersion
- type EBetStatus
- type EBetTargetType
- type EExceptionErrorCode
- type EExecutionReportErrorCode
- type EExecutionReportStatus
- type EGroupBy
- type EIncludeItem
- type EInstructionReportErrorCode
- type EInstructionReportStatus
- type EItemClass
- type ELoginStatus
- type EMarketBettingType
- type EMarketBettingTypes
- type EMarketProjection
- type EMarketSort
- type EMarketStatus
- type EMarketType
- type EMatchProjection
- type EOrderBy
- type EOrderProjection
- type EOrderStatus
- type EOrderType
- type EPersistenceType
- type EPriceData
- type ERollupModel
- type ERunnerStatus
- type ESide
- type ESortDir
- type ETimeGranularity
- type ETimeInForce
- type EWallet
- type EXBestOffersOverrides
- type Event
- type EventResult
- type EventResultList
- type EventType
- type EventTypeResult
- type EventTypeResultList
- type ExchangePrices
- type Filter
- type ItemDescription
- type KeepAlive
- type LimitOnCloseOrder
- type LimitOrder
- type MarketBook
- type MarketBookList
- type MarketCatalogue
- type MarketCatalogueList
- type MarketDescription
- type MarketFilter
- type MarketOnCloseOrder
- type MarketProfitAndLoss
- type MarketProfitAndLossList
- type MarketTypeResult
- type MarketTypeResultList
- type Match
- type Order
- type PlaceExecutionReport
- type PlaceInstruction
- type PlaceInstructionReport
- type PriceProjection
- type PriceSize
- type Runner
- type RunnerCatalog
- type RunnerID
- type RunnerProfitAndLoss
- type Session
- type StartingPrices
- type StatementItem
- type StatementLegacyData
- type TimeRangeResult
- type TimeRangeResultList
- type TransferResponse
- type VenueResult
- type VenueResultList
Constants ¶
const ( EREC_ERROR_IN_MATCHER EExecutionReportErrorCode = "ERROR_IN_MATCHER" EREC_PROCESSED_WITH_ERRORS EExecutionReportErrorCode = "PROCESSED_WITH_ERRORS" EREC_BET_ACTION_ERROR EExecutionReportErrorCode = "BET_ACTION_ERROR" EREC_INVALID_ACCOUNT_STATE EExecutionReportErrorCode = "INVALID_ACCOUNT_STATE" EREC_INVALID_WALLET_STATUS EExecutionReportErrorCode = "INVALID_WALLET_STATUS" EREC_INSUFFICIENT_FUNDS EExecutionReportErrorCode = "INSUFFICIENT_FUNDS" EREC_LOSS_LIMIT_EXCEEDED EExecutionReportErrorCode = "LOSS_LIMIT_EXCEEDED" EREC_MARKET_SUSPENDED EExecutionReportErrorCode = "MARKET_SUSPENDED" EREC_MARKET_NOT_OPEN_FOR_BETTING EExecutionReportErrorCode = "MARKET_NOT_OPEN_FOR_BETTING" EREC_DUPLICATE_TRANSACTION EExecutionReportErrorCode = "DUPLICATE_TRANSACTION" EREC_INVALID_ORDER EExecutionReportErrorCode = "INVALID_ORDER" EREC_INVALID_MARKET_ID EExecutionReportErrorCode = "INVALID_MARKET_ID" EREC_PERMISSION_DENIED EExecutionReportErrorCode = "PERMISSION_DENIED" EREC_DUPLICATE_BETIDS EExecutionReportErrorCode = "DUPLICATE_BETIDS" EREC_NO_ACTION_REQUIRED EExecutionReportErrorCode = "NO_ACTION_REQUIRED" EREC_SERVICE_UNAVAILABLE EExecutionReportErrorCode = "SERVICE_UNAVAILABLE" EREC_REJECTED_BY_REGULATOR EExecutionReportErrorCode = "REJECTED_BY_REGULATOR" EREC_NO_CHASING EExceptionErrorCode = "NO_CHASING" EREC_REGULATOR_IS_NOT_AVAILABLE EExceptionErrorCode = "REGULATOR_IS_NOT_AVAILABLE" EREC_TOO_MANY_INSTRUCTIONS EExceptionErrorCode = "TOO_MANY_INSTRUCTIONS" EREC_INVALID_MARKET_VERSION EExceptionErrorCode = "INVALID_MARKET_VERSION" ErrUnknownExecutionReportErrorCode EExecutionReportErrorCode = "Unknown executionReportErrorCode value" )
const ( IREC_INVALID_BET_SIZE EInstructionReportErrorCode = "INVALID_BET_SIZE" IREC_INVALID_RUNNER EInstructionReportErrorCode = "INVALID_RUNNER" IREC_BET_TAKEN_OR_LAPSED EInstructionReportErrorCode = "BET_TAKEN_OR_LAPSED" IREC_BET_IN_PROGRESS EInstructionReportErrorCode = "BET_IN_PROGRESS" IREC_RUNNER_REMOVED EInstructionReportErrorCode = "RUNNER_REMOVED" IREC_MARKET_NOT_OPEN_FOR_BETTING EInstructionReportErrorCode = "MARKET_NOT_OPEN_FOR_BETTING" IREC_LOSS_LIMIT_EXCEEDED EInstructionReportErrorCode = "LOSS_LIMIT_EXCEEDED" IREC_MARKET_NOT_OPEN_FOR_BSP_BETTING EInstructionReportErrorCode = "MARKET_NOT_OPEN_FOR_BSP_BETTING" IREC_INVALID_PRICE_EDIT EInstructionReportErrorCode = "INVALID_PRICE_EDIT" IREC_INVALID_ODDS EInstructionReportErrorCode = "INVALID_ODDS" IREC_INSUFFICIENT_FUNDS EInstructionReportErrorCode = "INSUFFICIENT_FUNDS" IREC_INVALID_PERSISTENCE_TYPE EInstructionReportErrorCode = "INVALID_PERSISTENCE_TYPE" IREC_ERROR_IN_MATCHER EInstructionReportErrorCode = "ERROR_IN_MATCHER" IREC_INVALID_BACK_LAY_COMBINATION EInstructionReportErrorCode = "INVALID_BACK_LAY_COMBINATION" IREC_ERROR_IN_ORDER EInstructionReportErrorCode = "ERROR_IN_ORDER" IREC_INVALID_BID_TYPE EInstructionReportErrorCode = "INVALID_BID_TYPE" IREC_INVALID_BET_ID EInstructionReportErrorCode = "INVALID_BET_ID" IREC_CANCELLED_NOT_PLACED EInstructionReportErrorCode = "CANCELLED_NOT_PLACED" IREC_RELATED_ACTION_FAILED EInstructionReportErrorCode = "RELATED_ACTION_FAILED" IREC_NO_ACTION_REQUIRED EInstructionReportErrorCode = "NO_ACTION_REQUIRED" IREC_TIME_IN_FORCE_CONFLICT EInstructionReportErrorCode = "TIME_IN_FORCE_CONFLICT" IREC_UNEXPECTED_PERSISTENCE_TYPE EInstructionReportErrorCode = "UNEXPECTED_PERSISTENCE_TYPE" IREC_INVALID_ORDER_TYPE EInstructionReportErrorCode = "INVALID_ORDER_TYPE" IREC_UNEXPECTED_MIN_FILL_SIZE EInstructionReportErrorCode = "UNEXPECTED_MIN_FILL_SIZE" IREC_INVALID_CUSTOMER_ORDER_REF EInstructionReportErrorCode = "INVALID_CUSTOMER_ORDER_REF" IREC_INVALID_MIN_FILL_SIZE EInstructionReportErrorCode = "INVALID_MIN_FILL_SIZE" ErrUnknownInstructionReportStatus EInstructionReportStatus = "Unknown instructionReportStatus value" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDetails ¶
type AccountDetails struct { CurrencyCode string `json:"currencyCode"` FirstName string `json:"firstName"` LastName string `json:"lastName"` LocaleCode string `json:"localeCode"` Region string `json:"region"` Timezone string `json:"timezone"` DiscountRate float64 `json:"discountRate"` PointsBalance int64 `json:"pointsBalance"` CountryCode string `json:"countryCode"` }
func (AccountDetails) MarshalEasyJSON ¶
func (v AccountDetails) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*AccountDetails) UnmarshalEasyJSON ¶
func (v *AccountDetails) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type AccountFunds ¶
type AccountFunds struct { AvailableToBetBalance float64 `json:"availableToBetBalance"` Exposure float64 `json:"exposure"` RetainedCommission float64 `json:"retainedCommission"` ExposureLimit float64 `json:"exposureLimit"` DiscountRate float64 `json:"discountRate"` PointsBalance int64 `json:"pointsBalance"` Wallet string `json:"wallet"` }
func (AccountFunds) MarshalEasyJSON ¶
func (v AccountFunds) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*AccountFunds) UnmarshalEasyJSON ¶
func (v *AccountFunds) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type AccountStatementReport ¶
type AccountStatementReport struct { AccountStatement []StatementItem MoreAvailable bool }
func (AccountStatementReport) MarshalEasyJSON ¶
func (v AccountStatementReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*AccountStatementReport) UnmarshalEasyJSON ¶
func (v *AccountStatementReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Betfair ¶
func NewBetfair ¶
func (*Betfair) CancelOrders ¶
func (b *Betfair) CancelOrders(ctx context.Context, filter CancelFilter) (cancelExecutionReport CancelExecutionReport, err error)
func (*Betfair) CreateAppKeys ¶
func (b *Betfair) CreateAppKeys(ctx context.Context) (res DeveloperAppKey, err error)
func (*Betfair) GetAccountDetails ¶
func (b *Betfair) GetAccountDetails(ctx context.Context) (res AccountDetails, err error)
func (*Betfair) GetAccountFunds ¶
func (*Betfair) GetAccountStatement ¶
func (*Betfair) GetAppKeys ¶
func (b *Betfair) GetAppKeys(ctx context.Context) (res DeveloperAppKeyList, err error)
func (*Betfair) GetListCurrencyRates ¶
func (*Betfair) GetTransferFunds ¶
func (*Betfair) KeepAlive ¶
KeepAlive for support connect, session key will available for 20 minutes
func (*Betfair) ListClearedOrders ¶
func (b *Betfair) ListClearedOrders(ctx context.Context, filter Filter) (clearedOrderSummaryReport ClearedOrderSummaryReport, err error)
ListClearedOrders to get a list of settled bets based on the bet status, ordered by settled date
func (*Betfair) ListCompetitions ¶
func (b *Betfair) ListCompetitions(ctx context.Context, filter Filter) (res CompetitionResultList, err error)
ListCompetitions to get competitions associated with the markets selected by the filter
func (*Betfair) ListCountries ¶
func (b *Betfair) ListCountries(ctx context.Context, filter Filter) (res CountryCodeResultList, err error)
ListCountries to get a list of countries associated with the markets selected by the filter
func (*Betfair) ListCurrentOrders ¶
func (b *Betfair) ListCurrentOrders(ctx context.Context, filter Filter) (currentOrderSummaryReport CurrentOrderSummaryReport, err error)
ListCurrentOrders to get a list of your current orders
func (*Betfair) ListEventTypes ¶
func (b *Betfair) ListEventTypes(ctx context.Context, filter Filter) (res EventTypeResultList, err error)
ListEventTypes to get a list of all event types
func (*Betfair) ListEvents ¶
ListEvents to get a list of all events
func (*Betfair) ListMarketBook ¶
func (b *Betfair) ListMarketBook(ctx context.Context, filter Filter) (res MarketBookList, err error)
ListMarketBook to get a list of dynamic data about markets.
func (*Betfair) ListMarketCatalogue ¶
func (b *Betfair) ListMarketCatalogue(ctx context.Context, filter Filter) (res MarketCatalogueList, err error)
ListMarketCatalogue to get a list of information about published (ACTIVE/SUSPENDED) markets that does not change (or changes very rarely).
func (*Betfair) ListMarketProfitAndLoss ¶
func (b *Betfair) ListMarketProfitAndLoss(ctx context.Context, filter Filter) (res MarketProfitAndLossList, err error)
ListMarketProfitAndLoss Retrieve profit and loss for a given list of OPEN markets.
func (*Betfair) ListMarketTypes ¶
func (b *Betfair) ListMarketTypes(ctx context.Context, filter Filter) (res MarketTypeResultList, err error)
ListMarketTypes to get a list of market types (i.e. MATCH_ODDS, NEXT_GOAL) associated with the markets selected by the MarketFilter.
func (*Betfair) ListTimeRangeResult ¶
func (b *Betfair) ListTimeRangeResult(ctx context.Context, filter Filter) (res TimeRangeResultList, err error)
ListTimeRangeResult to get a list of time ranges in the granularity specified in the request (i.e. 3PM to 4PM, Aug 14th to Aug 15th) associated with the markets selected by the MarketFilter.
func (*Betfair) ListVenueResult ¶
func (b *Betfair) ListVenueResult(ctx context.Context, filter Filter) (res VenueResultList, err error)
ListVenueResult to get a list of Venues (i.e. Cheltenham, Ascot) associated with the markets selected by the MarketFilter. Currently, only Horse Racing markets are associated with a Venue.
func (*Betfair) PlaceOrders ¶
func (*Betfair) Request ¶
func (b *Betfair) Request(ctx context.Context, target easyjson.Unmarshaler, url BetfairRestURL, method string, filter interface{}) error
Request function for send requests to betfair via REST JSON
type BetfairRestURL ¶
type BetfairRestURL string
BetfairRestURL type of all betfair rest urls
const ( CertURL = "https://identitysso-cert.betfair.com/api/certlogin" KeepAliveURL BetfairRestURL = "https://identitysso.betfair.com/api/keepAlive" AccountURL BetfairRestURL = "https://api.betfair.com/exchange/account/rest/v1.0" BettingURL BetfairRestURL = "https://api.betfair.com/exchange/betting/rest/v1.0" ScoresURL = "https://api.betfair.com/exchange/scores/json-rpc/v1" )
type BettingError ¶
type BettingError struct { Detail interface{} `json:"detail"` Faultcode string `json:"faultcode"` Faultstring string `json:"faultstring"` }
func (BettingError) MarshalEasyJSON ¶
func (v BettingError) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*BettingError) UnmarshalEasyJSON ¶
func (v *BettingError) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CancelExecutionReport ¶
type CancelExecutionReport struct { CustomerRef string `json:"customerRef,omitempty"` Status EExecutionReportStatus `json:"status,omitempty"` ErrorCode EExecutionReportErrorCode `json:"errorCode,omitempty"` MarketID string `json:"marketId,omitempty"` InstructionReports []CancelInstructionReport `json:"instructionReports,omitempty"` }
func (CancelExecutionReport) MarshalEasyJSON ¶
func (v CancelExecutionReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CancelExecutionReport) UnmarshalEasyJSON ¶
func (v *CancelExecutionReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CancelFilter ¶
type CancelFilter struct { MarketID string `json:"marketId"` CancelOrdersInstructions []CancelInstruction `json:"instructions"` CustomerRef string `json:"customerRef,omitempty"` }
func (CancelFilter) MarshalEasyJSON ¶
func (v CancelFilter) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CancelFilter) UnmarshalEasyJSON ¶
func (v *CancelFilter) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CancelInstruction ¶
type CancelInstruction struct { BetID string `json:"betId"` SizeReduction Decimal `json:"sizeReduction,omitempty"` }
func (CancelInstruction) MarshalEasyJSON ¶
func (v CancelInstruction) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CancelInstruction) UnmarshalEasyJSON ¶
func (v *CancelInstruction) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CancelInstructionReport ¶
type CancelInstructionReport struct { Status EInstructionReportStatus `json:"status,omitempty"` ErrorCode EInstructionReportErrorCode `json:"errorCode,omitempty"` Instruction CancelInstruction `json:"instruction,omitempty"` CancelledDate time.Time `json:"cancelledDate,omitempty"` SizeCancelled float64 `json:"sizeCancelled,omitempty"` }
func (CancelInstructionReport) MarshalEasyJSON ¶
func (v CancelInstructionReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CancelInstructionReport) UnmarshalEasyJSON ¶
func (v *CancelInstructionReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type ClearedOrderSummary ¶
type ClearedOrderSummary struct { EventTypeID string `json:"eventTypeId,omitempty"` EventID string `json:"eventId,omitempty"` MarketID string `json:"marketId,omitempty"` SelectionID int64 `json:"selectionId,omitempty"` Handicap float64 `json:"handicap,omitempty"` BetID string `json:"betId,omitempty"` PlacedDate time.Time `json:"placedDate,omitempty"` PersistenceType EPersistenceType `json:"persistenceType,omitempty"` OrderType EOrderType `json:"orderType,omitempty"` Side ESide `json:"side,omitempty"` ItemDescription ItemDescription `json:"itemDescription,omitempty"` BetOutcome string `json:"betOutcome,omitempty"` PriceRequested float64 `json:"priceRequested,omitempty"` SettledDate time.Time `json:"settledDate,omitempty"` LastMatchedDate time.Time `json:"lastMatchedDate,omitempty"` BetCount int64 `json:"betCount,omitempty"` Commission float64 `json:"commission,omitempty"` PriceMatched float64 `json:"priceMatched,omitempty"` PriceReduced bool `json:"priceReduced,omitempty"` SizeSettled float64 `json:"sizeSettled,omitempty"` Profit float64 `json:"profit,omitempty"` SizeCancelled float64 `json:"sizeCancelled,omitempty"` CustomerOrderRef string `json:"customerOrderRef,omitempty"` CustomerStrategyRef string `json:"customerStrategyRef,omitempty"` }
func (ClearedOrderSummary) MarshalEasyJSON ¶
func (v ClearedOrderSummary) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*ClearedOrderSummary) UnmarshalEasyJSON ¶
func (v *ClearedOrderSummary) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type ClearedOrderSummaryReport ¶
type ClearedOrderSummaryReport struct { ClearedOrders []ClearedOrderSummary `json:"clearedOrders"` MoreAvailable bool `json:"moreAvailable"` }
func (ClearedOrderSummaryReport) MarshalEasyJSON ¶
func (v ClearedOrderSummaryReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*ClearedOrderSummaryReport) UnmarshalEasyJSON ¶
func (v *ClearedOrderSummaryReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Competition ¶
func (Competition) MarshalEasyJSON ¶
func (v Competition) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Competition) UnmarshalEasyJSON ¶
func (v *Competition) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CompetitionResult ¶
type CompetitionResult struct { Competition Competition `json:"competition"` MarketCount int64 `json:"marketCount"` CompetitionRegion string `json:"competitionRegion"` }
func (CompetitionResult) MarshalEasyJSON ¶
func (v CompetitionResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CompetitionResult) UnmarshalEasyJSON ¶
func (v *CompetitionResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CompetitionResultList ¶
type CompetitionResultList []CompetitionResult
func (CompetitionResultList) MarshalEasyJSON ¶
func (v CompetitionResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CompetitionResultList) UnmarshalEasyJSON ¶
func (v *CompetitionResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CountryCodeResult ¶
type CountryCodeResult struct { CountryCode string `json:"countryCode"` MarketCount int64 `json:"marketCount"` }
func (CountryCodeResult) MarshalEasyJSON ¶
func (v CountryCodeResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CountryCodeResult) UnmarshalEasyJSON ¶
func (v *CountryCodeResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CountryCodeResultList ¶
type CountryCodeResultList []CountryCodeResult
func (CountryCodeResultList) MarshalEasyJSON ¶
func (v CountryCodeResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CountryCodeResultList) UnmarshalEasyJSON ¶
func (v *CountryCodeResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CurrencyRate ¶
func (CurrencyRate) MarshalEasyJSON ¶
func (v CurrencyRate) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CurrencyRate) UnmarshalEasyJSON ¶
func (v *CurrencyRate) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CurrencyRateList ¶
type CurrencyRateList []CurrencyRate
func (CurrencyRateList) MarshalEasyJSON ¶
func (v CurrencyRateList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CurrencyRateList) UnmarshalEasyJSON ¶
func (v *CurrencyRateList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CurrentOrderSummary ¶
type CurrentOrderSummary struct { BetID string `json:"betId"` MarketID string `json:"marketId"` SelectionID int64 `json:"selectionId"` Handicap float64 `json:"handicap"` PriceSize PriceSize `json:"priceSize"` BspLiability float64 `json:"bspLiability"` Side ESide `json:"side"` Status EOrderStatus `json:"status"` PersistenceType EPersistenceType `json:"persistenceType"` OrderType EOrderType `json:"orderType"` PlacedDate time.Time `json:"placedDate"` MatchedDate time.Time `json:"matchedDate"` AveragePriceMatched float64 `json:"averagePriceMatched,omitempty"` SizeMatched float64 `json:"sizeMatched,omitempty"` SizeRemaining float64 `json:"sizeRemaining,omitempty"` SizeLapsed float64 `json:"sizeLapsed,omitempty"` SizeCancelled float64 `json:"sizeCancelled,omitempty"` SizeVoided float64 `json:"sizeVoided,omitempty"` RegulatorAuthCode string `json:"regulatorAuthCode,omitempty"` RegulatorCode string `json:"regulatorCode,omitempty"` }
func (CurrentOrderSummary) MarshalEasyJSON ¶
func (v CurrentOrderSummary) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CurrentOrderSummary) UnmarshalEasyJSON ¶
func (v *CurrentOrderSummary) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CurrentOrderSummaryReport ¶
type CurrentOrderSummaryReport struct { CurrentOrders []CurrentOrderSummary `json:"currentOrders"` MoreAvailable bool `json:"moreAvailable"` }
func (CurrentOrderSummaryReport) MarshalEasyJSON ¶
func (v CurrentOrderSummaryReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CurrentOrderSummaryReport) UnmarshalEasyJSON ¶
func (v *CurrentOrderSummaryReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DateRange ¶
func (DateRange) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DateRange) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DeveloperAppKey ¶
type DeveloperAppKey struct { AppName string `json:"appName"` AppID int64 `json:"appId"` AppVersions []DeveloperAppVersion `json:"appVersions"` }
func (DeveloperAppKey) MarshalEasyJSON ¶
func (v DeveloperAppKey) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DeveloperAppKey) UnmarshalEasyJSON ¶
func (v *DeveloperAppKey) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DeveloperAppKeyList ¶
type DeveloperAppKeyList []DeveloperAppKey
func (DeveloperAppKeyList) MarshalEasyJSON ¶
func (v DeveloperAppKeyList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DeveloperAppKeyList) UnmarshalEasyJSON ¶
func (v *DeveloperAppKeyList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DeveloperAppVersion ¶
type DeveloperAppVersion struct { Owner string `json:"owner"` VersionID int64 `json:"versionId"` Version string `json:"version"` ApplicationKey string `json:"applicationKey"` DelayData bool `json:"delayData"` SubscriptionRequired bool `json:"subscriptionRequired"` OwnerManaged bool `json:"ownerManaged"` Active bool `json:"active"` }
func (DeveloperAppVersion) MarshalEasyJSON ¶
func (v DeveloperAppVersion) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DeveloperAppVersion) UnmarshalEasyJSON ¶
func (v *DeveloperAppVersion) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EBetStatus ¶
type EBetStatus string
const ( BS_SETTLED EBetStatus = "SETTLED" BS_VOIDED EBetStatus = "VOIDED" BS_LAPSED EBetStatus = "LAPSED" BS_CANCELLED EBetStatus = "CANCELLED" ErrUnknownBetStatus EBetStatus = "Unknown betStatus value" )
type EBetTargetType ¶
type EBetTargetType string
const ( BTT_BACKERS_PROFIT EBetTargetType = "BACKERS_PROFIT" BTT_PAYOUT EBetTargetType = "PAYOUT" )
type EExceptionErrorCode ¶
type EExceptionErrorCode string
const ( EEC_TOO_MUCH_DATA EExceptionErrorCode = "TOO_MUCH_DATA" EEC_INVALID_INPUT_DATA EExceptionErrorCode = "INVALID_INPUT_DATA" EEC_INVALID_SESSION_INFORMATION EExceptionErrorCode = "INVALID_SESSION_INFORMATION" EEC_NO_APP_KEY EExceptionErrorCode = "NO_APP_KEY" EEC_NO_SESSION EExceptionErrorCode = "NO_SESSION" EEC_UNEXPECTED_ERROR EExceptionErrorCode = "UNEXPECTED_ERROR" EEC_INVALID_APP_KEY EExceptionErrorCode = "INVALID_APP_KEY" EEC_TOO_MANY_REQUESTS EExceptionErrorCode = "TOO_MANY_REQUESTS" EEC_SERVICE_BUSY EExceptionErrorCode = "SERVICE_BUSY" EEC_TIMEOUT_ERROR EExceptionErrorCode = "TIMEOUT_ERROR" EEC_REQUEST_SIZE_EXCEEDS_LIMIT EExceptionErrorCode = "REQUEST_SIZE_EXCEEDS_LIMIT" EEC_ACCESS_DENIED EExceptionErrorCode = "ACCESS_DENIED" ErrUnknownExceptionCode EExceptionErrorCode = "Unknown APINGException errorCode value" )
type EExecutionReportErrorCode ¶
type EExecutionReportErrorCode string
type EExecutionReportStatus ¶
type EExecutionReportStatus string
const ( ERS_SUCCESS EExecutionReportStatus = "SUCCESS" ERS_FAILURE EExecutionReportStatus = "FAILURE" ERS_PROCESSED_WITH_ERRORS EExecutionReportStatus = "PROCESSED_WITH_ERRORS" ERS_TIMEOUT EExecutionReportStatus = "TIMEOUT" )
type EIncludeItem ¶
type EIncludeItem string
const ( IT_ALL EIncludeItem = "ALL" IT_DEPOSITS_WITHDRAWALS EIncludeItem = "DEPOSITS_WITHDRAWALS" IT_EXCHANGE EIncludeItem = "EXCHANGE" IT_POKER_ROOM EIncludeItem = "POKER_ROOM" )
type EInstructionReportErrorCode ¶
type EInstructionReportErrorCode string
type EInstructionReportStatus ¶
type EInstructionReportStatus string
const ( IRS_SUCCESS EInstructionReportStatus = "SUCCESS" IRS_FAILURE EInstructionReportStatus = "FAILURE" IRS_TIMEOUT EInstructionReportStatus = "TIMEOUT" )
type ELoginStatus ¶
type ELoginStatus string
const ( LS_SUCCESS ELoginStatus = "SUCCESS" LS_INVALID_USERNAME_OR_PASSWORD ELoginStatus = "INVALID_USERNAME_OR_PASSWORD" LS_ACCOUNT_NOW_LOCKED ELoginStatus = "ACCOUNT_NOW_LOCKED" LS_ACCOUNT_ALREADY_LOCKED ELoginStatus = "ACCOUNT_ALREADY_LOCKED" LS_PENDING_AUTH ELoginStatus = "PENDING_AUTH" LS_TELBET_TERMS_CONDITIONS_NA ELoginStatus = "TELBET_TERMS_CONDITIONS_NA" LS_DUPLICATE_CARDS ELoginStatus = "DUPLICATE_CARDS" LS_SECURITY_QUESTION_WRONG_3X ELoginStatus = "SECURITY_QUESTION_WRONG_3X" LS_KYC_SUSPEND ELoginStatus = "KYC_SUSPEND" LS_SUSPENDED ELoginStatus = "SUSPENDED" LS_CLOSED ELoginStatus = "CLOSED" LS_SELF_EXCLUDED ELoginStatus = "SELF_EXCLUDED" LS_INVALID_CONNECTIVITY_TO_REGULATOR_DK ELoginStatus = "INVALID_CONNECTIVITY_TO_REGULATOR_DK" LS_NOT_AUTHORIZED_BY_REGULATOR_DK ELoginStatus = "NOT_AUTHORIZED_BY_REGULATOR_DK" LS_INVALID_CONNECTIVITY_TO_REGULATOR_IT ELoginStatus = "INVALID_CONNECTIVITY_TO_REGULATOR_IT" LS_NOT_AUTHORIZED_BY_REGULATOR_IT ELoginStatus = "NOT_AUTHORIZED_BY_REGULATOR_IT" LS_SECURITY_RESTRICTED_LOCATION ELoginStatus = "SECURITY_RESTRICTED_LOCATION" LS_BETTING_RESTRICTED_LOCATION ELoginStatus = "BETTING_RESTRICTED_LOCATION" LS_TRADING_MASTER ELoginStatus = "TRADING_MASTER" LS_TRADING_MASTER_SUSPENDED ELoginStatus = "TRADING_MASTER_SUSPENDED" LS_AGENT_CLIENT_MASTER ELoginStatus = "AGENT_CLIENT_MASTER" LS_AGENT_CLIENT_MASTER_SUSPENDED ELoginStatus = "AGENT_CLIENT_MASTER_SUSPENDED" LS_DANISH_AUTHORIZATION_REQUIRED ELoginStatus = "DANISH_AUTHORIZATION_REQUIRED" LS_SPAIN_MIGRATION_REQUIRED ELoginStatus = "SPAIN_MIGRATION_REQUIRED" LS_DENMARK_MIGRATION_REQUIRED ELoginStatus = "DENMARK_MIGRATION_REQUIRED" LS_SPANISH_TERMS_ACCEPTANCE_REQUIRED ELoginStatus = "SPANISH_TERMS_ACCEPTANCE_REQUIRED" LS_ITALIAN_CONTRACT_ACCEPTANCE_REQUIRED ELoginStatus = "ITALIAN_CONTRACT_ACCEPTANCE_REQUIRED" LS_CERT_AUTH_REQUIRED ELoginStatus = "CERT_AUTH_REQUIRED" LS_CHANGE_PASSWORD_REQUIRED ELoginStatus = "CHANGE_PASSWORD_REQUIRED" LS_PERSONAL_MESSAGE_REQUIRED ELoginStatus = "PERSONAL_MESSAGE_REQUIRED" LS_INTERNATIONAL_TERMS_ACCEPTANCE_REQUIRED ELoginStatus = "INTERNATIONAL_TERMS_ACCEPTANCE_REQUIRED" LS_EMAIL_LOGIN_NOT_ALLOWED ELoginStatus = "EMAIL_LOGIN_NOT_ALLOWED" LS_MULTIPLE_USERS_WITH_SAME_CREDENTIAL ELoginStatus = "MULTIPLE_USERS_WITH_SAME_CREDENTIAL" LS_ACCOUNT_PENDING_PASSWORD_CHANGE ELoginStatus = "ACCOUNT_PENDING_PASSWORD_CHANGE" LS_TEMPORARY_BAN_TOO_MANY_REQUESTS ELoginStatus = "TEMPORARY_BAN_TOO_MANY_REQUESTS" ErrUnknownLoginStatus ELoginStatus = "Unknown loginStatus value" )
type EMarketBettingType ¶
type EMarketBettingType string
const ( MBT_ODDS EMarketBettingType = "ODDS" MBT_LINE EMarketBettingType = "LINE" MBT_ASIAN_HANDICAP_DOUBLE_LINE EMarketBettingType = "ASIAN_HANDICAP_DOUBLE_LINE" MBT_ASIAN_HANDICAP_SINGLE_LINE EMarketBettingType = "ASIAN_HANDICAP_SINGLE_LINE" MBT_FIXED_ODDS EMarketBettingType = "FIXED_ODDS" ErrUnknownMarketBettingType EMarketBettingType = "Unknown marketBettingType value" )
type EMarketBettingTypes ¶
type EMarketBettingTypes []EMarketBettingType
type EMarketProjection ¶
type EMarketProjection string
const ( COMPETITION EMarketProjection = "COMPETITION" EVENT EMarketProjection = "EVENT" EVENT_TYPE EMarketProjection = "EVENT_TYPE" MARKET_START_TIME EMarketProjection = "MARKET_START_TIME" MARKET_DESCRIPTION EMarketProjection = "MARKET_DESCRIPTION" RUNNER_DESCRIPTION EMarketProjection = "RUNNER_DESCRIPTION" RUNNER_METADATA EMarketProjection = "RUNNER_METADATA" )
type EMarketSort ¶
type EMarketSort string
const ( MS_MINIMUM_TRADED EMarketSort = "MINIMUM_TRADED" MS_MAXIMUM_TRADED EMarketSort = "MAXIMUM_TRADED" MS_MINIMUM_AVAILABLE EMarketSort = "MINIMUM_AVAILABLE" MS_MAXIMUM_AVAILABLE EMarketSort = "MAXIMUM_AVAILABLE" MS_FIRST_TO_START EMarketSort = "FIRST_TO_START" MS_LAST_TO_START EMarketSort = "LAST_TO_START" ErrUnknownMarketSort EMarketSort = "Unknown marketSort value" )
type EMarketStatus ¶
type EMarketStatus string
const ( MS_INACTIVE EMarketStatus = "INACTIVE" MS_OPEN EMarketStatus = "OPEN" MS_SUSPENDED EMarketStatus = "SUSPENDED" MS_CLOSED EMarketStatus = "CLOSED" ErrUnknowMarketStatus EMarketStatus = "Unknown marketStatus value" )
type EMarketType ¶
type EMarketType string
const ( MT_A EMarketType = "A" MT_L EMarketType = "L" MT_O EMarketType = "O" MT_R EMarketType = "R" MT_NOT_APPLICABLE EMarketType = "NOT_APPLICABLE" )
type EMatchProjection ¶
type EMatchProjection string
const ( MP_NO_ROLLUP EMatchProjection = "NO_ROLLUP" MP_ROLLED_UP_BY_PRICE EMatchProjection = "ROLLED_UP_BY_PRICE" MP_ROLLED_UP_BY_AVG_PRICE EMatchProjection = "ROLLED_UP_BY_AVG_PRICE" ErrUnknownMatchProjection EMatchProjection = "Unknown matchProjection value" )
type EOrderBy ¶
type EOrderBy string
const ( OB_BY_BET EOrderBy = "BY_BET" OB_BY_MARKET EOrderBy = "BY_MARKET" OB_BY_MATCH_TIME EOrderBy = "BY_MATCH_TIME" OB_BY_PLACE_TIME EOrderBy = "BY_PLACE_TIME" OB_BY_SETTLED_TIME EOrderBy = "BY_SETTLED_TIME" OB_BY_VOID_TIME EOrderBy = "BY_VOID_TIME" ErrUnknownOrderBy EOrderBy = "Unknown orderBy value" )
type EOrderProjection ¶
type EOrderProjection string
const ( OP_ALL EOrderProjection = "ALL" OP_EXECUTABLE EOrderProjection = "EXECUTABLE" OP_EXECUTION_COMPLETE EOrderProjection = "EXECUTION_COMPLETE" ErrUnknownOrderProjection EOrderProjection = "Unknown orderProjection value" )
type EOrderStatus ¶
type EOrderStatus string
const ( OS_PENDING EOrderStatus = "PENDING" OS_EXECUTION_COMPLETE EOrderStatus = "EXECUTION_COMPLETE" OS_EXECUTABLE EOrderStatus = "EXECUTABLE" OS_EXPIRED EOrderStatus = "EXPIRED" ErrOrderStatus EOrderStatus = "Unknown orderStatus value" )
type EOrderType ¶
type EOrderType string
const ( OT_LIMIT EOrderType = "LIMIT" OT_LIMIT_ON_CLOSE EOrderType = "LIMIT_ON_CLOSE" OT_MARKET_ON_CLOSE EOrderType = "MARKET_ON_CLOSE" )
type EPersistenceType ¶
type EPersistenceType string
const ( PT_LAPSE EPersistenceType = "LAPSE" PT_PERSIST EPersistenceType = "PERSIST" PT_MARKET_ON_CLOSE EPersistenceType = "MARKET_ON_CLOSE" ErrUnknownPersistenceType EPersistenceType = "Unknown persistenceType value" )
type EPriceData ¶
type EPriceData string
const ( PD_SP_AVAILABLE EPriceData = "SP_AVAILABLE" PD_SP_TRADED EPriceData = "SP_TRADED" PD_EX_BEST_OFFERS EPriceData = "EX_BEST_OFFERS" PD_EX_ALL_OFFERS EPriceData = "EX_ALL_OFFERS" PD_EX_TRADED EPriceData = "EX_TRADED" ErrUnknownPriceData EPriceData = "Unknown priceData value" )
type ERollupModel ¶
type ERollupModel string
const ( RM_STAKE ERollupModel = "STAKE" RM_PAYOUT ERollupModel = "PAYOUT" RM_MANAGED_LIABILITY ERollupModel = "MANAGED_LIABILITY" RM_NONE ERollupModel = "NONE" ErrUnknownRollupModel ERollupModel = "Unknown rollupModel value" )
type ERunnerStatus ¶
type ERunnerStatus string
const ( RS_ACTIVE ERunnerStatus = "ACTIVE" RS_WINNER ERunnerStatus = "WINNER" RS_LOSER ERunnerStatus = "LOSER" RS_PLACED ERunnerStatus = "PLACED" RS_REMOVED_VACANT ERunnerStatus = "REMOVED_VACANT" RS_REMOVED ERunnerStatus = "REMOVED" RS_HIDDEN ERunnerStatus = "HIDDEN" ErrUnknownRunnerStatus ERunnerStatus = "Unknown runnerStatus value" )
type ETimeGranularity ¶
type ETimeGranularity string
const ( TG_DAYS ETimeGranularity = "DAYS" TG_HOURS ETimeGranularity = "HOURS" TG_MINUTES ETimeGranularity = "MINUTES" ErrUnknownTimeGranularity ETimeGranularity = "Unknown timeGranularity value" )
type ETimeInForce ¶
type ETimeInForce string
const (
ETIF_FILL_OR_KILL ETimeInForce = "FILL_OR_KILL"
)
type EXBestOffersOverrides ¶
type EXBestOffersOverrides struct { BestPricesDepth int64 `json:"bestPricesDepth,omitempty"` RollupModel ERollupModel `json:"rollupModel,omitempty"` RollupLimit int64 `json:"rollupLimit,omitempty"` RollupLiabilityThreshold float64 `json:"rollupLiabilityThreshold,omitempty"` RollupLiabilityFactor int64 `json:"rollupLiabilityFactor,omitempty"` }
func (EXBestOffersOverrides) MarshalEasyJSON ¶
func (v EXBestOffersOverrides) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EXBestOffersOverrides) UnmarshalEasyJSON ¶
func (v *EXBestOffersOverrides) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Event ¶
type Event struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` CountryCode string `json:"countryCode,omitempty"` Timezone string `json:"timezone,omitempty"` Venue string `json:"venue,omitempty"` OpenDate time.Time `json:"openDate,omitempty"` }
func (Event) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Event) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EventResult ¶
func (EventResult) MarshalEasyJSON ¶
func (v EventResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EventResult) UnmarshalEasyJSON ¶
func (v *EventResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EventResultList ¶
type EventResultList []EventResult
func (EventResultList) MarshalEasyJSON ¶
func (v EventResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EventResultList) UnmarshalEasyJSON ¶
func (v *EventResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EventType ¶
func (EventType) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EventType) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EventTypeResult ¶
type EventTypeResult struct { EventType EventType `json:"eventType"` MarketCount int64 `json:"marketCount"` }
func (EventTypeResult) MarshalEasyJSON ¶
func (v EventTypeResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EventTypeResult) UnmarshalEasyJSON ¶
func (v *EventTypeResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type EventTypeResultList ¶
type EventTypeResultList []EventTypeResult
func (EventTypeResultList) MarshalEasyJSON ¶
func (v EventTypeResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*EventTypeResultList) UnmarshalEasyJSON ¶
func (v *EventTypeResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type ExchangePrices ¶
type ExchangePrices struct { AvailableToBack []PriceSize `json:"availableToBack,omitempty"` AvailableToLay []PriceSize `json:"availableToLay,omitempty"` TradedVolume []PriceSize `json:"tradedVolume,omitempty"` }
func (ExchangePrices) MarshalEasyJSON ¶
func (v ExchangePrices) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*ExchangePrices) UnmarshalEasyJSON ¶
func (v *ExchangePrices) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Filter ¶
type Filter struct { Wallet EWallet `json:"wallet,omitempty"` CurrencyCode string `json:"currencyCode,omitempty"` Locale string `json:"locale,omitempty"` FromRecord int64 `json:"fromRecord,omitempty"` RecordCount int64 `json:"recordCount,omitempty"` ItemDateRange *DateRange `json:"itemDateRange,omitempty"` IncludeItem EIncludeItem `json:"includeItem,omitempty"` FromCurrency string `json:"fromCurrency,omitempty"` From EWallet `json:"from,omitempty"` To EWallet `json:"to,omitempty"` Amount float64 `json:"amount,omitempty"` BetIDs []string `json:"betIds,omitempty"` MarketIDs []string `json:"marketIds,omitempty"` PriceProjection *PriceProjection `json:"priceProjection,omitempty"` OrderProjection EOrderProjection `json:"orderProjection,omitempty"` MarketProjection *[]EMarketProjection `json:"marketProjection,omitempty"` DateRange *DateRange `json:"dateRange,omitempty"` OrderBy EOrderBy `json:"orderBy,omitempty"` SortDir ESortDir `json:"sortDir,omitempty"` Sort EMarketSort `json:"sort,omitempty"` MarketFilter *MarketFilter `json:"filter,omitempty"` BetStatus EBetStatus `json:"betStatus,omitempty"` EventTypeIDs []string `json:"eventTypeIds,omitempty"` EventIDs []string `json:"eventIds,omitempty"` RunnerIDs []RunnerID `json:"runnerIds,omitempty"` Side ESide `json:"side,omitempty"` SettledDateRange *DateRange `json:"settledDateRange,omitempty"` GroupBy EGroupBy `json:"groupBy,omitempty"` IncludeItemDescription bool `json:"includeItemDescription,omitempty"` MaxResults int64 `json:"maxResults,omitempty"` IncludeSettledBets bool `json:"includeSettledBets,omitempty"` TimeGranularity ETimeGranularity `json:"granularity,omitempty"` PlaceOrdersMarketID string `json:"marketId,omitempty"` PlaceOrdersInstructions []PlaceInstruction `json:"instructions,omitempty"` CustomerOrderRefs []string `json:"customerOrderRefs,omitempty"` CustomerStrategyRefs []string `json:"customerStrategyRefs,omitempty"` }
func (Filter) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Filter) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type ItemDescription ¶
type ItemDescription struct { EventTypeDesc string `json:"eventTypeDesc,omitempty"` EventDesc string `json:"eventDesc,omitempty"` MarketDesc string `json:"marketDesc,omitempty"` MarketType string `json:"marketType,omitempty"` MarketStartTime time.Time `json:"marketStartTime,omitempty"` RunnerDesc string `json:"runnerDesc,omitempty"` NumberOfWinners int64 `json:"numberOfWinners,omitempty"` EachWayDivisor float64 `json:"eachWayDivisor,omitempty"` }
func (ItemDescription) MarshalEasyJSON ¶
func (v ItemDescription) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*ItemDescription) UnmarshalEasyJSON ¶
func (v *ItemDescription) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type KeepAlive ¶
type KeepAlive struct { Token string `json:"token"` Product string `json:"product"` Status string `json:"status"` Error string `json:"error"` }
func (KeepAlive) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*KeepAlive) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type LimitOnCloseOrder ¶
type LimitOnCloseOrder struct { Liability Decimal `json:"liability,omitempty"` Price Decimal `json:"price,omitempty"` }
func (LimitOnCloseOrder) MarshalEasyJSON ¶
func (v LimitOnCloseOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*LimitOnCloseOrder) UnmarshalEasyJSON ¶
func (v *LimitOnCloseOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type LimitOrder ¶
type LimitOrder struct { Size Decimal `json:"size,omitempty"` Price Decimal `json:"price,omitempty"` PersistenceType EPersistenceType `json:"persistenceType,omitempty"` TimeInForce ETimeInForce `json:"timeInForce,omitempty"` MinFillSize Decimal `json:"minFillSize,omitempty"` BetTargetType EBetTargetType `json:"betTargetType,omitempty"` BetTargetSize Decimal `json:"betTargetSize,omitempty"` }
func (LimitOrder) MarshalEasyJSON ¶
func (v LimitOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*LimitOrder) UnmarshalEasyJSON ¶
func (v *LimitOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketBook ¶
type MarketBook struct { MarketID string `json:"marketId"` IsMarketDataDelayed bool `json:"isMarketDataDelayed"` Status EMarketStatus `json:"status"` BetDelay int64 `json:"betDelay"` BspReconciled bool `json:"bspReconciled"` Complete bool `json:"complete"` Inplay bool `json:"inplay"` NumberOfWinners int64 `json:"numberOfWinners"` NumberOfRunners int64 `json:"numberOfRunners"` NumberOfActiveRunners int64 `json:"numberOfActiveRunners"` LastMatchTime time.Time `json:"lastMatchTime"` TotalMatched float64 `json:"totalMatched"` TotalAvailable float64 `json:"totalAvailable"` CrossMatching bool `json:"crossMatching"` RunnersVoidable bool `json:"runnersVoidable"` Version int64 `json:"version"` Runners []Runner `json:"runners"` }
func (MarketBook) MarshalEasyJSON ¶
func (v MarketBook) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketBook) UnmarshalEasyJSON ¶
func (v *MarketBook) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketBookList ¶
type MarketBookList []MarketBook
func (MarketBookList) MarshalEasyJSON ¶
func (v MarketBookList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketBookList) UnmarshalEasyJSON ¶
func (v *MarketBookList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketCatalogue ¶
type MarketCatalogue struct { MarketID string `json:"marketId"` MarketName string `json:"marketName"` MarketStartTime *time.Time `json:"marketStartTime,omitempty"` Description *MarketDescription `json:"description,omitempty"` TotalMatched float64 `json:"totalMatched"` Runners *[]RunnerCatalog `json:"runners,omitempty"` EventType *EventType `json:"eventType,omitempty"` Competition *Competition `json:"competition,omitempty"` Event *Event `json:"event,omitempty"` }
func (MarketCatalogue) MarshalEasyJSON ¶
func (v MarketCatalogue) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketCatalogue) UnmarshalEasyJSON ¶
func (v *MarketCatalogue) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketCatalogueList ¶
type MarketCatalogueList []MarketCatalogue
func (MarketCatalogueList) MarshalEasyJSON ¶
func (v MarketCatalogueList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketCatalogueList) UnmarshalEasyJSON ¶
func (v *MarketCatalogueList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketDescription ¶
type MarketDescription struct { PersistenceEnabled bool `json:"persistenceEnabled,omitempty"` BspMarket bool `json:"bspMarket,omitempty"` MarketTime time.Time `json:"marketTime,omitempty"` SuspendTime time.Time `json:"suspendTime,omitempty"` SettleTime time.Time `json:"settleTime,omitempty"` BettingType EMarketBettingType `json:"bettingType,omitempty"` TurnInPlayEnabled bool `json:"turnInPlayEnabled,omitempty"` MarketType string `json:"marketType,omitempty"` Regulator string `json:"marketId,omitempty"` MarketBaseRate float64 `json:"marketBaseRate,omitempty"` DiscountAllowed bool `json:"discountAllowed,omitempty"` Wallet string `json:"wallet,omitempty"` Rules string `json:"rules,omitempty"` RulesHasDate bool `json:"rulesHasDate,omitempty"` EachWayDivisor float64 `json:"eachWayDivisor,omitempty"` Clarifications string `json:"clarifications,omitempty"` }
func (MarketDescription) MarshalEasyJSON ¶
func (v MarketDescription) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketDescription) UnmarshalEasyJSON ¶
func (v *MarketDescription) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketFilter ¶
type MarketFilter struct { TextQuery string `json:"textQuery,omitempty"` ExchangeIDs []string `json:"exchangeIds,omitempty"` EventTypeIDs []string `json:"eventTypeIds,omitempty"` EventIDs []string `json:"eventIds,omitempty"` CompetitionIDs []string `json:"competitionIds,omitempty"` MarketIDs []string `json:"marketIds,omitempty"` Venues []string `json:"venues,omitempty"` BspOnly *bool `json:"bspOnly,omitempty"` TurnInPlayEnabled *bool `json:"turnInPlayEnabled,omitempty"` InPlayOnly *bool `json:"inPlayOnly,omitempty"` MarketBettingTypes []EMarketBettingType `json:"marketBettingTypes,omitempty"` MarketCountries []string `json:"marketCountries,omitempty"` MarketTypeCodes []string `json:"marketTypeCodes,omitempty"` MarketStartTime *DateRange `json:"marketStartTime,omitempty"` WithOrders []EOrderStatus `json:"withOrders,omitempty"` }
func (MarketFilter) MarshalEasyJSON ¶
func (v MarketFilter) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketFilter) UnmarshalEasyJSON ¶
func (v *MarketFilter) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketOnCloseOrder ¶
type MarketOnCloseOrder struct {
Liability Decimal `json:"liability,omitempty"`
}
func (MarketOnCloseOrder) MarshalEasyJSON ¶
func (v MarketOnCloseOrder) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketOnCloseOrder) UnmarshalEasyJSON ¶
func (v *MarketOnCloseOrder) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketProfitAndLoss ¶
type MarketProfitAndLoss struct { MarketId string `json:"marketId,omitempty"` CommissionApplied float64 `json:"commissionApplied,omitempty"` ProfitAndLosses []RunnerProfitAndLoss `json:"profitAndLosses,omitempty"` }
func (MarketProfitAndLoss) MarshalEasyJSON ¶
func (v MarketProfitAndLoss) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketProfitAndLoss) UnmarshalEasyJSON ¶
func (v *MarketProfitAndLoss) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketProfitAndLossList ¶
type MarketProfitAndLossList []MarketProfitAndLoss
func (MarketProfitAndLossList) MarshalEasyJSON ¶
func (v MarketProfitAndLossList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketProfitAndLossList) UnmarshalEasyJSON ¶
func (v *MarketProfitAndLossList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketTypeResult ¶
type MarketTypeResult struct { MarketType string `json:"marketType,omitempty"` MarketCount int64 `json:"marketCount,omitempty"` }
func (MarketTypeResult) MarshalEasyJSON ¶
func (v MarketTypeResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketTypeResult) UnmarshalEasyJSON ¶
func (v *MarketTypeResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type MarketTypeResultList ¶
type MarketTypeResultList []MarketTypeResult
func (MarketTypeResultList) MarshalEasyJSON ¶
func (v MarketTypeResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MarketTypeResultList) UnmarshalEasyJSON ¶
func (v *MarketTypeResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Match ¶
type Match struct { }
func (Match) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Match) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Order ¶
type Order struct { }
func (Order) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Order) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PlaceExecutionReport ¶
type PlaceExecutionReport struct { CustomerRef string `json:"customerRef,omitempty"` Status EExecutionReportStatus `json:"status,omitempty"` ErrorCode EExecutionReportErrorCode `json:"errorCode,omitempty"` MarketID string `json:"marketId,omitempty"` InstructionReports []PlaceInstructionReport `json:"instructionReports,omitempty"` }
func (PlaceExecutionReport) MarshalEasyJSON ¶
func (v PlaceExecutionReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PlaceExecutionReport) UnmarshalEasyJSON ¶
func (v *PlaceExecutionReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PlaceInstruction ¶
type PlaceInstruction struct { OrderType EOrderType `json:"orderType,omitempty"` SelectionID int64 `json:"selectionId,omitempty"` Handicap Decimal `json:"handicap,omitempty"` Side ESide `json:"side,omitempty"` LimitOrder *LimitOrder `json:"limitOrder,omitempty"` LimitOnCloseOrder *LimitOnCloseOrder `json:"limitOnCloseOrder,omitempty"` MarketOnCloseOrder *MarketOnCloseOrder `json:"marketOnCloseOrder,omitempty"` CustomerOrderRef string `json:"customerOrderRef,omitempty"` }
func (PlaceInstruction) MarshalEasyJSON ¶
func (v PlaceInstruction) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PlaceInstruction) UnmarshalEasyJSON ¶
func (v *PlaceInstruction) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PlaceInstructionReport ¶
type PlaceInstructionReport struct { Status EInstructionReportStatus `json:"status,omitempty"` ErrorCode EInstructionReportErrorCode `json:"errorCode,omitempty"` OrderStatus EOrderStatus `json:"orderStatus,omitempty"` Instruction PlaceInstruction `json:"instruction,omitempty"` BetID string `json:"betId,omitempty"` PlacedDate time.Time `json:"placedDate,omitempty"` AveragePriceMatched float64 `json:"averagePriceMatched,omitempty"` SizeMatched float64 `json:"sizeMatched,omitempty"` }
func (PlaceInstructionReport) MarshalEasyJSON ¶
func (v PlaceInstructionReport) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PlaceInstructionReport) UnmarshalEasyJSON ¶
func (v *PlaceInstructionReport) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PriceProjection ¶
type PriceProjection struct { PriceData []EPriceData `json:"priceData,omitempty"` EXBestOffersOverrides *EXBestOffersOverrides `json:"exBestOffersOverrides,omitempty"` Virtualise bool `json:"virtualise,omitempty"` RolloverStakes bool `json:"rolloverStakes,omitempty"` }
func (PriceProjection) MarshalEasyJSON ¶
func (v PriceProjection) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PriceProjection) UnmarshalEasyJSON ¶
func (v *PriceProjection) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PriceSize ¶
type PriceSize struct { Price float64 `json:"price,omitempty"` Size float64 `json:"size,omitempty"` }
func (PriceSize) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*PriceSize) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Runner ¶
type Runner struct { SelectionID int64 `json:"selectionId"` Handicap float64 `json:"handicap,omitempty"` Status ERunnerStatus `json:"status,omitempty"` AdjustmentFactor float64 `json:"adjustmentFactor,omitempty"` LastPriceTraded float64 `json:"lastPriceTraded"` TotalMatched float64 `json:"totalMatched,omitempty"` RemovalDate *time.Time `json:"removalDate,omitempty"` SP *StartingPrices `json:"sp,omitempty"` EX ExchangePrices `json:"ex"` Orders []Order `json:"orders,omitempty"` Matches []Match `json:"matches,omitempty"` MatchesByStrategy map[string][]Match `json:"matchesByStrategy,omitempty"` }
func (Runner) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Runner) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type RunnerCatalog ¶
type RunnerCatalog struct { SelectionID int64 `json:"selectionId,omitempty"` RunnerName string `json:"runnerName,omitempty"` Handicap float64 `json:"handicap,omitempty"` SortPriority int64 `json:"sortPriority,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` }
func (RunnerCatalog) MarshalEasyJSON ¶
func (v RunnerCatalog) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*RunnerCatalog) UnmarshalEasyJSON ¶
func (v *RunnerCatalog) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type RunnerID ¶
func (RunnerID) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*RunnerID) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type RunnerProfitAndLoss ¶
type RunnerProfitAndLoss struct { SelectionId int64 `json:"selectionId,omitempty"` IfWin float64 `json:"ifWin,omitempty"` IfLose float64 `json:"ifLose,omitempty"` IfPlace float64 `json:"ifPlace,omitempty"` }
func (RunnerProfitAndLoss) MarshalEasyJSON ¶
func (v RunnerProfitAndLoss) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*RunnerProfitAndLoss) UnmarshalEasyJSON ¶
func (v *RunnerProfitAndLoss) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type Session ¶
type Session struct { SessionToken string `json:"sessionToken"` LoginStatus ELoginStatus `json:"loginStatus"` }
func (Session) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*Session) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type StartingPrices ¶
type StartingPrices struct { NearPrice float64 `json:"nearPrice,omitempty"` FarPrice float64 `json:"farPrice,omitempty"` BackStakeTaken []PriceSize `json:"backStakeTaken,omitempty"` LayLiabilityTaken []PriceSize `json:"layLiabilityTaken,omitempty"` ActualSP float64 `json:"actualSP,omitempty"` }
func (StartingPrices) MarshalEasyJSON ¶
func (v StartingPrices) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*StartingPrices) UnmarshalEasyJSON ¶
func (v *StartingPrices) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type StatementItem ¶
type StatementItem struct { RefID string ItemDate time.Time Amount float64 Balance float64 ItemClass EItemClass ItemClassData map[string]string LegacyData StatementLegacyData }
func (StatementItem) MarshalEasyJSON ¶
func (v StatementItem) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*StatementItem) UnmarshalEasyJSON ¶
func (v *StatementItem) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type StatementLegacyData ¶
type StatementLegacyData struct { AvgPrice float64 BetSize float64 BetType string BetCategoryType string CommissionRate string EventID int64 EventTypeID int64 FullMarketName string GrossBetAmount float64 MarketName string MarketType EMarketType PlacedDate time.Time SelectionID int64 SelectionName string StartDate time.Time TransactionType string TransactionID int64 WinLose string }
func (StatementLegacyData) MarshalEasyJSON ¶
func (v StatementLegacyData) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*StatementLegacyData) UnmarshalEasyJSON ¶
func (v *StatementLegacyData) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type TimeRangeResult ¶
type TimeRangeResult struct { TimeRange DateRange `json:"timeRange,omitempty"` MarketCount int64 `json:"marketCount,omitempty"` }
func (TimeRangeResult) MarshalEasyJSON ¶
func (v TimeRangeResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*TimeRangeResult) UnmarshalEasyJSON ¶
func (v *TimeRangeResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type TimeRangeResultList ¶
type TimeRangeResultList []TimeRangeResult
func (TimeRangeResultList) MarshalEasyJSON ¶
func (v TimeRangeResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*TimeRangeResultList) UnmarshalEasyJSON ¶
func (v *TimeRangeResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type TransferResponse ¶
type TransferResponse struct {
TransactionID string
}
func (TransferResponse) MarshalEasyJSON ¶
func (v TransferResponse) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*TransferResponse) UnmarshalEasyJSON ¶
func (v *TransferResponse) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type VenueResult ¶
type VenueResult struct { Venue string `json:"venue,omitempty"` MarketCount int64 `json:"marketCount,omitempty"` }
func (VenueResult) MarshalEasyJSON ¶
func (v VenueResult) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*VenueResult) UnmarshalEasyJSON ¶
func (v *VenueResult) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type VenueResultList ¶
type VenueResultList []VenueResult
func (VenueResultList) MarshalEasyJSON ¶
func (v VenueResultList) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*VenueResultList) UnmarshalEasyJSON ¶
func (v *VenueResultList) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface