Skip to content

Commit 9473ac0

Browse files
zihao.jiangokxapi
authored andcommitted
add back get_open_interest_history() function
1 parent bd8cd34 commit 9473ac0

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

test/test_trading_data.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ def test_open_interest_volume_strike(self):
3030
3131
"""
3232

33-
def test_get_open_interest_history(self):
34-
print(self.TradingDataAPI.get_open_interest_history(instId='BTC-USDT-SWAP'))
35-
36-
def test_get_open_interest_history_with_params(self):
37-
print(self.TradingDataAPI.get_open_interest_history(
38-
instId='BTC-USDT-SWAP',
39-
period='1H',
40-
limit='50'
41-
))
33+
# def test_get_open_interest_history(self):
34+
# print(self.TradingDataAPI.get_open_interest_history(instId='BTC-USDT-SWAP'))
35+
#
36+
# def test_get_open_interest_history_with_params(self):
37+
# print(self.TradingDataAPI.get_open_interest_history(
38+
# instId='BTC-USDT-SWAP',
39+
# period='1H',
40+
# limit='50'
41+
# ))
4242

4343
if __name__ == "__main__":
4444
unittest.main()

0 commit comments

Comments
 (0)