mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
17 lines
256 B
Markdown
17 lines
256 B
Markdown
- [Async Fetch Ticker](./examples/py/)
|
|
|
|
|
|
```python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import asyncio
|
|
import os
|
|
import sys
|
|
from pprint import pprint
|
|
|
|
|
|
import ccxt.async_support as ccxt # noqa: E402
|
|
|
|
pprint(asyncio.run(ccxt.binance().fetch_ticker('ETH/BTC')))
|
|
|
|
``` |