Introduction
K.I.T. (Knight Industries Trading) is an autonomous AI-powered trading agent designed to manage your portfolio 24/7. With 37+ built-in trading skills and natural language control, K.I.T. brings professional-grade trading automation to everyone.
"Your wealth is my mission." — K.I.T. is designed with one goal: to help you grow and protect your financial assets using cutting-edge AI technology.
Installation
Requirements
- Python 3.9 or higher
- pip (Python package manager)
- Git
- 4GB RAM minimum (8GB recommended)
Step 1: Clone the Repository
# Clone K.I.T. from GitHub
git clone https://github.com/kayzaa/k.i.t.-bot.git
cd k.i.t.-bot
Step 2: Install Dependencies
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Install requirements
pip install -r requirements.txt
Step 3: Run Setup Wizard
python kit.py --setup
The setup wizard will guide you through initial configuration including API keys and risk preferences.
Configuration
K.I.T. uses a config.yaml file for configuration. The setup wizard creates this automatically, but you can also edit it manually:
# config.yaml example
kit:
name: "K.I.T."
mode: "paper" # paper or live
risk:
max_position_size: 0.1 # 10% of portfolio
stop_loss: 0.02 # 2% stop loss
daily_loss_limit: 0.05 # 5% max daily loss
exchanges:
binance:
api_key: "your-api-key"
api_secret: "your-api-secret"
.env file.
Quick Start
Once installed and configured, start K.I.T. with:
# Start in paper trading mode (safe for testing)
python kit.py
# Start in live trading mode
python kit.py --live
# View all available commands
python kit.py --help
Trading Skills
K.I.T. comes with 37+ pre-built trading skills organized into categories:
- Trend Following: MA Crossover, MACD, ADX, Parabolic SAR
- Mean Reversion: Bollinger Bands, RSI, Keltner Channel
- Momentum: Breakout, Volume Surge, Gap Trading
- AI/ML: Sentiment Analysis, Pattern Recognition, Price Prediction
Skills can be enabled/disabled individually or combined for multi-strategy trading.
Exchange Setup
K.I.T. supports 20+ exchanges including:
- Binance / Binance US
- Coinbase Pro
- Kraken
- KuCoin
- Bybit
- And many more...
API keys should have read and trade permissions only. Never enable withdrawal permissions.
Risk Management
K.I.T. includes comprehensive risk management:
- Position Sizing: Automatic calculation based on account size and risk tolerance
- Stop-Loss: Automatic stop-loss placement on every trade
- Circuit Breakers: Trading halts if daily loss limit is reached
- Exposure Limits: Maximum allocation per asset and sector
Custom Strategies
Create custom trading strategies by extending the base Strategy class:
from kit.strategies import BaseStrategy
class MyStrategy(BaseStrategy):
name = "my_custom_strategy"
def analyze(self, data):
# Your analysis logic here
signal = self.calculate_signal(data)
return signal
def execute(self, signal):
# Your execution logic here
if signal.is_buy:
self.open_position(signal)
API Reference
Full API documentation is available on GitHub:
View API Reference →Troubleshooting
Common Issues
Q: K.I.T. won't connect to my exchange
A: Check your API keys and ensure they have the correct permissions. Some exchanges require IP whitelisting.
Q: Trades aren't executing
A: Make sure you're in live mode (--live flag) and have sufficient balance. Check the logs for specific errors.
Q: High CPU usage
A: Reduce the number of active trading pairs or increase the analysis interval in config.