Skip to content

Qbandev/stbchef

Repository files navigation

Simple Crypto Trading Bot Chef

Overview

A web dashboard that compares multiple AI models (Gemini 2 Flash, Groq DeepSeek-R1, Mistral Medium) for crypto-trading accuracy and lets you execute ETH ↔ USDC swaps directly from the browser via KyberSwap.

Live demohttps://stbchef.onrender.com/

Key Features

1 · AI Trading Analysis

• Real-time buy / sell / hold signals from three LLMs.
• Raw accuracy + weighted performance score.
• History & 24-h activity heat-maps.

2 · Portfolio & Market Data

• Live ETH price / volume, gas fees, Fear-&-Greed index.
• Automatic imbalance detection and swap suggestions.

3 · One-click Swaps (Kyber)

• Supports Ethereum main-net (chain 1) and Linea (59144).
• ETH ↔ USDC with slippage control, route auto-selection.
• Gas estimation & pre-flight balance checks.

4 · Wallet Integration

• MetaMask connection with persistent session.
• Network badge & balance refresh.
• Browser notifications for important signals.

Tech Stack

Front-end only:

  • Flask back-end for static serving & small helper APIs.
  • Tailwind CSS UI + Chart.js charts.
  • Ethers v5 & Web3.js for wallet / RPC access.
  • KyberSwap Aggregator API for on-chain execution (no Solidity).

Quick Start

# 1.  Install deps
make setup        # install Python deps via Poetry

# 2.  Add API keys
cp .env.example .env
#   └── fill GEMINI_API_KEY / GROQ_API_KEY / MISTRAL_API_KEY

# 3.  Launch dev server
make start        # http://localhost:8080

Environment Variables (.env)

# API Keys (NO QUOTES AROUND VALUES)
LINEASCAN_API_KEY=
ETHERSCAN_API_KEY=
GEMINI_API_KEY=
GROQ_API_KEY=
MISTRAL_API_KEY=

These are the only secrets required – no RPC URLs or private keys.

Documentation

See the detailed project docs in the docs/ folder:

License

This project is licensed under the PolyForm Strict License 1.0.0.


Built with ❤️ for AI and Crypto enthusiasts

About

Simple Trading Bot Chef

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •