Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/pages/indexer-client/websockets/orders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/indexer-client/websockets/trades.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -31,7 +31,7 @@ pub async fn trades(
```

```url [Channel]
v4_orderbook
v4_trades
```

:::
Expand Down
Loading