Closed foryou89 closed 6 years ago
same problem
@Aleandro21 also u have "Invalid request"? I've tried different snippet but nothing... you? @n1nj4z33 was here two weeks ago, maybe he can help us
@gpiedimonte this is my error
2018-01-26 11:35:41,208 {"msg": {"direction": "call", "price": 1, "act": 816, "exp": 1516963080.0, "time": 1516962900, "type": "turbo"}, "name": "buyV2"} 2018-01-26 11:35:41,500 {"name":"buyComplete","request_id":"","msg":{"isSuccessful":false,"message":["Invalid request"],"result":{}}}
Problem is ".0" in "exp" field. simple fix: change line 21 in buyv2.py to: exp = int(self.api.timesync.expiration_timestamp)
@hrabin very well god job
doesnt work for me .... still got that .0 at the end
2018-01-25 13:13:59,844 {"msg": {"direction": "call", "price": 1, "act": 1, "exp": 1516886098.0, "time": 1516886038, "type": "turbo"}, "name": "buyV2"} 2018-01-25 13:13:59,845 {"name":"timeSync","msg":1516886039871} 2018-01-25 13:13:59,858 {"name":"buyComplete","request_id":"","msg":{"isSuccessful":false,"message":["Invalid request"],"result":{}}}