ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.36k stars 821 forks source link

start trading from command line ? by hotkey #598

Closed hamadaDev closed 6 years ago

hamadaDev commented 6 years ago

can I start trading from command line by ssh ? image

Pat71 commented 6 years ago

use the --autobot switch

hamadaDev commented 6 years ago

Thank you man :) solved

image

donaldforest commented 6 years ago

Will be cool have hotkeys for start\pause trading in non-naked ssh + see wallet data ... etc. Or full access to bot settings and data from SSH for for real men! :)

ctubio commented 6 years ago

not the settings yet xD but someday'' meanwhile lets add hotkeys to start/stop trading from the CLI

grhangelone commented 6 years ago

start/stop from stdin would be great :) displaying wallet data with profit, too

also maybe a "reload settings" hotkey. then we could update the settings in the database from outside and reload via stdin alternatively we could think about a control-connection to the bot via webservice or telnet

me and my crypto mates are thinking about a bot-control webpage to control our various bots.

lets say you have 3 bots running the stats from the 3 bots are pulled every 5minutes and written into a (mysql?) database the bot-overview (php?) webpage displays the status of all 3 bots, the wallet data and some parameters (tbp/stdev periods/width/bidsize/asksize)

the overview would also display the tradingview chart next to the bot parameters and feature 2-3 panicbuttons like "bailout -> set tbp to 0", "be careful -> set tbp to 20/20 and quote size to 20/30" or "all in -> restore tbp and quotesize to 50/50"

so that's basically like a slimmed down matryoshka, with some extra features but without a control connection this woudn't work

ctubio commented 6 years ago

very coOl this centralized UI, but ima keep this issue only for adding start/stop hotkeys to the CLI

other displays to the CLI will come someday hope is fine

grhangelone commented 6 years ago

no pressure :) but we should keep the telnet approach in mind. this would be pretty easy to build upon for other cli/web clients

i imagine, you could set alle the config options like "set targetBasePosition 0.2" or "set widthPong 0.05" in the telnet interface and in addition we could have commands like "start", "stop", "display wallet" or "display orders/trades/stats"

hamadaDev commented 6 years ago

this option " --autobot " is ok for me I complete missing option by c# Desktop application to stop Trading and Runaway to "USD" when market going to big Down. and send to server stop all . and when market is going up Now I can send start to my favorite Coins K=K_bcn.sh make start Thank you for --autobot

ctubio commented 6 years ago

will try to add the little new documentation and the little new cli mods soOn, meanwhile ESC hotkey is already usable after next commit