Spaces:
Sleeping
Sleeping
Download start.sh from dixitramjendra/MACD_Strategy: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/spaces/dixitramjendra/MACD_Strategy/resolve/main/start.sh
- Command line
-
hf download hf://spaces/dixitramjendra/MACD_Strategy/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/dixitramjendra/MACD_Strategy/resolve/main/start.sh
612 Bytes
| echo "π Starting BiasBuster Dashboard..." | |
| # Don't clear signals - use the synced signals from git | |
| echo "π Using pre-synced signals from repository..." | |
| echo "π Starting continuous signal updates (every 15 min)..." | |
| # Run strategy analysis continuously in background | |
| export RUN_ONCE="False" | |
| export ENABLE_SCREENSHOTS="False" | |
| export PORT=7860 | |
| python3 forex_macd_strategy.py & | |
| # Wait briefly for strategy to start | |
| echo "β³ Waiting for strategy to initialize..." | |
| sleep 10 | |
| echo "β Strategy running in background!" | |
| echo "π Starting web server on port 7860..." | |
| python3 serve_forex_macd.py | |