Files
ritmex-bot/docs/ccxt/wiki/examples/py/all-exchanges.md
T
2025-10-03 15:28:16 +08:00

437 B

# -*- 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)