generated from OBJNULL/Dockerized-Rust
35 lines
No EOL
918 B
Text
35 lines
No EOL
918 B
Text
# StockMAPI Configuration Version
|
|
version: "1.0"
|
|
|
|
# Database Information
|
|
database:
|
|
address: "db:3306" # If hosting in Docker, keep it this way.
|
|
name: "stockmapi" # Database Name
|
|
user: "stockmapi" # MYSQL Username
|
|
pass: "changeme" # MYSQL Password
|
|
|
|
# Stock updater information
|
|
updater:
|
|
frequency: 15 # API Updater Cooldown in MINUTES
|
|
marketstack:
|
|
key: "changeme" # Market Stack API Key
|
|
alphavantage:
|
|
key: "changeme" # Vantage Alpha API Key
|
|
|
|
# API Endpoint information
|
|
api:
|
|
port: 3080
|
|
endpoint: "v1"
|
|
|
|
# General StockMAPI Information
|
|
general:
|
|
api: "alphavantage" # API Used in Production
|
|
method: "eod" # API Entrypoint Method
|
|
interval: 15 # API Request interval in MINUTES
|
|
historical: # API Historical Data
|
|
from: "2000-01-01"
|
|
to: "2025-01-19"
|
|
tracked: # A list of tracked stocks
|
|
- NVDA
|
|
- TSLA
|
|
- RSP |