Reading the repo
Reading the repo
Saved setup from just now
Will it work on macOS?
Heads-upIt also needs 4 settings in .env (3 secret).
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/ashikmahamudakash/Ai-trading-signal.git cd Ai-trading-signal
Python 3.x (no version pinned)
brew install python
Fill in secrets: BINANCE_API_KEY, BINANCE_SECRET, OANDA_TOKEN
cp .env.example .env
python -m venv .venv source .venv/bin/activate pip install -r requirements.txt
streamlit run app.py
Clone the repo or copy app.py and requirements.txt
Create & activate a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windows
#**Install dependencies:**
pip install -r requirements.txt
#**(Optional) Add API keys for Binance and OANDA in a .env file:**
BINANCE_API_KEY=your_binance_api_key
BINANCE_SECRET=your_binance_secret
OANDA_TOKEN=your_oanda_token
OANDA_ACCOUNT_ID=your_oanda_account_id
#**Usage**
Run the Streamlit app:
streamlit run app.py
Click Discover Binance symbols to load symbols
Select symbols for crypto and FX markets
Configure OHLCV bar count, thresholds, and training mode
Click Fetch historical & train model
Review model reports and live predictions
#**Notes**
The app is a demo for prototyping, not production ready.
Model accuracy depends on data quality and chosen parameters.
API keys for Binance and OANDA are optional; without keys, FX data fetching may be limited.
OHLCV data is cached in .cache folder to speed up re-runs.
**
---
If you want me to add deployment instructions or screenshots, just say!
**
No reports for macOS yet.
Opens a chat with this manual already filled in, for macOS. It uses your own account; gitmanual sends nothing.