https://github.com/romaingrx/stockbot
stockBot is a gentle automatic trader bot
https://github.com/romaingrx/stockbot
ai bot reinforcement-learning stockbot stocks trading-bot
Last synced: 8 months ago
JSON representation
stockBot is a gentle automatic trader bot
- Host: GitHub
- URL: https://github.com/romaingrx/stockbot
- Owner: romaingrx
- Created: 2020-03-14T17:12:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T16:19:46.000Z (about 6 years ago)
- Last Synced: 2025-04-12T14:40:44.822Z (about 1 year ago)
- Topics: ai, bot, reinforcement-learning, stockbot, stocks, trading-bot
- Language: Python
- Homepage:
- Size: 1.68 MB
- Stars: 19
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
stockBot
=====
How to run scripts
----
- You need to create and activate a virtual environment
```shell
$ python -m venv StockBot
$ source StockBot/bin/activate
```
- Now you need to install librairies from requirements.txt
```shell
$ pip install pip --upgrade
$ pip install -r requirements.txt
```
- To fetch data from online sources, you need to get your API Key from [Quandl](https://www.quandl.com/) and [Alpha Vantage](https://www.alphavantage.co/support/#api-key)
- So, create an account and get both keys.
- Then you can launch the command below
```shell
python stockBot --config --alphavantage={YOUR ALPHAVANTAGE KEY} --quandl=
{YOUR QUANDL KEY}
```
- If everything went well, you can restart your terminal and you're done.
- After restarting your terminal, you can check if the keys are set with:
```shell
python stockBot --config --check
```
Then you are able to execute scripts that are in the examples folder
TensorBoard
----
- To launch the TensorBoard, execute the command below and follow instructions
```shell
$ tensorboard --logdir res/tensorboards/
```
Examples
----
#### naive_LSTM
naive_LSTM is a simple neural network with only one LSTM layer.