skuvv
skuvv
faced for spot, eg: ``` .WatchTrades("BTC/USDT", limit2: 1); .WatchOrderBook("BTC/USDT"); ```
@carlosmiei no, error is random. Sometimes I got a pack of updates before error occurred.
Tested on 4.2.93 - same error
my log: ``` fetch Request: kraken POST https://api.kraken.com/0/private/OpenPositions RequestHeaders: API-Key, xxx API-Sign, xxx Content-Type, application/x-www-form-urlencoded RequestBody: "nonce=1712840907733" handleRestResponse: kraken POST https://api.kraken.com/0/private/OpenPositions 200 OK ResponseHeaders: ResponseBody: {"error":[],"result":{}} System.InvalidCastException: Не удалось привести...
At least OrderId is null when it cast raw info to MyTrade
@carlosmiei CCXT Version:4.3.13 I see more info now, correct channel, but wrong orderId for trade (Bitget):  ``` On message: {"action":"snapshot","arg":{"instType":"SCOIN-FUTURES","channel":"fill","instId":"default"},"data":[{"orderId":"1169836950450511873","tradeId":"1169836950740348929","symbol":"SETHSUSD","orderType":"market","side":"buy","price":"2922.03","baseVolume":"0.1","quoteVolume":"292.203","profit":"0","tradeSide":"open","posMode":"hedge_mode","tradeScope":"taker","feeDetail":[{"feeCoin":"SETH","deduction":"no","totalDeductionFee":"0","totalFee":"-0.00006003"}],"cTime":"1714636784253","uTime":"1714636784253"}],"ts":1714636784259} ```
@ttodua for this part of log: ``` On message: {"action":"snapshot","arg":{"instType":"SUSDT-FUTURES","channel":"orders","instId":"default"},"data":[{"accBaseVolume":"0","cTime":"1714234711855","clientOid":"240427191815_5","enterPointSource":"API","feeDetail":[{"feeCoin":"SUSDT","fee":"0"}],"force":"gtc","instId":"SXRPSUSDT","leverage":"10","marginCoin":"SUSDT","marginMode":"crossed","notionalUsd":"51.67","orderId":"1168150536860114952","orderType":"limit","posMode":"hedge_mode","posSide":"long","price":"0.5167","reduceOnly":"no","side":"buy","size":"100","status":"live","tradeSide":"open","uTime":"1714234711855"}],"ts":1714234711859} Order[240427191815_5] exchangeOrderId: '1168150536860114952', status: 'open', price: '0,5167', size: '100', average: '', filled: '0', remain: '100' On message: {"action":"snapshot","arg":{"instType":"SUSDT-FUTURES","channel":"orders","instId":"default"},"data":[{"accBaseVolume":"15","baseVolume":"15","cTime":"1714234711855","clientOid":"240427191815_5","enterPointSource":"API","feeDetail":[{"feeCoin":"SUSDT","fee":"-0.0015501"}],"fillFee":"-0.0015501","fillFeeCoin":"SUSDT","fillNotionalUsd":"7.7505","fillPrice":"0.5167","fillTime":"1714234729622","force":"gtc","instId":"SXRPSUSDT","leverage":"10","marginCoin":"SUSDT","marginMode":"crossed","notionalUsd":"51.67","orderId":"1168150536860114952","orderType":"limit","pnl":"0","posMode":"hedge_mode","posSide":"long","price":"0.5167","priceAvg":"0.5167","reduceOnly":"no","side":"buy","size":"100","status":"partially_filled","tradeId":"1168150611393327105","tradeScope":"M","tradeSide":"open","uTime":"1714234729622"}],"ts":1714234729648} Order[240427191815_5] exchangeOrderId:...
for this log: ``` On message: {"action":"snapshot","arg":{"instType":"SUSDT-FUTURES","channel":"orders","instId":"default"},"data":[{"accBaseVolume":"0","cTime":"1714235406333","clientOid":"240427192949_8","enterPointSource":"API","feeDetail":[{"feeCoin":"SUSDT","fee":"0"}],"force":"gtc","instId":"SEOSSUSDT","leverage":"10","marginCoin":"SUSDT","marginMode":"crossed","notionalUsd":"80.7","orderId":"1168153449674219523","orderType":"limit","posMode":"hedge_mode","posSide":"long","price":"0.807","reduceOnly":"no","side":"buy","size":"100","status":"live","tradeSide":"open","uTime":"1714235406333"}],"ts":1714235406336} Order[240427192949_8] exchangeOrderId: '1168153449674219523', status: 'open', price: '0,807', size: '100', average: '', filled: '0', remain: '100' Size=100 ok, it's amount of placed order here....
@ttodua Exchange is Bitget try this solution, credential are required. [DemoForDebug.zip](https://github.com/ccxt/ccxt/files/15201364/DemoForDebug.zip)
> @skuvv I've been checking this for a while, reading your logs manually trying to understand where is the problem, but i still can't reproduce. > > I have tried...