ReturnTradeHistory in poloniex always returns an empty list

I am using the python shell provided by poloniex: wrapper

The method I'm trying to run now is:

def returnTradeHistory(self,currencyPair):
    return self.api_query('returnTradeHistory',{"currencyPair":currencyPair})

But the method always returns an empty list, even if I have already completed a transaction using this coin. Other methods work as expected, even those that also need a private API (for example, return balances). .returnTradeHistory()

Here is a printout of the result: script running

And here is a listing of my trading history: Trading history

What am I missing here?

+4
source share
1 answer

Well, after reading the documentation again, I saw this:

, POST currencyPair. "all" currencyPair, . start / end POST, UNIX; , , ​​.

, .

+8

Source: https://habr.com/ru/post/1679983/


All Articles