The current version of the trader (ocotrader.py) can be started with:
cd hypetrader
./oco_start.shPlease add a config.ini with API and secret keys.
pip3 install -r requirements.txt
cd hypeminer
export PYTHONPATH=${PYTHONPATH}:`pwd`Bash:
# process all tweets in files ./data/BTCBUSD/tweets/*.json
python3 core.pyPython:
from hypeminer import Hypeminer
h = Hypeminer('store', currency='BTCBUSD')
# process tweets in file ./data/BTCBUSD/tweets/20210318021353.json
h.single_run_from_dump("20210318021353")
# downloads and processes 10 tweets from Twitter streaming APIs (warning: it will consume API calls)
h.single_run_from_stream(n_tweets=10)
