evgrmn / tmatic

Tmatic is a cryptocurrency platform designed for automated trading on the Bitmex, Bybit and Deribit crypto exchanges.
https://www.tmatic.org
GNU General Public License v3.0
25 stars 6 forks source link

Posting Bybit BTCUSDT.spot reloads Tmatic #151

Closed nikolayromenskiy closed 4 months ago

nikolayromenskiy commented 4 months ago

2024-04-18 19:25:03,391 - root - INFO - Posting side=Buy price=60000.00 qty=0.01 ___place_limit 2024-04-18 19:25:03,588 - api.bybit.errors - ERROR - InvalidRequestError - Buy order price cannot be higher than 58720.0215USDT. (ErrCode: 170193) (ErrTime: 16:25:03). Request → POST https://api-testnet.bybit.com/v5/order/create: {"category": "spot", "symbol": "BTCUSDT", "side": "Buy", "orderType": "Limit", "qty": "0.01", "price": "60000.00", "orderLinkId": "1224561393.BTCUSDT.spot"}. 2024-04-18 19:25:04,340 - api.bybit.ws - INFO - Websocket closed

evgrmn commented 4 months ago

This error was included in the error.py exception handler, so Tmatic does not reload, but only displays the error.