ExchangeUnion / market-maker-bot

MM Bot for OpenDEX. Make profits via arbitrage between OpenDEX and a connected CEX account like Binance 🤖
GNU Affero General Public License v3.0
105 stars 20 forks source link

Arby improving suggestions #16

Open raladev opened 4 years ago

raladev commented 4 years ago

Arby is in alpha state now and looks unfinished. So, here you can offer any improvement for discussion.

raladev commented 4 years ago
  • Another thing: you are always using replace_order_id when issuing new orders, right? I am confused by local xud/arby logs saying removed order and creating new orders, but but there were no remova p2p packets. In that case, I'd remove this arby log statement since it's confusing: [OpenDEX] trace: Removed all open orders for ETH/BTC

if there is no real removal/creation then it should be:

  1. 'Create order' msg when repalce_id is not used (first time place)
  2. 'Order replace' msg when raplce_id is used
  3. 'Remove order' msg when there is real order removal
raladev commented 4 years ago

For now it is uncontrollable container that starts order placing when see balance in the channel. But it would be good to have at least start/stop commands in docker setup.

kilrau commented 4 years ago
* [ ]  it would be good to have cli tool for arby to control it.

For now it is uncontrollable container that starts order placing when see balance in the channel. But it would be good to have at least start/stop commands in docker setup.

Good idea, but I would rather let xud ctl take care of that: warn & educate user before starting. Offer a command to stop it etc.

raladev commented 4 years ago
kilrau commented 4 years ago

Marked above as done, it has its own P1 issue and will be done asap: https://github.com/ExchangeUnion/market-maker-tools/issues/17

kilrau commented 3 years ago

I think we should tackle this one in course of this issue next:

  • bestBid and bestAsk monitoring looks like more correct solution then last trade monitoring.