This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-predictions / PredictionsClient

PredictionsClient ​

Predictions namespaces of an SDK client, returned by createPredictions. Every request goes through the app's client: same session, token renewal, tenant, locale, hooks, validation and dispose().

The realtime topics live in the @getenginex/sdk-predictions/realtime entry.

Properties ​

comments ​

comments: CommentsApi

Market comments (reading is public; commenting and liking require a session).


markets ​

markets: MarketsApi

Catalog: categories, events, markets, orderbook and price history (public).


orders ​

orders: OrdersApi

Orders: place (idempotent), batch, list, get, cancel and amend (require a session).


portfolio ​

portfolio: PortfolioApi

Positions and portfolio summary (require a session).