Reference / @getenginex/sdk-predictions / PredictionEvent
PredictionEvent
Predictions event: groups one or more markets about the same subject.
Properties
categoryId
categoryId:
string
Category id.
categoryName
categoryName:
string
Category name.
code?
optionalcode?:string
Base code defined by the operator, when present.
createdAt?
optionalcreatedAt?:string
Creation (ISO 8601).
description
description:
string
Description.
endTime?
optionalendTime?:string
End (ISO 8601).
eventMakerFeeBps?
optionaleventMakerFeeBps?:number
The event's maker fee, in basis points, when it overrides the market's.
eventTakerFeeBps?
optionaleventTakerFeeBps?:number
The event's taker fee, in basis points, when it overrides the market's.
eventType
eventType:
string
Event type (e.g. binary, me).
id
id:
string
Event id.
imageUrl
imageUrl:
string
Image URL ('' if none).
marketCount
marketCount:
number
Number of markets.
mutuallyExclusive
mutuallyExclusive:
boolean
Whether only one market of the event can resolve yes.
question
question:
string
The event's question (e.g. Who wins?).
resolutionTime?
optionalresolutionTime?:string
When the event is resolved (ISO 8601).
startTime?
optionalstartTime?:string
Start (ISO 8601).
status
status:
EventStatus
Status.
tags
tags:
string[]
Tags.
ticker?
optionalticker?:string
Readable ticker, when present.
title
title:
string
Title.
topMarkets?
optionaltopMarkets?:Market[]
The highest-volume markets (for listing cards), when the gateway sends them.
totalVolume
totalVolume:
number
Total volume, in cents.
updatedAt?
optionalupdatedAt?:string
Last update (ISO 8601).