diff --git a/docs/pages/indexer-client/websockets/orders.mdx b/docs/pages/indexer-client/websockets/orders.mdx index 6bc06746..6a8bc507 100644 --- a/docs/pages/indexer-client/websockets/orders.mdx +++ b/docs/pages/indexer-client/websockets/orders.mdx @@ -10,8 +10,8 @@ Data feed of the orders of a market. Data contains lists of the bids and asks of ```python [Python] # class `OrderBook` -def subscribe(self, market: str, batched: bool = True) -> Self -def unsubscribe(self, market: str) +def subscribe(self, id: str, batched: bool = True) -> Self +def unsubscribe(self, id: str) ``` ```typescript [TypeScript] diff --git a/docs/pages/indexer-client/websockets/trades.mdx b/docs/pages/indexer-client/websockets/trades.mdx index 08ddb3ad..58ed2e47 100644 --- a/docs/pages/indexer-client/websockets/trades.mdx +++ b/docs/pages/indexer-client/websockets/trades.mdx @@ -10,8 +10,8 @@ Data feed of the trades on a market. Data contains order fills updates, such as ```python [Python] # class `Trades` -def subscribe(self, market: str, batched: bool = True) -> Self -def unsubscribe(self, market: str) +def subscribe(self, id: str, batched: bool = True) -> Self +def unsubscribe(self, id: str) ``` ```typescript [TypeScript] @@ -31,7 +31,7 @@ pub async fn trades( ``` ```url [Channel] -v4_orderbook +v4_trades ``` :::