Back to Ccxt

-*- coding: utf-8 -*-

wiki/examples/py/order-book-extra-level-depth-param.md

4.5.58217 B
Original Source
python
# -*- coding: utf-8 -*-

import os
import sys


import ccxt  # noqa: E402

# return up to ten bidasks on each side of the order book stack
limit = 10
print(ccxt.cex().fetch_order_book('BTC/USD', limit))