Bitcoin Forum
June 17, 2024, 07:40:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bittrex api problem  (Read 1979 times)
Bitlele (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
September 27, 2016, 02:11:38 PM
 #1



Hello i am a young developer this is my first time with the api of bittrex,
I am developing a python bot for bittrex, but is all the day that i try
to make a request to get the open ordera but it fails..
I dont know, why it dosent works the request status is 200 but this is
the reply:
{'success': False, 'message': 'INVALID_SIGNATURE', 'result': None}

this is my code:
https://codetidy.com/9172/

coudl you please help me?

Ps I have already red thedocumentation but there aren't so much
information..
Pursuer
Legendary
*
Offline Offline

Activity: 1638
Merit: 1163


Where is my ring of blades...


View Profile
September 28, 2016, 07:48:10 AM
 #2

if you read the bittrex documentation here: https://bittrex.com/Home/Api carefully there is a python api wrapper already created: https://github.com/ericsomdahl/python-bittrex

I am not familiar with python to help you there but here are my suggestions to fix your own code:
- check your "urlrequest" to see if it is correct address or not. for example to getOpenOrders it should be like this
https://bittrex.com/api/v1.1/market/getopenorders?apikey=BlahBlahApiKeyString&nonce=1475048767
nonce is not time it is epoch time (google it) the time of this comment is: 1475048767

Only Bitcoin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!