[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81583":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":15,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":32,"discoverSource":33},81583,"forex-trading-ai-agent","datagridSolution\u002Fforex-trading-ai-agent","datagridSolution","forex trading ai agent with forex trading bot in forex cex exchange forex trading ai","https:\u002F\u002Fwww.forex.com\u002Fen\u002F",null,"TypeScript",25,136,23,2,0,6.41,"MIT License",false,"main",true,[23,24,25,26,27,28],"ai-trading","forex","forex-agent","forext-ai-trading","trading-agent","trading-bot","2026-06-12 02:04:17","# K.I.T. - Knight Industries Trading\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F🎬_POWERED_BY-TRADERLIFESTYLE_ON_YT-red?style=for-the-badge&labelColor=black\" alt=\"Powered by TraderLifestyle\"\u002F>\n\u003C\u002Fp>\n\n\u003Ch3 align=\"center\">\n  ⭐ POWERED BY \u003Ca href=\"https:\u002F\u002Fyoutube.com\u002F@TraderLifestyle\">TRADERLIFESTYLE ON YOUTUBE\u003C\u002Fa> ⭐\n\u003C\u002Fh3>\n\n---\n\n**Fork:** This tree is maintained by [datagridSolution](https:\u002F\u002Fgithub.com\u002FdatagridSolution\u002Fforex-trading-ai-agent). Upstream lineage traces to the K.I.T. project referenced in `package.json` history.\n\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-MIT-yellow.svg)](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT)\n[![Node.js](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-%3E%3D18.0.0-brightgreen)](https:\u002F\u002Fnodejs.org)\n[![TypeScript](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-5.3-blue.svg)](https:\u002F\u002Fwww.typescriptlang.org\u002F)\n[![PRs Welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\n> **Your Autonomous AI Financial Agent** 🤖💰\n\nK.I.T. is your **personal AI trading agent** - like having a professional trader working for you 24\u002F7. Just tell it what you want, and it handles everything else.\n\n```\n\"One man can make a difference... especially with proper position sizing.\"\n   - K.I.T.\n```\n\n---\n\n## 🚀 One-Line Installation\n\n### Windows (CMD)\n\n```cmd\ncd C:\\ && git clone https:\u002F\u002Fgithub.com\u002Fkayzaa\u002Fk.i.t.-bot.git && cd k.i.t.-bot && npm install && npm run build && npm link && kit start\n```\n\n### Linux \u002F macOS\n\n```bash\ncd ~ && git clone https:\u002F\u002Fgithub.com\u002Fkayzaa\u002Fk.i.t.-bot.git && cd k.i.t.-bot && npm install && npm run build && sudo npm link && kit start\n```\n\n**That's it!** Dashboard opens automatically at `http:\u002F\u002Flocalhost:18799\u002F`\n\nAfter installation, use `kit` from anywhere:\n\n```cmd\nkit start       # Start gateway + dashboard\nkit --help      # Show all commands\n```\n\n---\n\n## 🎯 Two Ways to Use K.I.T.\n\n### 1️⃣ As Your Personal AI Trader (No Coding!)\n\nJust install, connect, and chat. K.I.T. does the rest.\n\n```bash\nkit start                    # Start K.I.T.\nkit connect binance          # Connect exchange\nkit connect telegram         # Connect Telegram\n# Done! Chat with K.I.T. via Telegram\n```\n\n**K.I.T. can:**\n- 📊 Trade autonomously based on your goals\n- 💬 Understand natural language (\"Buy BTC when RSI below 30\")\n- 📡 Copy signals from Telegram channels automatically\n- 🔔 Alert you about important market events\n- 📈 Analyze any market on request\n- 🛡️ Manage risk automatically\n\n### 2️⃣ As a Framework for Developers\n\nBuild your own trading bots, apps, and services.\n\n```typescript\nimport { createBot } from 'kit';\nconst bot = createBot({ exchange: 'binance', strategy: 'rsi' });\nbot.start();\n```\n\n👉 See [Developer SDK](docs\u002Fdevelopers\u002Fsdk.md)\n\n---\n\n## 🚀 Quick Start\n\n### Install\n\n```bash\n# Clone repository\ngit clone https:\u002F\u002Fgithub.com\u002Fkayzaa\u002Fk.i.t.-bot.git\ncd k.i.t.-bot\n\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Start\nnpm start\n```\n\n### Initialize\n\n```bash\n# Interactive setup wizard\nkit init\n\n# Or start with demo mode (no API keys needed!)\nkit init --demo\n```\n\n### Start Trading\n\n```bash\n# Start the Gateway\nkit gateway start\n\n# Check your portfolio\nkit portfolio\n\n# Analyze a pair\nkit analyze BTC\u002FUSDT\n\n# Execute your first trade (demo mode)\nkit trade buy BTC\u002FUSDT 100 --demo\n```\n\n**That's it!** 🎉 K.I.T. is running.\n\n---\n\n## ✨ Features\n\n| Feature | Description |\n|---------|-------------|\n| 🤖 **Autonomous Trading** | Trades 24\u002F7\u002F365 across all markets |\n| 📊 **Portfolio Management** | Unified view across all exchanges |\n| 📈 **Technical Analysis** | RSI, MACD, Bollinger, MA, and more |\n| 🛡️ **Risk Management** | Stop-loss, position sizing, daily limits |\n| ⏮️ **Backtesting** | Test strategies with historical data |\n| 🔔 **Alerts** | Price, indicator, and portfolio alerts |\n| 📰 **News Integration** | Sentiment analysis and event tracking |\n| 💬 **Multi-Channel** | Control via Telegram, Discord, CLI |\n| 🛠️ **Developer SDK** | Build your own trading bots & apps |\n| 📜 **Pine Script Generator** | Create TradingView indicators & strategies |\n| 👥 **Social Trading** | Copy signals from bots & top traders |\n| 🐦 **Twitter Integration** | Auto-post signals & analysis to Twitter\u002FX |\n\n---\n\n## 💰 Supported Markets\n\n| Market | Exchanges\u002FBrokers | Status |\n|--------|------------------|--------|\n| 🪙 **Crypto** | Binance, Kraken, Coinbase, OKX, Bybit | ✅ Ready |\n| 💱 **Forex** | MetaTrader 4\u002F5, RoboForex, IC Markets, OANDA, Pepperstone, XM | ✅ Ready |\n| 📈 **Stocks** | Interactive Brokers, Alpaca | 🚧 Beta |\n| 🏦 **DeFi** | Uniswap, Aave, Lido | 📋 Planned |\n\n---\n\n## 🆕 New Skills\n\n### 📜 TradingView Script Generator\n\nGenerate Pine Script v5 code for TradingView from simple descriptions:\n\n```bash\n# Generate RSI indicator\nkit pine indicator --type rsi --name \"My RSI\"\n\n# Generate MA crossover strategy\nkit pine strategy --name \"MA Cross\" --indicators \"ema:9,ema:21\" --entry \"cross_above\" --exit \"cross_below\"\n\n# Generate from description\nkit pine describe \"Create a strategy that buys when RSI is below 30\"\n```\n\n**Features:**\n- Natural language → Pine Script conversion\n- Indicator templates (RSI, MACD, Bollinger, EMA)\n- Strategy templates with TP\u002FSL\n- Auto-generate K.I.T. webhook alerts\n\n👉 See [TradingView Script Skill](skills\u002Ftradingview-script\u002FSKILL.md)\n\n---\n\n### 👥 Social Trading\n\nCopy trades from signal providers, Telegram bots, and top traders:\n\n```bash\n# Add a signal source\nkit social add telegram @CryptoSignalsVIP\n\n# List sources\nkit social sources\n\n# View performance\nkit social stats\n```\n\n**Supported Sources:**\n- 📱 Telegram channels & bots\n- 💬 Discord servers\n- 🐦 Twitter\u002FX accounts\n- 🔗 Custom webhooks\n- 📊 Binance Copy Trading\n\n**Features:**\n- Universal signal parser (multiple formats)\n- Risk-adjusted position sizing\n- Duplicate detection\n- Performance tracking per source\n\n👉 See [Social Trading Skill](skills\u002Fsocial-trading\u002FSKILL.md)\n\n---\n\n### 🐦 Twitter Posting\n\nAutomatically share signals and analysis on Twitter\u002FX:\n\n```bash\n# Post a signal\nkit twitter signal BTC\u002FUSDT LONG 45000 --tp 47000 --sl 44000\n\n# Post analysis\nkit twitter analysis ETH\u002FUSDT --timeframe 4H\n\n# Post custom tweet\nkit twitter post \"Market update...\" --image chart.png\n```\n\n**Auto-Post Features:**\n- 📈 Trading signals with charts\n- 📊 Technical analysis summaries\n- 📅 Daily\u002Fweekly performance reports\n- ⚠️ Market alerts\n\n**Safety:**\n- Rate limiting (max posts per hour\u002Fday)\n- Content validation\n- Automatic disclaimer inclusion\n\n👉 See [Twitter Posting Skill](skills\u002Ftwitter-posting\u002FSKILL.md)\n\n---\n\n## 🛠️ 66 Professional Skills\n\nK.I.T. comes packed with **66 trading skills** - your complete trading arsenal!\n\n### 🤖 AI & Analysis (8)\n| Skill | Description |\n|-------|-------------|\n| `ai-predictor` | ML price predictions (LSTM, XGBoost) |\n| `ai-screener` | AI market screening |\n| `sentiment-analyzer` | Social\u002Fnews sentiment |\n| `market-analysis` | 50+ technical indicators |\n| `news-tracker` | Breaking news alerts |\n| `quant-engine` | Factor models & alpha |\n| `order-flow` | Market microstructure |\n| `correlation-matrix` | Asset correlations |\n\n### 📈 Trading (12)\n| Skill | Description |\n|-------|-------------|\n| `auto-trader` | Autonomous trading |\n| `smart-router` | TWAP\u002FVWAP execution |\n| `smart-order-router` | Best execution routing |\n| `signal-copier` | Copy trading signals |\n| `options-trader` | Options with Greeks |\n| `binary-options` | Binary options analysis |\n| `stock-trader` | Stock trading |\n| `paper-trading` | Risk-free practice |\n| `twap-bot` | Time-weighted execution |\n| `session-timer` | Market sessions |\n| `lot-size-calculator` | Position sizing |\n| `pip-calculator` | Forex pip values |\n\n### 🔄 Automation (10)\n| Skill | Description |\n|-------|-------------|\n| `grid-bot` | Grid trading |\n| `leveraged-grid` | Margin grid trading |\n| `trailing-grid` | Dynamic trailing grids |\n| `dca-bot` | Dollar cost averaging |\n| `task-scheduler` | Schedule any task |\n| `alert-system` | Price\u002Findicator alerts |\n| `multi-condition-alerts` | Complex alert logic |\n| `signal-bot` | Generate & broadcast |\n| `rebalancer` | Portfolio rebalancing |\n| `portfolio-rebalancer` | Advanced rebalancing |\n\n### ⚡ Arbitrage (5)\n| Skill | Description |\n|-------|-------------|\n| `arbitrage-finder` | Cross-exchange arb |\n| `arbitrage-hunter` | Aggressive hunting |\n| `spot-futures-arb` | Cash & carry |\n| `funding-rate-arb` | Perp funding capture |\n| `liquidity-monitor` | Depth tracking |\n\n### 🌐 DeFi (5)\n| Skill | Description |\n|-------|-------------|\n| `defi-connector` | Protocol integration |\n| `defi-dashboard` | DeFi portfolio |\n| `defi-yield` | Yield farming optimizer |\n| `debank-aggregator` | DeBank data |\n| `wallet-connector` | Multi-wallet |\n\n### 📡 Social (6)\n| Skill | Description |\n|-------|-------------|\n| `social-trading` | Social copy trading |\n| `copy-trader` | Copy specific traders |\n| `whale-tracker` | Large wallet tracking |\n| `twitter-posting` | Auto-post signals |\n| `social-feed` | Trading feed |\n| `kitbot-forum` | Community integration |\n\n### 🛡️ Risk & Tax (6)\n| Skill | Description |\n|-------|-------------|\n| `tax-calculator` | FIFO\u002FLIFO tax calc |\n| `tax-tracker` | Trade tax tracking |\n| `risk-calculator` | Position risk |\n| `risk-ai` | AI risk analysis |\n| `compliance` | Regulatory checks |\n| `prop-firm-manager` | Funded accounts |\n\n### 💰 Portfolio (8)\n| Skill | Description |\n|-------|-------------|\n| `portfolio-tracker` | Multi-exchange view |\n| `performance-report` | Trading metrics |\n| `trade-journal` | Trading diary |\n| `backtester` | Strategy testing |\n| `dividend-manager` | Dividend tracking |\n| `multi-asset` | Multi-asset portfolio |\n| `economic-calendar` | Economic events |\n| `payment-processor` | Crypto payments |\n\n### 🔗 Connectors (6)\n| Skill | Description |\n|-------|-------------|\n| `exchange-connector` | Universal exchange API |\n| `metatrader` | MT4\u002FMT5 integration |\n| `etoro-connector` | eToro integration |\n| `tradingview-script` | Pine Script generator |\n| `tradingview-webhook` | Alert receiver |\n| `tradingview-realtime` | Real-time data |\n\n👉 **[Full Skills Documentation](docs\u002FSKILLS.md)**\n\n---\n\n## 🏗️ Architecture\n\n```\nkit\u002F\n├── gateway\u002F              # The Brain\n│   ├── server.ts         # WebSocket Gateway\n│   ├── autopilot.ts      # Autonomous Decision Engine\n│   ├── scheduler.ts      # Task Automation\n│   └── skill-loader.ts   # Plugin System\n│\n├── skills\u002F               # Modular Capabilities\n│   ├── exchange-connector\u002F   # Exchange APIs\n│   ├── portfolio-tracker\u002F    # Holdings & P&L\n│   ├── alert-system\u002F         # Price Alerts\n│   ├── market-analysis\u002F      # Technical Analysis\n│   ├── auto-trader\u002F          # Strategy Execution\n│   ├── metatrader\u002F           # MT4\u002FMT5 Integration\n│   ├── signal-copier\u002F        # Copy Trading\n│   ├── backtester\u002F           # Historical Testing\n│   ├── tradingview-script\u002F   # Pine Script Generator 🆕\n│   ├── social-trading\u002F       # Social Copy Trading 🆕\n│   └── twitter-posting\u002F      # Twitter Integration 🆕\n│\n├── workspace\u002F            # Your Agent's Home\n│   ├── SOUL.md           # K.I.T.'s Personality\n│   ├── AGENTS.md         # Trading Instructions\n│   └── TOOLS.md          # Your Configuration\n│\n└── cli\u002F                  # Command Line Interface\n```\n\n---\n\n## 🎯 Operating Modes\n\n### 1. Manual Mode (Training Wheels)\nEvery trade requires your approval. K.I.T. suggests, you decide.\n\n```bash\nkit autopilot disable\n```\n\n### 2. Semi-Auto Mode (Co-Pilot)\nSmall trades execute automatically. Large or risky trades need approval.\n\n```bash\nkit autopilot enable --mode semi-auto\nkit autopilot threshold 500  # Auto-approve trades under $500\n```\n\n### 3. Full-Auto Mode (Autopilot)\nK.I.T. takes full control. You get daily reports. It handles the rest.\n\n```bash\nkit autopilot enable --mode full-auto\n```\n\n---\n\n## 🔧 CLI Commands\n\n### Gateway\n```bash\nkit gateway start       # Start the Gateway\nkit gateway stop        # Stop the Gateway\nkit gateway status      # Check status\n```\n\n### Portfolio\n```bash\nkit portfolio           # Portfolio summary\nkit portfolio pnl       # P&L analysis\n```\n\n### Trading\n```bash\nkit trade buy \u003Cpair> \u003Camount>    # Buy\nkit trade sell \u003Cpair> \u003Camount>   # Sell\nkit trade positions              # Open positions\n```\n\n### Analysis\n```bash\nkit analyze \u003Cpair>               # Full analysis\nkit market \u003Cpair>                # Price & volume\n```\n\n---\n\n## 🛡️ Safety & Risk Management\n\n### Built-in Protections\n\n| Protection | Default | Description |\n|------------|---------|-------------|\n| Max Daily Loss | 5% | Stop trading after 5% daily loss |\n| Max Drawdown | 15% | Emergency stop at 15% from peak |\n| Max Position | 10% | No single position > 10% of portfolio |\n\n### Kill Switch\n\n```bash\nkit trade kill  # Instantly close all positions\n```\n\n---\n\n## 👨‍💻 Developer SDK\n\nK.I.T. is not just a trading bot - it's a **framework**!\n\n```typescript\nimport { createBot, RSIStrategy } from 'kit';\n\n\u002F\u002F Create your own bot in 10 lines\nconst bot = createBot({\n  name: 'MyBot',\n  exchange: 'binance',      \u002F\u002F or: kraken, mt5, roboforex...\n  pair: 'BTC\u002FUSDT',\n  strategy: new RSIStrategy(),\n  risk: { stopLoss: 0.02, takeProfit: 0.04 },\n});\n\nbot.start();\n```\n\n**What you can build:**\n- 🤖 Trading Bots (Grid, DCA, Arbitrage, Signal Copier)\n- 📱 Telegram\u002FDiscord Bots\n- 🌐 Web Dashboards\n- 📊 Portfolio Trackers\n- 🔔 Alert Systems\n- 📡 Signal Services\n\n👉 **[Full SDK Documentation](docs\u002Fdevelopers\u002Fsdk.md)**\n\n---\n\n## 📝 Examples\n\nSee the [examples\u002F](examples\u002F) folder:\n\n- `basic-bot.ts` - Simple trading bot\n- `signal-copier-example.ts` - Copy signals from Telegram\n- `portfolio-tracker-example.ts` - Track portfolio across exchanges\n- `tradingview-script-example.ts` - Generate Pine Script indicators & strategies 🆕\n- `social-trading-example.ts` - Copy trades from bots & signal providers 🆕\n- `twitter-posting-example.ts` - Auto-post signals & analysis to Twitter 🆕\n\n---\n\n## 🤝 Contributing\n\nWe welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n```bash\n# Fork & clone\ngit clone https:\u002F\u002Fgithub.com\u002FYOUR_USERNAME\u002Fk.i.t.-bot.git\ncd k.i.t.-bot\n\n# Install dependencies\nnpm install\n\n# Run tests\nnpm test\n\n# Development mode\nnpm run dev\n```\n\n---\n\n## ⚠️ Disclaimer\n\nK.I.T. is a **tool**, not financial advice. Trading involves risk.\n\n- ⚠️ Always start with paper\u002Fdemo trading\n- ⚠️ Never risk more than you can afford to lose\n- ⚠️ Past performance doesn't guarantee future results\n- ⚠️ You are responsible for your own financial decisions\n\n---\n\n## 📄 License\n\n[MIT License](LICENSE) - Build something amazing!\n\n---\n\n\u003Cp align=\"center\">\n  \u003Cb>K.I.T. - Because your wealth deserves an AI that never sleeps.\u003C\u002Fb> 🌙\n\u003C\u002Fp>\n\n---\n\n\u003Ch2 align=\"center\">\n  🎬 POWERED BY \u003Ca href=\"https:\u002F\u002Fyoutube.com\u002F@TraderLifestyle\">TRADERLIFESTYLE ON YOUTUBE\u003C\u002Fa> 🎬\n\u003C\u002Fh2>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fyoutube.com\u002F@TraderLifestyle\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FYouTube-TraderLifestyle-red?style=for-the-badge&logo=youtube\" alt=\"TraderLifestyle YouTube\"\u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fkayzaa\u002Fk.i.t.-bot\">GitHub\u003C\u002Fa> •\n  \u003Ca href=\"QUICKSTART.md\">Quick Start\u003C\u002Fa> •\n  \u003Ca href=\"CHANGELOG.md\">Changelog\u003C\u002Fa> •\n  \u003Ca href=\"https:\u002F\u002Fyoutube.com\u002F@TraderLifestyle\">YouTube\u003C\u002Fa>\n\u003C\u002Fp>\n","K.I.T. 是一个个人AI交易代理，旨在为用户提供24\u002F7的自动化外汇交易服务。该项目采用TypeScript编写，支持通过自然语言指令执行交易策略、自动复制Telegram频道信号、实时市场分析及风险管理等功能。适用于希望简化交易流程或提高交易效率的个人投资者和开发者。此外，对于有编程基础的用户，K.I.T.还提供了一个框架，允许定制化开发更复杂的交易应用程序。","2026-06-06 04:06:55","CREATED_QUERY"]