Files
bitfinex-api-py/examples/rest/get_funding_trades_history.py
2023-02-17 18:38:07 +01:00

13 lines
291 B
Python

# python -c "import examples.rest.get_funding_trades_history"
import os
from bfxapi.client import Client, REST_HOST
bfx = Client(
REST_HOST=REST_HOST,
API_KEY=os.getenv("BFX_API_KEY"),
API_SECRET=os.getenv("BFX_API_SECRET")
)
print(bfx.rest.auth.get_funding_trades_history())