52 lines
1.7 KiB
Markdown
52 lines
1.7 KiB
Markdown
# AI - Stock Trader
|
|
Overview of the directories
|
|
|
|
```bash
|
|
./ # Docker Files
|
|
├── data # Local debugging data folder
|
|
└── WebServer # The ASP.NET Core 9 Webserver
|
|
├── AIPython # All the AI files written in python [Copied to the docker container via the C# compiler]
|
|
├── Components # HTML pages written in .razor pages
|
|
├── Controllers # Python Interop Controllers and Database Controller
|
|
├── Properties # ASP.Net Properties files
|
|
└── wwwroot # Statically hosted Web Files
|
|
```
|
|
|
|
## Prerequisites
|
|
|
|
You need to have docker and docker-compose installed
|
|
|
|
## Hardware Requrement
|
|
|
|
You need a computer with docker-compose installed.
|
|
GPU is not needed as it runs via the CPU runtime.
|
|
|
|
Minimum Specs:
|
|
4 core CPU.
|
|
16GB ram.
|
|
|
|
## Installation
|
|
How to host a local copy
|
|
|
|
```bash
|
|
# Pull the files using git
|
|
git clone git@gitlab.com:wgu-gitlab-environment/student-repos/dhol325/d683-advanced-ai-and-ml.git
|
|
|
|
# Enter the working directory
|
|
cd ./d683-advanced-ai-and-ml
|
|
|
|
# use docker compose to bring everything up
|
|
docker compose up -d
|
|
```
|
|
|
|
## Usage
|
|
|
|
Navigate to [localhost:5000](http://127.0.0.1:5000).
|
|
|
|
Register an account with a username and password
|
|
Add as many stock symbols as you would like to the watched stocks
|
|
Sit back and let the AI day trade for you
|
|
This will auto trade once per day based on the AI predicted stock movement 5 days in advance
|
|
-------------------
|
|
If you would like to simulate your watched stocks on the last 30 days of stock history you can run the 'Run 1Mo Evaluation'
|
|
This will simulate, such as the real algorithm, the stock trade's per day on your watched stocks so you can get a feel for your watched stocks |