AI-driven crypto trading system with LLM market analysis, multi-source data aggregation, and on-chain token-gated access tiers.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β NEXUS ECOSYSTEM β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββ ββββββββββββββββ βββββββββββββββββββββββββ β
β β WEBSITE β β $NEXUS β β AI TRADING BOT β β
β β Landing βββββΆβ ERC-20 βββββΆβ DeepSeek Engine β β
β β + Docs β β Token β β Binance Futures β β
β ββββββββββββββββ ββββββββββββββββ βββββββββββββββββββββββββ β
β β β β
β βΌ βΌ β
β ββββββββββββββββ βββββββββββββββββββββββββ β
β β Staking β β Multi-Source Data β β
β β Rewards β β Price Β· OI Β· Funding β β
β β + Tiers β β Sentiment Β· News β β
β ββββββββββββββββ βββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
The core engine. Runs autonomous analysis cycles using DeepSeek as the decision layer.
| Module | Purpose |
|---|---|
main.py |
Entry point β scheduler, lifecycle, signal handling |
ai_engine.py |
DeepSeek integration β structured JSON decisions (LONG/SHORT/WAIT) |
trader.py |
Execution logic β position sizing, SL/TP, max position limits |
data_fetcher.py |
Multi-source aggregation β exchange, CoinGlass, CryptoPanic, Fear & Greed |
exchange.py |
CCXT wrapper β Binance Futures (testnet + mainnet), order management |
telegram_bot.py |
Real-time alerts β trade signals, P&L updates, error notifications |
token_verifier.py |
On-chain tier verification β reads $NEXUS balance for access gating |
config.py |
Environment-based configuration β all params via .env |
Data Pipeline:
Exchange (OHLCV, Ticker, Orderbook)
+ CoinGlass (Funding Rate, Open Interest, Liquidations)
+ CryptoPanic (News Sentiment)
+ Alternative.me (Fear & Greed Index)
+ Technical Indicators (RSI, MACD, Bollinger, ATR via `ta`)
β
βΌ
DeepSeek Analysis β JSON { decision, confidence, SL/TP, risk_level }
β
βΌ
Execution (confidence β₯ 70%) β Binance Futures Order
β
βΌ
Telegram Alert β Position Monitoring β Auto SL/TP
Risk Controls:
- Confidence threshold (skip if < 70%)
- Max concurrent positions
- Per-trade position sizing (% of balance)
- Automatic stop-loss & take-profit
- Dry run mode for paper trading
- Sell cooldown enforcement
NexusToken.sol β ERC-20 with built-in economic mechanics:
| Feature | Detail |
|---|---|
| Supply | 1,000,000,000 $NEXUS |
| Buy Tax | 2% β Liquidity + Staking |
| Sell Tax | 3% β Liquidity + Staking + Burn |
| Max Wallet | 2% of supply (anti-whale) |
| Max TX | 1% of supply |
| Sell Cooldown | 1 hour between sells |
| Anti-Bot | First 3 blocks blacklisted |
| Burn | Deflationary on every sell |
NexusStaking.sol β Stake-to-earn with tier integration:
| Feature | Detail |
|---|---|
| Base APY | 10% |
| Compound | Manual claim + restake |
| Early Withdraw | 10% penalty if < 7 days |
| Tier Boost | Higher stake β higher bot tier |
| Security | ReentrancyGuard + SafeERC20 |
Both contracts use OpenZeppelin 5.x (ERC20, Ownable, ReentrancyGuard, SafeERC20).
| Tier | $NEXUS Required | Bot Features |
|---|---|---|
| Free | 0 | Telegram signals (15 min delay) |
| Bronze | 10,000 | Real-time signals + 1 trading pair |
| Silver | 50,000 | + 5 pairs + auto-trade testnet |
| Gold | 200,000 | + Unlimited pairs + auto-trade live |
| Diamond | 1,000,000 | + Private API + priority execution + VIP support |
Verification is on-chain: token_verifier.py reads wallet balance via RPC and maps it to tier.
| Layer | Technology |
|---|---|
| AI Engine | DeepSeek Chat API (structured JSON output) |
| Exchange | CCXT β Binance Futures (testnet / mainnet) |
| Data | CoinGlass API, CryptoPanic, Alternative.me |
| Indicators | ta library (RSI, MACD, Bollinger, ATR, OBV) |
| Scheduling | APScheduler (configurable interval) |
| Logging | Loguru (console + daily rotating file) |
| Alerts | Telegram Bot API |
| Contracts | Solidity 0.8.20 + OpenZeppelin 5.x |
| Deployment | Hardhat (Base, BSC, Arbitrum, Polygon, Avalanche) |
| Frontend | Vanilla HTML/CSS/JS |
# Clone
git clone https://github.com/conditional-team/NEXUS-2026.git
cd NEXUS-2026
# Bot
cd bot
pip install -r requirements.txt
cp .env.example .env # Add DeepSeek + Binance keys
python main.py # Starts in dry-run mode
# Contracts
cd ../contracts
npm install
npx hardhat compile
npx hardhat run scripts/deploy.js --network baseNEXUS-2026/
βββ bot/ # AI Trading Bot (Python)
β βββ main.py # Entry point + scheduler
β βββ ai_engine.py # DeepSeek LLM integration
β βββ trader.py # Trade execution + risk management
β βββ data_fetcher.py # Multi-source data aggregation
β βββ exchange.py # CCXT Binance Futures wrapper
β βββ telegram_bot.py # Telegram alert system
β βββ token_verifier.py # On-chain tier verification
β βββ config.py # Environment configuration
β βββ requirements.txt # Python dependencies
β
βββ contracts/ # Smart Contracts (Solidity)
β βββ NexusToken.sol # ERC-20 β taxes, anti-whale, burn
β βββ NexusStaking.sol # Staking β rewards, penalties, tiers
β βββ hardhat.config.js # Multi-chain deployment config
β βββ scripts/deploy.js # Deployment script
β
βββ website/ # Landing Page
β βββ index.html
β βββ style.css
β βββ script.js
β
βββ NEXUS_MASTERPLAN.md # Internal roadmap & tokenomics
βββ LICENSE # Proprietary
Proprietary β All Rights Reserved. See LICENSE.
NEXUS AI β Autonomous Intelligence for Digital Markets