mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-07 04:50:57 +08:00
NOFXi — Your AI Trading Agent, built on NOFX. Architecture: - Agent Core: intent routing, conversation memory, trade confirmation - Memory: SQLite (trades, conversations, preferences, strategies) - Thinking: LLM client (OpenAI/claw402/DeepSeek compatible) - Execution: Bridge to NOFX trader engine (9 exchanges) - Perception: Market monitor, price alerts, anomaly detection - Interaction: Telegram bot + REST API + OpenAI-compatible endpoint Features: - Natural language trading (中英文) - /buy /sell /analyze /watch /alert /positions /balance - Daily P/L reports, portfolio risk checks - Trade confirmation flow (safety first) - Price polling and alert notifications
36 lines
771 B
YAML
36 lines
771 B
YAML
# NOFXi Configuration
|
|
# Copy to config.yaml and fill in your values
|
|
|
|
agent:
|
|
name: "NOFXi"
|
|
language: "zh" # "en" or "zh"
|
|
log_level: "info" # "debug", "info", "warn", "error"
|
|
web_port: 8900 # REST API port (0 = disabled)
|
|
|
|
telegram:
|
|
token: "YOUR_TELEGRAM_BOT_TOKEN"
|
|
allowed_ids: # Leave empty to allow all users
|
|
# - 123456789
|
|
|
|
llm:
|
|
provider: "claw402" # "openai", "claw402", "deepseek"
|
|
base_url: "https://claw402.ai/v1"
|
|
api_key: "YOUR_API_KEY"
|
|
model: "deepseek-chat"
|
|
|
|
database:
|
|
path: "nofxi.db"
|
|
|
|
exchanges:
|
|
- name: "binance"
|
|
api_key: ""
|
|
api_secret: ""
|
|
testnet: true
|
|
# - name: "okx"
|
|
# api_key: ""
|
|
# api_secret: ""
|
|
# passphrase: ""
|
|
# - name: "bybit"
|
|
# api_key: ""
|
|
# api_secret: ""
|