K.I.T. Documentation
Welcome to the official documentation for K.I.T. (Knight Industries Trading) - your autonomous AI financial agent for automated trading.
🚀 New to K.I.T.?
Start with the Quick Start Guide to get trading in under 5 minutes.
Installation
K.I.T. can be installed globally using npm (Node Package Manager). Ensure you have Node.js 18 or higher installed on your system.
System Requirements
- Node.js: Version 18.0.0 or higher
- Operating System: Windows 10+, macOS 10.15+, or Linux
- RAM: Minimum 4GB (8GB recommended)
- Internet: Stable connection required for trading
Install via npm
npm install -g kit-trading
Verify Installation
kit --version
sudo or configure npm to use a different directory.
Quick Start Guide
Get K.I.T. up and running in three simple steps:
Step 1: Install K.I.T.
npm install -g kit-trading
Step 2: Configure Your API Keys
kit config
# Follow the interactive prompts to add your exchange API keys
Step 3: Start Trading
kit start
That's it! K.I.T. will now monitor markets and execute trades based on your configured strategies.
Configuration
K.I.T. uses a configuration file to store your settings, API keys, and trading preferences.
Configuration File Location
| Operating System | Location |
|---|---|
| Windows | %APPDATA%\kit-trading\config.json |
| macOS | ~/.config/kit-trading/config.json |
| Linux | ~/.config/kit-trading/config.json |
Example Configuration
{
"exchanges": {
"binance": {
"apiKey": "YOUR_API_KEY",
"secretKey": "YOUR_SECRET_KEY",
"testnet": false
}
},
"trading": {
"skills": ["trend-following", "rsi", "macd"],
"riskPerTrade": 2,
"maxOpenPositions": 5
},
"notifications": {
"telegram": {
"enabled": true,
"botToken": "YOUR_BOT_TOKEN",
"chatId": "YOUR_CHAT_ID"
}
}
}
Binance Integration
K.I.T. supports Binance for cryptocurrency trading, including both spot and futures markets.
Setting Up Binance API
- Log in to your Binance account
- Navigate to API Management
- Create a new API key with trading permissions
- Copy your API Key and Secret Key
- Run
kit config binanceand paste your keys
MetaTrader 5 Integration
Trade forex and CFDs through MetaTrader 5 with K.I.T.'s MT5 integration module.
Requirements
- MetaTrader 5 terminal installed
- MT5 account with a supported broker
- Python 3.8+ (for MT5 bridge)
kit config mt5
# Enter your MT5 account details when prompted
BinaryFaster Integration
K.I.T. integrates with BinaryFaster for binary options trading with automated signal execution.
kit config binaryfaster
# Enter your BinaryFaster API credentials
Telegram Integration
Control K.I.T. and receive trade notifications through Telegram.
Setting Up Telegram Bot
- Message @BotFather on Telegram
- Send
/newbotand follow the prompts - Copy your bot token
- Get your chat ID by messaging your bot
- Run
kit config telegram
Available Commands
| Command | Description |
|---|---|
| /status | View current bot status |
| /balance | Check account balances |
| /positions | View open positions |
| /start | Start trading |
| /stop | Stop trading |
| /report | Get performance report |
Trading Skills
K.I.T. comes with 37+ built-in trading strategies called "skills". Each skill can be enabled or disabled based on your preferences.
Available Skills
| Skill | Type | Description |
|---|---|---|
| trend-following | Trend | Follows market trends using moving averages |
| mean-reversion | Counter-trend | Trades price reversions to mean |
| momentum | Momentum | Trades based on price momentum |
| rsi | Oscillator | RSI overbought/oversold signals |
| macd | Momentum | MACD crossover strategy |
| bollinger | Volatility | Bollinger Bands breakout strategy |
| pattern-recognition | ML | AI pattern detection |
| hybrid-ml | ML | Combined ML strategies |
Enabling Skills
kit skills enable trend-following rsi macd
kit skills disable momentum
Risk Management
K.I.T. includes robust risk management features to protect your capital.
Key Features
- Position Sizing: Automatically calculates position size based on risk percentage
- Stop-Loss: Automatic stop-loss placement for every trade
- Take-Profit: Configurable take-profit levels
- Max Drawdown: Stops trading if daily loss exceeds threshold
- Max Open Positions: Limits concurrent positions
kit config risk
# Configure risk parameters interactively
Portfolio Tracking
Track your entire portfolio across all connected exchanges with real-time performance metrics.
kit portfolio
# View current portfolio status
kit report daily
# Generate daily performance report
API Reference
K.I.T. exposes a REST API for programmatic control. By default, it runs on port 3000.
GET /api/status - Get bot status
GET /api/balance - Get account balances
GET /api/positions - Get open positions
POST /api/start - Start trading
POST /api/stop - Stop trading
Troubleshooting
Common Issues
API Key Invalid
Ensure your API keys are correct and have the necessary permissions (trading, withdrawal if needed).
Connection Errors
Check your internet connection and firewall settings. Ensure the exchange API is accessible from your network.
Insufficient Balance
Ensure you have sufficient funds in your trading account and that position sizing is configured correctly.
For more help, visit our GitHub Issues or join the Telegram community.