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).