From 991cd7e80bc4354002d261e1c8bb5edf0eed8b59 Mon Sep 17 00:00:00 2001 From: realiti4 Date: Mon, 5 Feb 2024 13:07:25 +0300 Subject: [PATCH] bitmex funding symbol fix --- setup.py | 2 +- tradingfeatures/apis/bitmex/funding.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index af12d13..d1b5fb5 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="tradingfeatures", - version="0.7.3", + version="0.7.4", author="Onur Cetinkol", author_email="realiti44@gmail.com", description="A useful tool to download market history from popular exchanges.", diff --git a/tradingfeatures/apis/bitmex/funding.py b/tradingfeatures/apis/bitmex/funding.py index 951edb7..daf09db 100644 --- a/tradingfeatures/apis/bitmex/funding.py +++ b/tradingfeatures/apis/bitmex/funding.py @@ -64,7 +64,7 @@ def get( def get_recent(self, df): # Recent Funding address = "/instrument" r_current = super(bitmexFunding, self).get( - address=address, query={"symbol": "XBT"}, return_r=True + address=address, query={"symbol": "XBTUSD"}, return_r=True ) current_data = r_current.json()[0]