Closed lisyoen closed 6 years ago
I tried to buy with credential api (like a bittrex.tradebuy & buylimit) And I got this error message.
code tradebuy
bittrex.tradebuy({ MarketName: 'BTC-LTC', OrderType: 'LIMIT', Quantity: 0.1, Rate: 0.01012, TimeInEffect: 'IMMEDIATE_OR_CANCEL', ConditionType: 'NONE', Target: 0, }, function( data, err ) { console.log( data ); });
error message requested from https://bittrex.com/Api/v2.0/key/market/TradeBuy?apikey={{hiding}}&nonce=1512881475002&MarketName=BTC-LTC&OrderType=LIMIT&Quantity=0.1&Rate=0.01012&TimeInEffect=IMMEDIATE_OR_CANCEL&ConditionType=NONE&Target=0 in: 3.141s { success: false, message: 'INVALID_SIGNATURE', result: null }
requested from https://bittrex.com/Api/v2.0/key/market/TradeBuy?apikey={{hiding}}&nonce=1512881475002&MarketName=BTC-LTC&OrderType=LIMIT&Quantity=0.1&Rate=0.01012&TimeInEffect=IMMEDIATE_OR_CANCEL&ConditionType=NONE&Target=0 in: 3.141s { success: false, message: 'INVALID_SIGNATURE', result: null }
code buylimit
bittrex.buylimit({market: 'BTC-LTC', quantity: 0.1, rate: 0.01012}, function (err, data) { if (err) { return console.error(err); } console.log(data); var uuid = data.result.uuid; });
error message requested from https://bittrex.com/api/v1.1/market/buylimit?apikey={{hiding}}&nonce=1512883548131&market=BTC-LTC&quantity=0.1&rate=0.01012 in: 1.469s { success: false, message: 'INVALID_SIGNATURE', result: null }
requested from https://bittrex.com/api/v1.1/market/buylimit?apikey={{hiding}}&nonce=1512883548131&market=BTC-LTC&quantity=0.1&rate=0.01012 in: 1.469s { success: false, message: 'INVALID_SIGNATURE', result: null }
(API_KEY has all permissions except WITHDRAW) What did I miss?
P.S I live in Korea GMT+9. Could it make a timezone problem?
I found solution from this issue https://github.com/ericsomdahl/python-bittrex/issues/23 thanks everyone!
I tried to buy with credential api (like a bittrex.tradebuy & buylimit) And I got this error message.
code tradebuy
error message
requested from https://bittrex.com/Api/v2.0/key/market/TradeBuy?apikey={{hiding}}&nonce=1512881475002&MarketName=BTC-LTC&OrderType=LIMIT&Quantity=0.1&Rate=0.01012&TimeInEffect=IMMEDIATE_OR_CANCEL&ConditionType=NONE&Target=0 in: 3.141s { success: false, message: 'INVALID_SIGNATURE', result: null }
code buylimit
error message
requested from https://bittrex.com/api/v1.1/market/buylimit?apikey={{hiding}}&nonce=1512883548131&market=BTC-LTC&quantity=0.1&rate=0.01012 in: 1.469s { success: false, message: 'INVALID_SIGNATURE', result: null }
(API_KEY has all permissions except WITHDRAW) What did I miss?
P.S I live in Korea GMT+9. Could it make a timezone problem?