mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 03:21:04 +08:00
merge main fix Conflict
This commit is contained in:
152
README.md
152
README.md
@@ -1,16 +1,43 @@
|
||||
# 🤖 NOFX - Multi-AI Model Automated Trading Platform
|
||||
# 🤖 NOFX - Agentic Trading OS
|
||||
|
||||
[](https://golang.org/)
|
||||
[](https://reactjs.org/)
|
||||
[](https://www.typescriptlang.org/)
|
||||
[](https://sqlite.org/)
|
||||
[](LICENSE)
|
||||
[](https://amber.ac)
|
||||
|
||||
**Languages:** [English](README.md) | [中文](README.zh-CN.md) | [Українська](README.uk.md) | [Русский](README.ru.md)
|
||||
|
||||
**Official Twitter:** [@nofx_ai](https://x.com/nofx_ai)
|
||||
|
||||
---
|
||||
|
||||
A modern automated crypto futures trading platform powered by **DeepSeek/Qwen AI**, supporting **Binance, Hyperliquid, and Aster DEX exchanges**. Create and manage multiple AI traders with dynamic configuration through a web interface. Features comprehensive market analysis, AI decision-making, **multi-AI model live trading competition**, **self-learning mechanism**, and professional monitoring dashboard.
|
||||
## 🚀 Universal AI Trading Operating System
|
||||
|
||||
**NOFX** is a **universal Agentic Trading OS** built on a unified architecture. We've successfully closed the loop in crypto markets: **"Multi-Agent Decision → Unified Risk Control → Low-Latency Execution → Live/Paper Account Backtesting"**, and are now expanding this same technology stack to **stocks, futures, options, forex, and all financial markets**.
|
||||
|
||||
### 🎯 Core Features
|
||||
|
||||
- **Universal Data & Backtesting Layer**: Cross-market, cross-timeframe, cross-exchange unified representation and factor library, accumulating transferable "strategy memory"
|
||||
- **Multi-Agent Self-Play & Self-Evolution**: Strategies automatically compete and select the best, continuously iterating based on account-level PnL and risk constraints
|
||||
- **Integrated Execution & Risk Control**: Low-latency routing, slippage/risk control sandbox, account-level limits, one-click market switching
|
||||
|
||||
### 🏢 Backed by [Amber.ac](https://amber.ac)
|
||||
|
||||
### 👥 Core Team
|
||||
|
||||
- **Tinkle** - [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
- **Zack** - [@0x_ZackH](https://x.com/0x_ZackH)
|
||||
|
||||
### 💼 Seed Funding Round Open
|
||||
|
||||
We are currently raising our **seed round**.
|
||||
|
||||
**For investment inquiries**, please DM **Tinkle** or **Zack** via Twitter.
|
||||
|
||||
**For partnerships and collaborations**, please DM our official Twitter [@nofx_ai](https://x.com/nofx_ai).
|
||||
|
||||
---
|
||||
|
||||
> ⚠️ **Risk Warning**: This system is experimental. AI auto-trading carries significant risks. Strongly recommended for learning/research purposes or testing with small amounts only!
|
||||
|
||||
@@ -24,11 +51,7 @@ Join our Telegram developer community to discuss, share ideas, and get support:
|
||||
|
||||
## 🆕 What's New (Latest Update)
|
||||
|
||||
### 🚀 Complete System Transformation - Web-Based Configuration!
|
||||
|
||||
NOFX has been **completely transformed** from a static config-based system to a **dynamic web-based trading platform** with **multi-exchange support**!
|
||||
|
||||
#### **Multi-Exchange Support**
|
||||
### 🚀 Multi-Exchange Support!
|
||||
|
||||
NOFX now supports **three major exchanges**: Binance, Hyperliquid, and Aster DEX!
|
||||
|
||||
@@ -36,13 +59,12 @@ NOFX now supports **three major exchanges**: Binance, Hyperliquid, and Aster DEX
|
||||
|
||||
A high-performance decentralized perpetual futures exchange!
|
||||
|
||||
**Major Changes:**
|
||||
- ✅ **Web-Based Configuration**: Create and manage AI traders through a modern web interface
|
||||
- ✅ **Database-Driven Architecture**: SQLite database replaces static JSON configuration
|
||||
- ✅ **Separate AI Models & Exchanges**: Configure AI models and exchanges independently
|
||||
- ✅ **Dynamic Trader Creation**: Create traders by combining configured AI models and exchanges
|
||||
- ✅ **Real-Time Management**: Start/stop traders, update configurations without restart
|
||||
- ✅ **No Default Traders**: Clean slate - create only the traders you need
|
||||
**Key Features:**
|
||||
- ✅ Full trading support (long/short, leverage, stop-loss/take-profit)
|
||||
- ✅ Automatic precision handling (order size & price)
|
||||
- ✅ Unified trader interface (seamless exchange switching)
|
||||
- ✅ Support for both mainnet and testnet
|
||||
- ✅ No API keys needed - just your Ethereum private key
|
||||
|
||||
**New Workflow:**
|
||||
1. **Configure AI Models**: Add your DeepSeek/Qwen API keys through the web interface
|
||||
@@ -96,58 +118,64 @@ A Binance-compatible decentralized perpetual futures exchange!
|
||||
|
||||
---
|
||||
|
||||
## ✨ Core Features
|
||||
## ✨ Current Implementation - Crypto Markets
|
||||
|
||||
### 🎛️ Web-Based Configuration Management
|
||||
- **Dynamic AI Model Setup**: Configure DeepSeek and Qwen API keys through web interface
|
||||
- **Exchange Management**: Set up Binance and Hyperliquid credentials independently
|
||||
- **Flexible Trader Creation**: Mix any AI model with any exchange
|
||||
- **Real-Time Control**: Start/stop traders without system restart
|
||||
NOFX is currently **fully operational in cryptocurrency markets** with the following proven capabilities:
|
||||
|
||||
### 🧠 AI Self-Learning Mechanism (NEW!)
|
||||
- **Historical Feedback**: Analyzes last 20 cycles of trading performance before each decision
|
||||
- **Smart Optimization**:
|
||||
- Identifies best/worst performing coins
|
||||
- Calculates win rate, profit/loss ratio, average profit
|
||||
- Avoids repeating mistakes (consecutive losing coins)
|
||||
### 🏆 Multi-Agent Competition Framework
|
||||
- **Live Agent Battle**: Qwen vs DeepSeek models compete in real-time trading
|
||||
- **Independent Account Management**: Each agent maintains its own decision logs and performance metrics
|
||||
- **Real-time Performance Comparison**: Live ROI tracking, win rate statistics, and head-to-head analysis
|
||||
- **Self-Evolution Loop**: Agents learn from their historical performance and continuously improve
|
||||
|
||||
### 🧠 AI Self-Learning & Optimization
|
||||
- **Historical Feedback System**: Analyzes last 20 trading cycles before each decision
|
||||
- **Smart Performance Analysis**:
|
||||
- Identifies best/worst performing assets
|
||||
- Calculates win rate, profit/loss ratio, average profit in real USDT terms
|
||||
- Avoids repeating mistakes (consecutive losing patterns)
|
||||
- Reinforces successful strategies (high win rate patterns)
|
||||
- **Dynamic Adjustment**: AI autonomously adjusts trading style based on historical performance
|
||||
- **Dynamic Strategy Adjustment**: AI autonomously adapts trading style based on backtest results
|
||||
|
||||
### 📊 Intelligent Market Analysis
|
||||
- **3-minute K-line**: Real-time price, EMA20, MACD, RSI(7)
|
||||
- **4-hour K-line**: Long-term trend, EMA20/50, ATR, RSI(14)
|
||||
- **Open Interest Analysis**: Market sentiment, capital flow judgment
|
||||
- **OI Top Tracking**: Top 20 coins with fastest growing open interest
|
||||
- **AI500 Coin Pool**: Automatic high-score coin screening
|
||||
- **Liquidity Filter**: Auto-filters low liquidity coins (<15M USD position value)
|
||||
### 📊 Universal Market Data Layer (Crypto Implementation)
|
||||
- **Multi-Timeframe Analysis**: 3-minute real-time + 4-hour trend data
|
||||
- **Technical Indicators**: EMA20/50, MACD, RSI(7/14), ATR
|
||||
- **Open Interest Tracking**: Market sentiment, capital flow analysis
|
||||
- **Liquidity Filtering**: Auto-filters low liquidity assets (<15M USD)
|
||||
- **Cross-Exchange Support**: Binance, Hyperliquid, Aster DEX with unified data interface
|
||||
|
||||
### 🎯 Professional Risk Control
|
||||
- **Per-Coin Position Limit**:
|
||||
- Altcoins ≤ 1.5x account equity
|
||||
- BTC/ETH ≤ 10x account equity
|
||||
- **Configurable Leverage** (v2.0.3+):
|
||||
- Set maximum leverage in config.json
|
||||
- Default: 5x for all coins (safe for subaccounts)
|
||||
- Main accounts can increase: Altcoins up to 20x, BTC/ETH up to 50x
|
||||
- ⚠️ Binance subaccounts restricted to ≤5x leverage
|
||||
- **Margin Management**: Total usage ≤90%, AI autonomous decision on usage rate
|
||||
- **Risk-Reward Ratio**: Mandatory ≥1:2 (stop-loss:take-profit)
|
||||
- **Prevent Position Stacking**: No duplicate opening of same coin/direction
|
||||
### 🎯 Unified Risk Control System
|
||||
- **Position Limits**: Per-asset limits (Altcoins ≤1.5x equity, BTC/ETH ≤10x equity)
|
||||
- **Configurable Leverage**: Dynamic leverage from 1x to 50x based on asset class and account type
|
||||
- **Margin Management**: Total usage ≤90%, AI-controlled allocation
|
||||
- **Risk-Reward Enforcement**: Mandatory ≥1:2 stop-loss to take-profit ratio
|
||||
- **Anti-Stacking Protection**: Prevents duplicate positions in same asset/direction
|
||||
|
||||
### 🎨 Professional UI
|
||||
- **Professional Trading Interface**: Binance-style visual design
|
||||
- **Dark Theme**: Classic color scheme (Gold #F0B90B + dark background)
|
||||
- **Real-time Data**: 5-second refresh for accounts, positions, charts
|
||||
- **Equity Curve**: Historical account value trend (USD/percentage toggle)
|
||||
- **Performance Comparison Chart**: Real-time multi-AI ROI comparison
|
||||
- **Smooth Animations**: Fluid hover, transition, and loading effects
|
||||
### ⚡ Low-Latency Execution Engine
|
||||
- **Multi-Exchange API Integration**: Binance Futures, Hyperliquid DEX, Aster DEX
|
||||
- **Automatic Precision Handling**: Smart order size & price formatting per exchange
|
||||
- **Priority Execution**: Close existing positions first, then open new ones
|
||||
- **Slippage Control**: Pre-execution validation, real-time precision checks
|
||||
|
||||
### 📝 Complete Decision Recording
|
||||
- **Chain of Thought**: AI's complete reasoning process (CoT)
|
||||
- **Historical Performance**: Overall win rate, average profit, profit/loss ratio
|
||||
- **Recent Trades**: Last 5 trade details (entry price → exit price → P/L%)
|
||||
- **Coin Statistics**: Per-coin performance (win rate, average P/L)
|
||||
- **JSON Logs**: Complete decision records for post-trade analysis
|
||||
### 🎨 Professional Monitoring Interface
|
||||
- **Binance-Style Dashboard**: Professional dark theme with real-time updates
|
||||
- **Equity Curves**: Historical account value tracking (USD/percentage toggle)
|
||||
- **Performance Charts**: Multi-agent ROI comparison with live updates
|
||||
- **Complete Decision Logs**: Full Chain of Thought (CoT) reasoning for every trade
|
||||
- **5-Second Data Refresh**: Real-time account, position, and P/L updates
|
||||
|
||||
---
|
||||
|
||||
## 🔮 Roadmap - Universal Market Expansion
|
||||
|
||||
Our proven crypto infrastructure is being extended to:
|
||||
|
||||
- **📈 Stock Markets**: US equities, A-shares, Hong Kong stocks
|
||||
- **📊 Futures Markets**: Commodity futures, index futures
|
||||
- **🎯 Options Trading**: Equity options, crypto options
|
||||
- **💱 Forex Markets**: Major currency pairs, cross rates
|
||||
|
||||
**Same architecture. Same agent framework. All markets.**
|
||||
|
||||
---
|
||||
|
||||
@@ -1365,8 +1393,10 @@ Issues and Pull Requests are welcome!
|
||||
|
||||
## 📬 Contact
|
||||
|
||||
- **Twitter/X**: [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
|
||||
### 🐛 Technical Support
|
||||
- **GitHub Issues**: [Submit an Issue](https://github.com/tinkle-community/nofx/issues)
|
||||
- **Developer Community**: [Telegram Group](https://t.me/nofx_dev_community)
|
||||
|
||||
---
|
||||
|
||||
|
||||
32
README.ru.md
32
README.ru.md
@@ -1,15 +1,43 @@
|
||||
# 🤖 NOFX - AI-управляемая система автоматической торговли фьючерсами Binance
|
||||
# 🤖 NOFX - Agentic Trading OS
|
||||
|
||||
[](https://golang.org/)
|
||||
[](https://reactjs.org/)
|
||||
[](https://www.typescriptlang.org/)
|
||||
[](LICENSE)
|
||||
[](https://amber.ac)
|
||||
|
||||
**Языки / Languages:** [English](README.md) | [中文](README.zh-CN.md) | [Українська](README.uk.md) | [Русский](README.ru.md)
|
||||
|
||||
**Официальный Twitter:** [@nofx_ai](https://x.com/nofx_ai)
|
||||
|
||||
---
|
||||
|
||||
Автоматизированная система торговли криптовалютными фьючерсами на базе **DeepSeek/Qwen AI**, поддерживающая **Binance, Hyperliquid и Aster DEX биржи**, **конкуренцию нескольких AI-моделей в реальной торговле**, с полным анализом рынка, принятием решений AI, **механизмом самообучения** и профессиональным веб-интерфейсом мониторинга.
|
||||
## 🚀 Универсальная AI Торговая Операционная Система
|
||||
|
||||
**NOFX** - это **универсальная Agentic Trading OS**, построенная на единой архитектуре. Мы успешно замкнули цикл на криптовалютных рынках: **"Решение Multi-Agent → Единый Контроль Рисков → Исполнение с Низкой Задержкой → Бэктестинг Реальных/Бумажных Счетов"**, и сейчас расширяем этот же технологический стек на **акции, фьючерсы, опционы, форекс и все финансовые рынки**.
|
||||
|
||||
### 🎯 Основные Возможности
|
||||
|
||||
- **Универсальный Слой Данных и Бэктестинга**: Кросс-рыночное, кросс-таймфреймовое, кросс-биржевое единое представление и библиотека факторов, накапливающая переносимую "память стратегий"
|
||||
- **Multi-Agent Самоигра и Самоэволюция**: Стратегии автоматически конкурируют и выбирают лучшие, непрерывно итерируясь на основе PnL на уровне счета и ограничений рисков
|
||||
- **Интегрированное Исполнение и Контроль Рисков**: Маршрутизация с низкой задержкой, песочница проскальзывания/контроля рисков, лимиты на уровне счета, переключение рынков одним кликом
|
||||
|
||||
### 🏢 При поддержке [Amber.ac](https://amber.ac)
|
||||
|
||||
### 👥 Основная Команда
|
||||
|
||||
- **Tinkle** - [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
- **Zack** - [@0x_ZackH](https://x.com/0x_ZackH)
|
||||
|
||||
### 💼 Открыт Посевной Раунд Финансирования
|
||||
|
||||
Мы в настоящее время привлекаем **посевной раунд**.
|
||||
|
||||
**По вопросам инвестиций**, пишите в DM **Tinkle** или **Zack** в Twitter.
|
||||
|
||||
**По вопросам партнерства и сотрудничества**, пишите в DM нашего официального Twitter [@nofx_ai](https://x.com/nofx_ai).
|
||||
|
||||
---
|
||||
|
||||
> ⚠️ **Предупреждение о рисках**: Эта система экспериментальная. Автоматическая торговля с AI несет значительные риски. Настоятельно рекомендуется использовать только для обучения/исследований или тестирования с небольшими суммами!
|
||||
|
||||
|
||||
32
README.uk.md
32
README.uk.md
@@ -1,15 +1,43 @@
|
||||
# 🤖 NOFX - AI-керована система автоматичної торгівлі ф'ючерсами Binance
|
||||
# 🤖 NOFX - Agentic Trading OS
|
||||
|
||||
[](https://golang.org/)
|
||||
[](https://reactjs.org/)
|
||||
[](https://www.typescriptlang.org/)
|
||||
[](LICENSE)
|
||||
[](https://amber.ac)
|
||||
|
||||
**Мови / Languages:** [English](README.md) | [中文](README.zh-CN.md) | [Українська](README.uk.md) | [Русский](README.ru.md)
|
||||
|
||||
**Офіційний Twitter:** [@nofx_ai](https://x.com/nofx_ai)
|
||||
|
||||
---
|
||||
|
||||
Автоматизована система торгівлі криптовалютними ф'ючерсами на базі **DeepSeek/Qwen AI**, що підтримує **Binance, Hyperliquid та Aster DEX біржі**, **змагання кількох AI-моделей у реальній торгівлі**, з повним аналізом ринку, прийняттям рішень AI, **механізмом самонавчання** та професійним веб-інтерфейсом моніторингу.
|
||||
## 🚀 Універсальна AI Торгова Операційна Система
|
||||
|
||||
**NOFX** - це **універсальна Agentic Trading OS**, побудована на єдиній архітектурі. Ми успішно замкнули цикл на криптовалютних ринках: **"Рішення Multi-Agent → Єдиний Контроль Ризиків → Виконання з Низькою Затримкою → Бектестинг Реальних/Паперових Рахунків"**, і зараз розширюємо цей же технологічний стек на **акції, ф'ючерси, опціони, форекс та всі фінансові ринки**.
|
||||
|
||||
### 🎯 Основні Можливості
|
||||
|
||||
- **Універсальний Шар Даних та Бектестингу**: Крос-ринкове, крос-таймфреймове, крос-біржеве єдине представлення та бібліотека факторів, що накопичує переносиму "пам'ять стратегій"
|
||||
- **Multi-Agent Самогра та Самоеволюція**: Стратегії автоматично конкурують і вибирають кращі, безперервно ітеруючись на основі PnL на рівні рахунку та обмежень ризиків
|
||||
- **Інтегроване Виконання та Контроль Ризиків**: Маршрутизація з низькою затримкою, пісочниця прослизання/контролю ризиків, ліміти на рівні рахунку, перемикання ринків одним кліком
|
||||
|
||||
### 🏢 За підтримки [Amber.ac](https://amber.ac)
|
||||
|
||||
### 👥 Основна Команда
|
||||
|
||||
- **Tinkle** - [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
- **Zack** - [@0x_ZackH](https://x.com/0x_ZackH)
|
||||
|
||||
### 💼 Відкритий Посівний Раунд Фінансування
|
||||
|
||||
Ми зараз залучаємо **посівний раунд**.
|
||||
|
||||
**З питань інвестицій**, пишіть в DM **Tinkle** або **Zack** в Twitter.
|
||||
|
||||
**З питань партнерства та співпраці**, пишіть в DM нашого офіційного Twitter [@nofx_ai](https://x.com/nofx_ai).
|
||||
|
||||
---
|
||||
|
||||
> ⚠️ **Попередження про ризики**: Ця система експериментальна. Автоматична торгівля з AI несе значні ризики. Наполегливо рекомендується використовувати лише для навчання/досліджень або тестування з невеликими сумами!
|
||||
|
||||
|
||||
133
README.zh-CN.md
133
README.zh-CN.md
@@ -1,15 +1,43 @@
|
||||
# 🤖 NOFX - AI驱动的币安合约自动交易竞赛系统
|
||||
# 🤖 NOFX - AI交易操作系统
|
||||
|
||||
[](https://golang.org/)
|
||||
[](https://reactjs.org/)
|
||||
[](https://www.typescriptlang.org/)
|
||||
[](LICENSE)
|
||||
[](https://amber.ac)
|
||||
|
||||
**语言 / Languages:** [English](README.md) | [中文](README.zh-CN.md) | [Українська](README.uk.md) | [Русский](README.ru.md)
|
||||
|
||||
**官方推特:** [@nofx_ai](https://x.com/nofx_ai)
|
||||
|
||||
---
|
||||
|
||||
一个基于 **DeepSeek/Qwen AI** 的加密货币期货自动交易系统,支持 **Binance、Hyperliquid和Aster DEX交易所**,**多AI模型实盘竞赛**,具备完整的市场分析、AI决策、**自我学习机制**和专业的Web监控界面。
|
||||
## 🚀 通用AI交易操作系统
|
||||
|
||||
**NOFX** 是通用架构的 **AI交易操作系统(Agentic Trading OS)**。我们已在加密市场打通"**多智能体决策 → 统一风控 → 低延迟执行 → 真实/纸面账户复盘**"的闭环,正按同一技术栈扩展到**股票、期货、期权、外汇等所有市场**。
|
||||
|
||||
### 🎯 核心特性
|
||||
|
||||
- **通用数据与回测层**:跨市场、跨周期、跨交易所统一表示与因子库,沉淀可迁移的"策略记忆"
|
||||
- **多智能体自博弈与自进化**:策略自动对战择优,按账户级 PnL 与风险约束持续迭代
|
||||
- **执行与风控一体化**:低延迟路由、滑点/风控沙箱、账户级限额,一键切换市场
|
||||
|
||||
### 🏢 由 [Amber.ac](https://amber.ac) 背书
|
||||
|
||||
### 👥 核心团队
|
||||
|
||||
- **Tinkle** - [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
- **Zack** - [@0x_ZackH](https://x.com/0x_ZackH)
|
||||
|
||||
### 💼 种子轮融资进行中
|
||||
|
||||
我们正在进行**种子轮融资**。
|
||||
|
||||
**投资咨询**,请通过 Twitter 私信联系 **Tinkle** 或 **Zack**。
|
||||
|
||||
**商务合作**,请私信官方推特 [@nofx_ai](https://x.com/nofx_ai)。
|
||||
|
||||
---
|
||||
|
||||
> ⚠️ **风险提示**:本系统为实验性项目,AI自动交易存在重大风险,强烈建议仅用于学习研究或小额资金测试!
|
||||
|
||||
@@ -90,58 +118,64 @@ NOFX现已支持**三大交易所**:Binance、Hyperliquid和Aster DEX!
|
||||
|
||||
---
|
||||
|
||||
## ✨ 核心特性
|
||||
## ✨ 当前实现 - 加密货币市场
|
||||
|
||||
### 🏆 多AI竞赛模式
|
||||
- **Qwen vs DeepSeek** 实盘对抗
|
||||
- 独立账户管理,独立决策日志
|
||||
- 实时性能对比图表
|
||||
- 收益率PK,胜率统计
|
||||
NOFX 目前已在**加密货币市场全面运行**,具备以下经过验证的能力:
|
||||
|
||||
### 🧠 AI自我学习机制(NEW!)
|
||||
- **历史反馈**: 每次决策前分析最近20个周期的交易表现
|
||||
- **智能优化**:
|
||||
- 识别表现最佳/最差币种
|
||||
- 计算胜率、盈亏比、平均盈利
|
||||
- 避免重复错误(连续亏损的币种)
|
||||
- 强化成功策略(高胜率的交易模式)
|
||||
- **动态调整**: AI根据历史表现自主调整交易风格
|
||||
### 🏆 多智能体竞赛框架
|
||||
- **实时智能体对战**:Qwen vs DeepSeek 模型实时交易竞赛
|
||||
- **独立账户管理**:每个智能体维护独立的决策日志和性能指标
|
||||
- **实时性能对比**:实时 ROI 追踪、胜率统计、正面对抗分析
|
||||
- **自进化循环**:智能体从历史表现中学习,持续改进
|
||||
|
||||
### 📊 智能市场分析
|
||||
- **3分钟K线**: 实时价格、EMA20、MACD、RSI(7)
|
||||
- **4小时K线**: 长期趋势、EMA20/50、ATR、RSI(14)
|
||||
- **持仓量分析**: 市场情绪、资金流向判断
|
||||
- **OI Top追踪**: 持仓量增长最快的20个币种
|
||||
- **AI500币种池**: 高评分币种自动筛选
|
||||
- **流动性过滤**: 自动过滤持仓价值<15M USD的低流动性币种
|
||||
### 🧠 AI 自学习与优化
|
||||
- **历史反馈系统**:每次决策前分析最近 20 个交易周期
|
||||
- **智能性能分析**:
|
||||
- 识别表现最佳/最差资产
|
||||
- 计算胜率、盈亏比、以真实 USDT 计的平均盈利
|
||||
- 避免重复错误(连续亏损模式)
|
||||
- 强化成功策略(高胜率模式)
|
||||
- **动态策略调整**:AI 根据回测结果自主调整交易风格
|
||||
|
||||
### 🎯 专业风险控制
|
||||
- **单币种仓位上限**:
|
||||
- 山寨币 ≤ 1.5倍账户净值
|
||||
- BTC/ETH ≤ 10倍账户净值
|
||||
- **可配置杠杆** (v2.0.3+):
|
||||
- 在config.json中设置最大杠杆
|
||||
- 默认:所有币种5倍(子账户安全)
|
||||
- 主账户可增加:山寨币最高20倍,BTC/ETH最高50倍
|
||||
- ⚠️ 币安子账户限制≤5倍杠杆
|
||||
- **保证金管理**: 总使用率≤90%,AI自主决策使用率
|
||||
- **风险回报比**: 强制≥1:2(止损:止盈)
|
||||
- **防止仓位叠加**: 同币种同方向不允许重复开仓
|
||||
### 📊 通用市场数据层(加密货币实现)
|
||||
- **多时间框架分析**:3分钟实时 + 4小时趋势数据
|
||||
- **技术指标**:EMA20/50、MACD、RSI(7/14)、ATR
|
||||
- **持仓量追踪**:市场情绪、资金流向分析
|
||||
- **流动性过滤**:自动过滤低流动性资产(<15M USD)
|
||||
- **跨交易所支持**:Binance、Hyperliquid、Aster DEX,统一数据接口
|
||||
|
||||
### 🎨 风格UI
|
||||
- **专业交易界面**: 视觉设计
|
||||
- **暗色主题**: 经典配色(金色#F0B90B + 深色背景)
|
||||
- **实时数据**: 5秒刷新账户、持仓、图表
|
||||
- **收益率曲线**: 账户净值历史走势(美元/百分比切换)
|
||||
- **性能对比图**: 多AI收益率实时对比
|
||||
- **动画效果**: 流畅的hover、过渡、加载动画
|
||||
### 🎯 统一风控系统
|
||||
- **仓位限制**:单资产限制(山寨币≤1.5x净值,BTC/ETH≤10x净值)
|
||||
- **可配置杠杆**:根据资产类别和账户类型动态调整 1x 到 50x
|
||||
- **保证金管理**:总使用率≤90%,AI 控制分配
|
||||
- **风险回报强制执行**:强制≥1:2 的止损止盈比
|
||||
- **防叠加保护**:防止同一资产/方向的重复仓位
|
||||
|
||||
### 📝 完整决策记录
|
||||
- **思维链记录**: AI的完整推理过程(CoT)
|
||||
- **历史表现**: 整体胜率、平均盈利、盈亏比
|
||||
- **最近交易**: 最近5笔交易详情(开仓价→平仓价→盈亏%)
|
||||
- **币种统计**: 各币种表现(胜率、平均盈亏)
|
||||
- **JSON日志**: 每次决策完整记录,便于复盘分析
|
||||
### ⚡ 低延迟执行引擎
|
||||
- **多交易所 API 集成**:Binance Futures、Hyperliquid DEX、Aster DEX
|
||||
- **自动精度处理**:每个交易所智能订单大小和价格格式化
|
||||
- **优先级执行**:先平仓现有持仓,再开新仓
|
||||
- **滑点控制**:执行前验证,实时精度检查
|
||||
|
||||
### 🎨 专业监控界面
|
||||
- **币安风格仪表板**:专业暗色主题,实时更新
|
||||
- **净值曲线**:历史账户价值追踪(USD/百分比切换)
|
||||
- **性能图表**:多智能体 ROI 对比,实时更新
|
||||
- **完整决策日志**:每笔交易的完整思维链(CoT)推理
|
||||
- **5秒数据刷新**:实时账户、持仓和盈亏更新
|
||||
|
||||
---
|
||||
|
||||
## 🔮 路线图 - 通用市场扩展
|
||||
|
||||
我们经过验证的加密货币基础设施正在扩展到:
|
||||
|
||||
- **📈 股票市场**:美股、A股、港股
|
||||
- **📊 期货市场**:商品期货、指数期货
|
||||
- **🎯 期权交易**:股票期权、加密期权
|
||||
- **💱 外汇市场**:主要货币对、交叉盘
|
||||
|
||||
**相同架构。相同智能体框架。所有市场。**
|
||||
|
||||
---
|
||||
|
||||
@@ -1310,8 +1344,9 @@ MIT License - 详见 [LICENSE](LICENSE) 文件
|
||||
|
||||
## 📬 联系方式
|
||||
|
||||
- **Twitter/X**: [@Web3Tinkle](https://x.com/Web3Tinkle)
|
||||
### 🐛 技术支持
|
||||
- **GitHub Issues**: [提交Issue](https://github.com/tinkle-community/nofx/issues)
|
||||
- **开发者社区**: [Telegram群组](https://t.me/nofx_dev_community)
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user