Comments (7)
Hi, indeed it's very hard to reproduce.
I have seen this on avg 1 between 200-300 trades.
And for some reasons it more often when the "amount" is high (almost as if the order is not completed immediately it throws an error, and for smaller orders with lower size that get immediately closed not)
But I'm not sure, for now I just removed the createOrderWs usage, and will monitor this the following days.
I'm closing this as not an issue, will re-open it if possible, when I see again the same in case.
from ccxt.
Hello @fl0wo,
Technically yes it is possible, we might be misparsing an error message or something like that but it's very hard to tell without more information such as logs/ stacktrades/ steps to reproduce the issue.
from ccxt.
I tried to run something like this, but had no luck
for i in range(0, 20):
order = await exchange.create_order_ws('LTC/USDT', 'limit', 'buy', 0.1, 50)
print('created order', order['id'])
await exchange.cancel_order(order['id'], 'LTC/USDT')
print('canceled order', order['id'])
from ccxt.
@carlosmiei Regarding your test code, I'd rather do something like:
(again, only on Kraken)
for ... 20 {
try {
await createOrderWs( LTC... )
catch(e) {
await createOrder( LTC... ) // non ws
}
await sleep 10sec
// fetch new orders on LTC
// if there are 2 new orders on LTC there's an issue (means we placed 2 times the same order)
}
from ccxt.
Ok I removed createOrderWs and now i dont see double trades no more.
I confirm createOrderWs errors are weird for Krakne
from ccxt.
@fl0wo Did you manage to get a verbose log?
from ccxt.
@carlosmiei not yet, I'll have a look and post them here if i find any
from ccxt.
Related Issues (20)
- RequestTimeout: kucoin GET https://api.kucoin.com/api/v3/currencies request timed out (30000 ms) HOT 3
- C# Bitfinex2 CreateOrder -> parseOrder returns empty Order object HOT 3
- i'm try to do a code, it use ccxt to create a bot trading in ftx, but it occur (Exception has occurred: AttributeError module 'ccxt' has no attribute 'ftx'. AttributeError: module 'ccxt' has no attribute 'ftx'). What shuold i do? . My code:exchange = ccxt.ftx({ "apiKey": secret.PUBLIC_KEY, "secret": secret.SECRET_KEY }) HOT 1
- error in ccxt HOT 1
- error when import talib HOT 1
- C# Bitstamp CreateOrder Content-Type header is not accepted + wrong nonce generation HOT 4
- Bitget order subscription duplication. C# HOT 3
- How to make BBO orders in Binance? Sell & Buy HOT 3
- InvalidNonce bitfinex2 invalid checksum HOT 9
- Bitget some of subscription are misssed. C# HOT 2
- race condition during auth HOT 4
- [Typescript] Not all types are being exported HOT 4
- BitMEX - watch_order_book error once a day - safe_string default value NoneType and operation of return is to append a string HOT 2
- Order side invalid error on Kucoin HOT 2
- C# WatchOrders Hyperliquid Subscriptions HOT 7
- coinbase advanced; fetch_accounts_v3 pagination doesn't work HOT 4
- [Bug][fetchTransfers] Binance - fetchTransfers seems to return only transfers from the Spot account to the Linear (Margin) account but not the other way around HOT 4
- error in ECS(VPS):ccxt.base.errors.ExchangeNotAvailable: binance GET https://api.binance.com/api/v3/exchangeInfo HOT 1
- Inconsistent Ticker Data for Bybit linear futures via websockets HOT 5
- Issue with ArrayCacheBySymbolBySide in watch_positions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccxt.