|
Download docs/getting-started/README.md from bisheng13/nofx13: direct link, hf CLI and curl.
- Browser
- Download file 2.96 kB
-
https://huggingface.co/spaces/bisheng13/nofx13/resolve/main/docs/getting-started/README.md
- Command line
-
hf download hf://spaces/bisheng13/nofx13/docs/getting-started/README.md
-
curl -L -o README.md https://huggingface.co/spaces/bisheng13/nofx13/resolve/main/docs/getting-started/README.md
2.96 kB
๐ Getting Started with NOFX
This section contains all the documentation you need to get NOFX up and running.
๐ Deployment Options
Choose the method that best fits your needs:
๐ณ Docker Deployment (Recommended)
Best for: Beginners, quick setup, production deployments
- English: docker-deploy.en.md
- ไธญๆ: docker-deploy.zh-CN.md
Pros:
- โ One-command setup
- โ All dependencies included
- โ Easy to update and manage
- โ Isolated environment
Quick Start:
cp config.json.example config.json
./scripts/start.sh start --build
๐ค AI Configuration
Custom AI Providers
- English: custom-api.en.md
- ไธญๆ: custom-api.md
Use custom AI models or third-party OpenAI-compatible APIs:
- Custom DeepSeek endpoints
- Self-hosted models
- Other LLM providers
๐ Prerequisites
Before starting, ensure you have:
For Docker Method:
- โ Docker 20.10+
- โ Docker Compose V2
For Manual Method:
- โ Go 1.21+
- โ Node.js 18+
- โ TA-Lib library
๐ Next Steps
After deployment:
- Configure AI Models โ Web interface at http://localhost:3000
- Set Up Exchange โ Add Binance/Hyperliquid credentials
- Create Traders โ Combine AI models with exchanges
- Start Trading โ Monitor performance in dashboard
๐ Optional: Enable Admin Mode (Single-User)
For single-tenant/self-hosted usage, you can enable strict admin-only access:
- In
config.jsonset the 2 fields below:
{
"admin_mode": true,
...
"jwt_secret": "YOUR_JWT_SCR"
}
- Set environment variables (Docker compose already wired):
NOFX_ADMIN_PASSWORDโ admin password (plaintext; hashed on startup)
- Login at
/loginusing the admin password. All non-essential endpoints are blocked to unauthenticated users while admin mode is enabled.
โ ๏ธ Important Notes
Before Trading:
- โ ๏ธ Test on testnet first
- โ ๏ธ Start with small amounts
- โ ๏ธ Understand the risks
- โ ๏ธ Read Security Policy
API Keys:
- ๐ Never commit API keys to git
- ๐ Use environment variables
- ๐ Restrict IP access
- ๐ Enable 2FA on exchanges
๐ Troubleshooting
Common Issues:
- Docker build fails โ Check Docker version, update to 20.10+
- TA-Lib not found โ
brew install ta-lib(macOS) orapt-get install libta-lib0-dev(Ubuntu) - Port 8080 in use โ Change
API_PORTin .env file - Frontend won't connect โ Check backend is running on port 8080
Need more help?
- ๐ FAQ
- ๐ฌ Telegram Community
- ๐ GitHub Issues