funding trades

Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
This commit is contained in:
Davide Casale
2023-01-30 17:36:50 +01:00
parent b9850fa451
commit 0ddbd6e76e
4 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# python -c "import examples.rest.get_funding_trades_history"
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_trades_history())