Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecoverable error appears when cant place OpenDex order because of small CEX balance #104

Open
raladev opened this issue Sep 25, 2020 · 0 comments
Labels
P2 mid priority

Comments

@raladev
Copy link
Contributor

raladev commented Sep 25, 2020

CEX btc balance is 0.00000018 (would be also good to remove scientific notation from arby logs)

2020-09-25 11:07:31.3131 [GLOBAL] info: Starting. Hello, Arby.
2020-09-25 11:07:31.3131 [GLOBAL] info: Running with config:
LIVE_CEX: true
CEX: BINANCE
LOG_LEVEL: trace
DATA_DIR: /root/.arby
OPENDEX_CERT_PATH: /root/.xud/tls.cert
OPENDEX_RPC_HOST: xud
OPENDEX_RPC_PORT: 28886
MARGIN: 0.04
BASEASSET: BTC
QUOTEASSET: USDT
TEST_CENTRALIZED_EXCHANGE_BASEASSET_BALANCE: 123
TEST_CENTRALIZED_EXCHANGE_QUOTEASSET_BALANCE: 321
2020-09-25 11:07:31.3131 [Centralized] info: Base asset balance 1.8e-7 and quote asset balance 19.87633377
2020-09-25 11:07:31.3131 [Centralized] trace: BTCUSDT established connection to wss://stream.binance.com:9443/ws/btcusdt@aggTrade
2020-09-25 11:07:31.3131 [Centralized] trace: heartbeat from BTCUSDT socket
2020-09-25 11:07:31.3131 [OpenDEX] trace: Base asset balance 0.36674874 (maxinbound: 4.58316075, maxoutbound: 0.31674874) and quote asset balance 1498.636663 (maxinbound: 314.363337, maxoutbound: 1498.636663).
2020-09-25 11:07:33.3333 [Centralized] trace: New price: 10571.78
2020-09-25 11:07:33.3333 [OpenDEX] trace: Replacing BTC/USDT buy order with id arby-BTC/USDT-buy-order, quantity 0.00000017 and price 10148.9088
2020-09-25 11:07:33.3333 [OpenDEX] trace: Replacing BTC/USDT sell order with id arby-BTC/USDT-sell-order, quantity 0.00186132 and price 10994.6512
2020-09-25 11:07:33.3333 [OpenDEX] trace: Creating BTC/USDT sell order with id arby-BTC/USDT-sell-order, quantity 0.00186132 and price 10994.6512
2020-09-25 11:07:33.3333 [GLOBAL] info: Unrecoverable error: {"code":3,"details":"order does not meet the minimum BTC quantity of 100 satoshis","metadata":{"internalRepr":{},"options":{}}} - cleaning up.
2020-09-25 11:07:33.3333 [Centralized] trace: BTCUSDT stream closed
2020-09-25 11:07:33.3333 [OpenDEX] info: All OpenDEX orders have been removed
2020-09-25 11:07:33.3333 [Centralized] info: All CEX orders have been removed
Shutdown complete. Goodbye, Arby.
2020-09-25 11:07:33,714 INFO exited: arby (exit status 0; expected)
2020-09-25 11:07:34,719 INFO spawned: 'arby' with pid 244

> [email protected] start:arby /app
@raladev raladev added the P2 mid priority label Sep 25, 2020
@raladev raladev changed the title Unrecoverable error apeears when cant place OpenDex order because of small CEX balance Unrecoverable error appears when cant place OpenDex order because of small CEX balance Sep 25, 2020
@kilrau kilrau assigned ghost Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 mid priority
Projects
None yet
Development

No branches or pull requests

1 participant