Skip to content

Commit

Permalink
fix: consecutive calls with pagination to candle/funding rate
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkersner committed Jul 20, 2024
1 parent a8d723f commit cb3edb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datamaxi/datamaxi/candle.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get(
raise ValueError("no data found")

def next_request():
return self.candle(
return self.get(
exchange,
symbol,
interval,
Expand Down
2 changes: 1 addition & 1 deletion datamaxi/datamaxi/funding_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get(
raise ValueError("no data found")

def next_request():
return self.funding_rate(
return self.get(
exchange,
symbol,
page + 1,
Expand Down

0 comments on commit cb3edb3

Please sign in to comment.