Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soundsonacid committed Jan 19, 2024
1 parent 429dde9 commit 46515a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/includes/_orderbook_blockchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ await dlobSubscriber.subscribe();


```python
from driftpy.dlob.dlob_client import DLOBClient
from driftpy.dlob.dlob_subscriber import DLOBSubscriber
from driftpy.dlob.client_types import DLOBClientConfig

config = DLOBClientConfig(drift_client, user_map, slot_subscriber, 1_000)
dlob_client = DLOBClient(config = config)
dlob_subscriber = DLOBSubscriber(config = config)

await dlob_client.subscribe()
await dlob_subscriber.subscribe()
```

### Python
Expand Down Expand Up @@ -193,7 +193,7 @@ const l2 = dlobSubscriber.getL2({
| fallbackL2Generators | L2OrderbookGenerators for fallback liquidity e.g. vAmm, openbook, phoenix. Unnecessary if includeVamm is true | Yes | |

```python
l2 = dlob_client.get_l2_orderbook_sync("SOL-PERP")
l2 = dlob_subscriber.get_l2_orderbook_sync("SOL-PERP")
```

### Python
Expand Down

0 comments on commit 46515a4

Please sign in to comment.