Files
bitfinex-api-py/examples/rest/get_funding_info.py
Davide Casale b9850fa451 funding info
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-01-30 17:31:07 +01:00

13 lines
291 B
Python

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