@ivan I’m getting this error
result: ‘error’,
reason: ‘InvalidNonce’,
message: “Nonce ‘1597150337278’ has not increased since your last call to the Gemini API.”
I thinks it’s because I have 5 orders back to back. Maybe since the order is left in the order book it didn’t increment the nonce?
restClient.newOrder({amount:10, price: 28, side:“sell”, symbol:“ethusd”}).then(response => console.log(response)).catch(error => console.log(error));
restClient.newOrder({amount:100, price: 9, side:“buy”, symbol:“ethusd”}).then(response => console.log(response)).catch(error => console.log(error));
restClient.newOrder({limit:“Fill-or-Kill”,amount:100, price: 28, side:“sell”, symbol:“ethusd”}).then(response => console.log(response)).catch(error => console.log(error));
restClient.newOrder({amount:10, price: 28, side:“buy”, symbol:“ltcusd”}).then(response => console.log(response)).catch(error => console.log(error));
restClient.newOrder({amount:10, price: 28, side:“buy”, symbol:“zecusd”}).then(response => console.log(response)).catch(error => console.log(error));
restClient.newOrder({amount:10, price: 0.00005, side:“buy”, symbol:“ethbtc”}).then(response => console.log(response)).catch(error => console.log(error));;