caiyundong/bitbay_api_python

get_trade_transactions

Closed this issue · 4 comments

Hello,

when using the def get_trade_transactions I have this error message:

('get_trade_transactions', {u'status': u'Fail', u'errors': [u'INVALID_HASH_SIGNATURE']})

Do you know why?

def get_trade_transactions(self, markets, rateFrom, rateTo, fromTime, toTime, userAction, nextPageCursor):
    """
    :param markets:
    :param rateFrom:
    :param rateTo:
    :param fromTime:
    :param toTime:
    :param userAction: buy/sell
    :param nextPageCursor:  start
    :return:
    """
    request = {"markets": markets, "rateFrom": rateFrom, "rateTo": rateTo, "fromTime": fromTime, "toTime": toTime, "userAction": userAction, "nextPageCursor": nextPageCursor}
    response = self.query_private("GET", URL + "/trading/history/transactions", req=request)
    return response

hi,

I have fixed the code.

Something with the private-get.

Please give a try and let me know if not working.

regards,
yundong

Yes, now is working.
Thank you very much.

you are welcome