MikaLendingBot icon indicating copy to clipboard operation
MikaLendingBot copied to clipboard

[Feature] Turn On/Off Button

Open vicenterusso opened this issue 8 years ago • 3 comments

A button to make the bot pause the operations seems useful. If I want to transfer some funds out of funding wallet I need to login ssh, stop the bot and wait all funds to became available again. Then log ssh, start the bot... etc

vicenterusso avatar Dec 24 '17 20:12 vicenterusso

Yes, this would be useful. I think it was talked about before.

Really we need a REST or other interface to the bot before adding all this things via the WebUI though. There's currently no easy way to directly influence it.

laxdog avatar Apr 19 '18 16:04 laxdog

Would be easier if we move from a "main loop" structure to a master/worker model. Then master can do asynch tasks and call workers/etc.

Much of our code is functions on a loop, so I can see how we can turn that into objects (?) and thus also have multiple configs running in one instance of the bot.

Would be very backwards-compatibility breaking however.

Evanito avatar Apr 28 '18 01:04 Evanito

Yea, though the best way to do that is to move to python 3 so we have async / await.

laxdog avatar May 08 '18 22:05 laxdog