creating order issue for bitsane
See original GitHub issue- OS: window
- Programming Language version: python 3.6.4
- CCXT 1.18.433:
- Exchange: bitsane
- Method: create_order,create_limit_sell_order
Now I am using 2 kinds of function for creating order to bitsane, but I received the same error message. This is my sample code in python
import ccxt
def market_authentication(id):
if(id == 'bittrex'):
return {'apikey': '': ''}
elif(id == 'bitsane'):
return {'apikey': '5xxx', 'secretkey': '5Dxx'}
def main():
id = 'bitsane'
x = market_authentication(id)
api_key = x['apikey']
secret_key = x['secretkey']
exchange = getattr(ccxt, id)({
'apiKey': api_key,
'secret': secret_key,
'enableRateLitmit': True
})
exchange.create_order('BTC/USD', 'sell',0.001, 4900,)
exchange.create_limit_sell_order('BTC/USD', 0.001, 4900)
main()
Error message:
ccxt.base.errors.InvalidNonce: bitsane {"statusCode":8,"statusText":"The nonce should be greater than the previous","result":[]}
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Bitsane – Reviews, Trading Fees & Cryptos (2023)
Read this detailed review on Bitsane, compare 500+ other crypto exchanges ... We call makers “makers” because their orders make the liquidity in...
Read more >Bitsane destination tag - Gateways and Exchanges - Xrp Chat
I'm new to crypto and was sending some XRP to Bitsane and forgot to enter the destination tag now my XRP is missing...
Read more >Bitsane exchange | Bitsane review | How to trade on bitsane?
Bitsane is an Irish exchange that has a developed platform for spot exchange. This review lets you know how to trade on Bitsane...
Read more >Bitsane, the Most Sophisticated Cryptocurrency Exchange ...
Bitsane is the latest cryptocurrency exchange platform to enter the digital currency market. The platform based out of Dublin, Ireland claims to be...
Read more >Official Statement: Azbit Has Nothing To Do With Bitsane
What is Bitsane Limited created with Max Zmitrovich as a CEO then? ... team in order not to stitch you up and roll...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will update the ccxt version. Thanks so much for you.
No , this code return this error a. in case using create_limit_sell_order fucntion
File “t.py”, line 27, in <module> main() File “t.py”, line 26, in main exchange.create_limit_sell_order(‘BTC/USD’, 0.001, 4900) File “C:\Users\baota\AppData\Local\Programs\Python\Python36\lib\site-packages\ccxt\base\exchange.py”, line 1549, in create_limit_sell_order return self.create_order(symbol, ‘limit’, ‘sell’, *args) File “C:\Users\baota\AppData\Local\Programs\Python\Python36\lib\site-packages\ccxt\bitsane.py”, line 351, in create_order order = self.parse_order(order, market) File “C:\Users\baota\AppData\Local\Programs\Python\Python36\lib\site-packages\ccxt\bitsane.py”, line 313, in parse_order if order[‘is_cancelled’]: KeyError: ‘is_cancelled’
b. in case using create_order function File “t.py”, line 27, in <module> main() File “t.py”, line 24, in main exchange.create_order(‘BTC/USD’, None , ‘sell’, 0.001 , 4900) File “C:\Users\baota\AppData\Local\Programs\Python\Python36\lib\site-packages\ccxt\bitsane.py”, line 351, in create_order order = self.parse_order(order, market) File “C:\Users\baota\AppData\Local\Programs\Python\Python36\lib\site-packages\ccxt\bitsane.py”, line 313, in parse_order if order[‘is_cancelled’]: KeyError: ‘is_cancelled’