bmino / binance-triangle-arbitrage

Detect in-market cryptocurrency arbitrage
MIT License
1.07k stars 336 forks source link

depth (0) too shallow to convert #131

Closed m4s0 closed 3 years ago

m4s0 commented 3 years ago

I am getting warning logs like this

[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 125 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 126 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 125 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 126 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 125 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Bid depth (0) too shallow to convert 126 FLM to BTC using FLMBTC
[2/2/2021, 8:14:45 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:46 PM] WARN : Bid depth (0) too shallow to convert 126 FLM to BTC using FLMBTC
[2/2/2021, 8:14:46 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:46 PM] WARN : Bid depth (0) too shallow to convert 125 FLM to BTC using FLMBTC
[2/2/2021, 8:14:46 PM] WARN : Ask depth (0) too shallow to convert 0.001 BTC to FLM using FLMBTC
[2/2/2021, 8:14:46 PM] WARN : Bid depth (0) too shallow to convert 0.023 ETH to DAI using ETHDAI
[2/2/2021, 8:14:46 PM] WARN : Ask depth (0) too shallow to convert 35.80351 DAI to ETH using ETHDAI
[2/2/2021, 8:14:46 PM] WARN : Bid depth (0) too shallow to convert 0.023 ETH to DAI using ETHDAI
[2/2/2021, 8:14:46 PM] WARN : Ask depth (0) too shallow to convert 35.80351 DAI to ETH using ETHDAI
[2/2/2021, 8:14:46 PM] WARN : Ask depth (0) too shallow to convert 35.81707 USDT to BAT using BATUSDT
[2/2/2021, 8:14:46 PM] WARN : Bid depth (0) too shallow to convert 113 BAT to USDT using BATUSDT

no order is successful

any help?

bmino commented 3 years ago

depth (0) errors are almost always caused by a disconnected / un-initialized websocket connection. This will happen when your cpu or network is overwhelmed and drops websocket ping/pong packets. Check out the binance.log file which will likely show more info

bmino commented 3 years ago

Closing due to inactivity