mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-10 16:58:08 +00:00
27 lines
483 B
Markdown
27 lines
483 B
Markdown
- [Async Bitfinex Public Get Symbols](./examples/py/)
|
|
|
|
|
|
```python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import asyncio
|
|
import os
|
|
import sys
|
|
|
|
|
|
import ccxt.async_support as ccxt # noqa: E402
|
|
|
|
|
|
async def test():
|
|
bitfinex = ccxt.bitfinex({
|
|
'apiKey': "YOUR_API_KEY",
|
|
'secret': "YOUR_SECRET",
|
|
'verbose': True, # switch it to False if you don't want the HTTP log
|
|
})
|
|
print(await bitfinex.public_get_symbols())
|
|
await bitfinex.close()
|
|
|
|
|
|
asyncio.run(test())
|
|
|
|
``` |