From dfb1f08c658748498e79d5e46ef40d5315b7db98 Mon Sep 17 00:00:00 2001 From: hollossy <35842457+hollossy@users.noreply.github.com> Date: Wed, 24 Jun 2020 18:41:57 +0200 Subject: [PATCH] Update Funding script info Current script not showing the correct request parameters for funding. Trade data was included, changed it to show funding data. --- bfxapi/examples/rest/get_authenticated_data.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bfxapi/examples/rest/get_authenticated_data.py b/bfxapi/examples/rest/get_authenticated_data.py index 0a5a394..052b22d 100644 --- a/bfxapi/examples/rest/get_authenticated_data.py +++ b/bfxapi/examples/rest/get_authenticated_data.py @@ -50,32 +50,32 @@ async def log_order_trades(): [ print (t) for t in trades] async def log_funding_offers(): - offers = await bfx.rest.get_funding_offers('tBTCUSD') + offers = await bfx.rest.get_funding_offers('fBTC') print ("Offers:") [ print (o) for o in offers] async def log_funding_offer_history(): - offers = await bfx.rest.get_funding_offer_history('tBTCUSD', 0, then) + offers = await bfx.rest.get_funding_offer_history('fBTC', 0, then) print ("Offers history:") [ print (o) for o in offers] async def log_funding_loans(): - loans = await bfx.rest.get_funding_loans('tBTCUSD') + loans = await bfx.rest.get_funding_loans('fBTC') print ("Funding loans:") [ print (l) for l in loans ] async def log_funding_loans_history(): - loans = await bfx.rest.get_funding_loan_history('tBTCUSD', 0, then) + loans = await bfx.rest.get_funding_loan_history('fBTC', 0, then) print ("Funding loan history:") [ print (l) for l in loans ] async def log_funding_credits(): - credits = await bfx.rest.get_funding_credits('tBTCUSD') + credits = await bfx.rest.get_funding_credits('fBTC') print ("Funding credits:") [ print (c) for c in credits ] async def log_funding_credits_history(): - credit = await bfx.rest.get_funding_credit_history('tBTCUSD', 0, then) + credit = await bfx.rest.get_funding_credit_history('fBTC', 0, then) print ("Funding credit history:") [ print (c) for c in credit ]