mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 16:28:06 +00:00
25 lines
437 B
Markdown
25 lines
437 B
Markdown
- [All Exchanges](./examples/py/)
|
|
|
|
|
|
```python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import sys
|
|
from pprint import pprint
|
|
|
|
|
|
import ccxt # noqa: E402
|
|
|
|
|
|
print('CCXT Version:', ccxt.__version__)
|
|
|
|
for exchange_id in ccxt.exchanges:
|
|
try:
|
|
exchange = getattr(ccxt, exchange_id)()
|
|
print(exchange_id)
|
|
# do what you want with this exchange
|
|
# pprint(dir(exchange))
|
|
except Exception as e:
|
|
print(e)
|
|
``` |