Clone repository:
git clone git@github.com:hype-ecosystem/predictions_bot.git
Run setup script and make sure that there are now errors:
cd predictions_bot && sudo ./setup <path_to_store_data> <bot_api_key>
Where:
<path_to_store_data> Path to the directory for script data (new markets data, robots, logs, etc)
<bot_api_key> Token for telegram bot API
Find market symbol, ex tBTCUSD, tETHUSD, etc, from https://api.bitfinex.com/v1/symbols
Run genotick_learn script to train genotick on new market and add it to the database.
After training is done, if no errors, market will be added to database and bot will start to make predictions on the next hour.
cd predictions_bot && genotick_learn <start_date> <end_date> <market_symbol> <path_to_store_data>
Where:
<start_date> Start date of the history interval in (YYYY-MM-DD) format.
<end_date> End date of the history interval in (YYYY-MM-DD) format.
<market_symbol> One of the symbols from https://api.bitfinex.com/v1/symbols, upper case with prefixed with 't', f.e. tBTCUSD
<path_to_store_data> Path to the directory for script data same path as for setup script
Example of adding new market(make sure that you use nohup and save logs):
nohup ./genotick_learn 2017-08-17 2019-08-17 tBTCUSD /home/bot/trading_bot > /home/bot/tBTCUSD.log 2>&1 &