mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
13
examples/rest/get_funding_info.py
Normal file
13
examples/rest/get_funding_info.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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"))
|
||||
Reference in New Issue
Block a user