freshcrate
Skin:/
Home > AI Agents > ATS

ATS

An AI-driven hybrid algorithmic trading bot that dynamically switches between mean-reversion and trend-following strategies based on market regimes, powered by Google Gemini.

Why this rank:Release freshnessHealthy release cadenceStrong adoption

Description

An AI-driven hybrid algorithmic trading bot that dynamically switches between mean-reversion and trend-following strategies based on market regimes, powered by Google Gemini.

README

๐Ÿš€ ATS-Xeon: AI-Driven Hybrid Algorithmic Trading System

ATS-Xeon์€ ๊ฑฐ์‹œ ๊ฒฝ์ œ์˜ '๋‚ ์”จ'๋ฅผ ์Šค์Šค๋กœ ํŒŒ์•…ํ•˜์—ฌ ์ตœ์ ์˜ ๋งค๋งค ๋ฌด๊ธฐ๋ฅผ ์ž๋™์œผ๋กœ ์Šค์œ„์นญํ•˜๊ณ , ์Šค์Šค๋กœ์˜ ์ „๋žต ์ง€์นจ์„ ์ง„ํ™”์‹œํ‚ค๋Š” ์ฐจ์„ธ๋Œ€ ์™„์ „ ์ž๋™ํ™” ํ•˜์ด๋ธŒ๋ฆฌ๋“œ(Hybrid) ํŠธ๋ ˆ์ด๋”ฉ ์—”์ง„์ž…๋‹ˆ๋‹ค. ๊ธฐ์ˆ ์  ๋ถ„์„(TA)์˜ ์ •๋ฐ€ํ•จ๊ณผ Google Gemini AI์˜ ๊ณ ๋„ํ™”๋œ ์ „๋žต ์ˆ˜๋ฆฝ ๋Šฅ๋ ฅ์„ ๊ฒฐํ•ฉํ•˜์—ฌ, ์ธ๊ฐ„์˜ ๊ฐœ์ž… ์—†๋Š” ์ž์œจ ๋งค๋งค๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.


๐Ÿ—๏ธ System Architecture

ATS-Xeon์€ ๋ณ‘๋ ฌ ๋น„๋™๊ธฐ(Asyncio) ๊ตฌ์กฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์‹œ์ƒ ์ƒํ™ฉ์— ๋”ฐ๋ผ ์œ ์—ฐํ•˜๊ฒŒ ๋Œ€์‘ํ•ฉ๋‹ˆ๋‹ค.

graph TD
    A[Market Data Ingestion] --> B{Regime Detection}
    B -- Fear/Dip --> C[Classic Mode]
    B -- Greed/Trend --> D[Quantum Mode]
    
    C & D --> E[Python 1st Filter: Multi-Weights Scoring]
    E --> F[MTF Validation: 1H/4H Trend Check]
    F --> G[AI Final Approval: Gemini + RAG Context]
    
    G -- Approved --> H[Order Execution]
    H --> I[Risk Management: Trailing SL / Breakeven Lock]
    
    J[Websocket: CVD & Surge Detection] --> E
    K[09:00 Auto-Evolution] --> G
Loading

๐Ÿง  Core Philosophy: The Dual-Engine System

์ƒ์ถฉํ•˜๋Š” ์‹œ์žฅ ํ™˜๊ฒฝ์—์„œ ์ˆ˜์ต์„ ๊ทน๋Œ€ํ™”ํ•˜๊ธฐ ์œ„ํ•ด, ๊ณตํฌ/ํƒ์š• ์ง€์ˆ˜(FGI)์™€ ๋น„ํŠธ์ฝ”์ธ์˜ ๋‹จ๊ธฐ ์ถ”์„ธ๋ฅผ ๋ถ„์„ํ•˜์—ฌ ์ „๋žต์„ ์ž๋™ ์ „ํ™˜ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ›ก๏ธ 1. CLASSIC Mode (Deep Dip Sniper)

  • ๋ฐœ๋™ ์กฐ๊ฑด: FGI 35 ์ดํ•˜ (๊ณตํฌ์žฅ) ๋˜๋Š” ๋น„ํŠธ์ฝ”์ธ ๋‹จ๊ธฐ ํ•˜๋ฝ์„ธ.
  • ์ž‘์ „ ์ฒ ํ•™: ๊ทน๋‹จ์  ๊ณผ๋งค๋„ ๊ตฌ๊ฐ„(RSI ์ €์  ๋“ฑ)์—์„œ์˜ ๊ธฐ์ˆ ์  ๋ฐ˜๋“ฑ์„ ์ •๋ฐ€ ํƒ€๊ฒฉํ•ฉ๋‹ˆ๋‹ค.

๐Ÿš€ 2. QUANTUM Mode (Trend Breakout)

  • ๋ฐœ๋™ ์กฐ๊ฑด: FGI 65 ์ด์ƒ (ํƒ์š•์žฅ) ๋˜๋Š” ๋น„ํŠธ์ฝ”์ธ ๋‹จ๊ธฐ ์ƒ์Šน์„ธ.
  • ์ž‘์ „ ์ฒ ํ•™: ๊ฐ•๋ ฅํ•œ ์ €ํ•ญ์„  ๋ŒํŒŒ ๋ฐ ๋ชจ๋ฉ˜ํ…€ ์ง€์† ๊ตฌ๊ฐ„์„ ์ถ”์ข…ํ•˜์—ฌ ์ˆ˜์ต์„ ๊ทน๋Œ€ํ™”ํ•ฉ๋‹ˆ๋‹ค.

โœจ Advanced Infrastructure & Features

๐Ÿ“ก Real-time Intelligence

  • CVD (Cumulative Volume Delta) Tracking: ์‹ค์‹œ๊ฐ„ ๋งค์ˆ˜/๋งค๋„ ์ฒด๊ฒฐ๋Ÿ‰์„ ๋ˆ„์ ํ•˜์—ฌ ์„ธ๋ ฅ์˜ ์ง„์ž… ๊ฐ•๋„๋ฅผ ์„ ํ–‰ ์ง€ํ‘œ๋กœ ํ™œ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • BTC Surge Trigger: ๋น„ํŠธ์ฝ”์ธ์˜ 1๋ถ„ ๋‚ด ๊ฒฉ๋ณ€(+1.5%) ๊ฐ์ง€ ์‹œ ์ฆ‰์‹œ ์ „ ์ข…๋ชฉ ๋”ฅ์Šค์บ”์„ ๊ธฐ๋™ํ•ฉ๋‹ˆ๋‹ค.
  • RAG (Retrieval-Augmented Generation): ๊ณผ๊ฑฐ์˜ '์ตœ๋Œ€ ์ˆ˜์ต' ๋ฐ '๋ผˆ์•„ํ”ˆ ์†์‹ค' ์‚ฌ๋ก€๋ฅผ AI๊ฐ€ ๊ธฐ์–ตํ•˜์—ฌ ๋™์ผํ•œ ์‹ค์ˆ˜๋ฅผ ๋ฐฉ์ง€ํ•ฉ๋‹ˆ๋‹ค.
  • Dynamic FGI Scorer: ๊ณตํฌ/ํƒ์š• ์ง€์ˆ˜์— ๋”ฐ๋ผ ๋ณด์กฐ์ง€ํ‘œ ๊ฐ€์ค‘์น˜๋ฅผ ๋น„์„ ํ˜•(Quadratic)์œผ๋กœ ์ž๋™ ์กฐ์ ˆํ•˜์—ฌ ์‹œ์žฅ ํ™˜๊ฒฝ์— ์ตœ์ ํ™”๋œ ์ ์ˆ˜๋ฅผ ์‚ฐ์ถœํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ”ฉ Robust Backend Control

  • Slippage Protection: AI ์Šน์ธ ์ „ ์˜ค๋”๋ถ(ํ˜ธ๊ฐ€์ฐฝ)์˜ ๋‘๊ป˜๋ฅผ ์‹ค์‹œ๊ฐ„ ๋ถ„์„ํ•˜์—ฌ, ์ง„์ž… ์‹œ ๋ฐœ์ƒํ•  ๊ฐ€๊ฒฉ ๋ฐ€๋ฆผ์„ ์˜ˆ์ธกํ•˜๊ณ  ๊ฑฐ๋ž˜๋Ÿ‰์ด ๋ถ€์กฑํ•œ ์ข…๋ชฉ์„ ํ•„ํ„ฐ๋งํ•ฉ๋‹ˆ๋‹ค.
  • Wait-and-Queue Scan Lock: ์ž๋™ ์Šค์บ”๊ณผ ์ˆ˜๋™ ๋ช…๋ น์–ด ๊ฐ„์˜ ์ถฉ๋Œ์„ ๋ฐฉ์ง€ํ•˜๋ฉฐ, ์ž‘์—…์ด ๊ฒน์น  ๊ฒฝ์šฐ ์ทจ์†Œ๊ฐ€ ์•„๋‹Œ '์ˆœ์ฐจ ๋Œ€๊ธฐ' ํ›„ ์‹คํ–‰์„ ๋ณด์žฅํ•ฉ๋‹ˆ๋‹ค.
  • Global API Semaphore: ์ดˆ๋‹น API ํ˜ธ์ถœ ์ˆ˜๋ฅผ 10๊ฐœ๋กœ ์ œํ•œํ•˜์—ฌ ์—…๋น„ํŠธ์˜ 429(Rate Limit) ์ฐจ๋‹จ์„ ์™„๋ฒฝ ๋ฐฉ์–ดํ•ฉ๋‹ˆ๋‹ค.
  • Tier-based Adaptive Control: ์ฝ”์ธ์˜ ๋ณ€๋™์„ฑ๊ณผ ์‹œ์ด์— ๋”ฐ๋ผ Major / High-Vol / Mid-Vol 3๋‹จ๊ณ„๋กœ ๋ถ„๋ฅ˜ํ•˜์—ฌ ์†์ ˆ์„ ๊ณผ ํƒ€์ž„์•„์›ƒ์„ ์œ ๋™์ ์œผ๋กœ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค.

๐Ÿงฌ Self-Evolution System

  • 09:00 AI Evolution: ๋งค์ผ ์•„์นจ ์ „์ผ ๊ฑฐ๋ž˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ณต๊ธฐํ•˜์—ฌ exit_plan_guideline ํ”„๋กฌํ”„ํŠธ๋ฅผ ์ž๋™์œผ๋กœ ์žฌ์ž‘์„ฑ ๋ฐ ์ง„ํ™”์‹œํ‚ต๋‹ˆ๋‹ค.
  • 4H Self-Optimization: 4์‹œ๊ฐ„ ๋‹จ์œ„ ์Šน๋ฅ  ๋ณ€ํ™”๋ฅผ ์ถ”์ ํ•˜์—ฌ ์†์ ˆ์„ , ๊ฐ€์ค‘์น˜ ๋“ฑ ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ์‹ค์‹œ๊ฐ„ ํŠœ๋‹ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ› ๏ธ Maintenance & Safety

  • Watchdog ๊ฐ์‹œ: ๋ฉ”์ธ ๋ฃจํ”„์™€ ์›น์†Œ์ผ“์˜ ์ƒ์กด ์—ฌ๋ถ€๋ฅผ 1๋ถ„ ๋‹จ์œ„๋กœ ์ฒดํฌํ•˜์—ฌ ์ด์ƒ ์‹œ ์ฆ‰์‹œ ํ…”๋ ˆ๊ทธ๋žจ ์•Œ๋ฆผ์„ ๋ฐœ์†กํ•ฉ๋‹ˆ๋‹ค.
  • Log Management: 10MB ๋‹จ์œ„ ๋กœ๊น… ๋ฐ 3์ผ ์ด์ƒ ๊ฒฝ๊ณผ๋œ ๊ตฌํ˜• ๋กœ๊ทธ ํŒŒ์ผ ์ž๋™ ํด๋ฆฐ์—… ๊ธฐ๋Šฅ์„ ๊ฐ–์ถ”๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
  • Dual Config System: config_classic.json๊ณผ config_quantum.json์„ ํ†ตํ•ด ๋ชจ๋“œ๋ณ„ ๋…๋ฆฝ์ ์ธ ์ „๋žต ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
  • Buffered I/O (DB Flush): ๋ชจ๋“  ๊ฑฐ๋ž˜ ๋ฐ์ดํ„ฐ๋Š” ๋ฉ”๋ชจ๋ฆฌ์— ์ž„์‹œ ์ €์žฅ๋œ ํ›„ 0.5์ดˆ๋งˆ๋‹ค ์ผ๊ด„ ์ €์žฅ๋˜์–ด ๋””์Šคํฌ I/O๋กœ ์ธํ•œ ์—”์ง„ ์ง€์—ฐ์„ ์ตœ์†Œํ™”ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“ฑ Telegram Control Center

  • /๋ณด๊ณ  : ์ž์‚ฐ ํ˜„ํ™ฉ, ๋ˆ„์  ์ˆ˜์ต, ํ˜„์žฌ ์—”์ง„ ๋ชจ๋“œ ์‹ค์‹œ๊ฐ„ ๋ธŒ๋ฆฌํ•‘
  • /์ ์ˆ˜ : ๊ฐ์‹œ ์ข…๋ชฉ๋“ค์˜ ํŽ€๋”๋ฉ˜ํƒˆ ์ ์ˆ˜ ๋ฐ ํ•˜๋“œ๋ฝ(๐Ÿ’€) ์—ฌ๋ถ€ ํ™•์ธ
  • /์‹œ์ž‘ / /์ •์ง€ : ๋งค๋งค ์—”์ง„ ๊ฐ€๋™ ๋ฐ ์ผ์‹œ ์ค‘๋‹จ
  • /๋งค์ˆ˜ : ๊ฐ•์ œ ์ •๋ฐ€ ๋”ฅ์Šค์บ” 1ํšŒ ์ฆ‰์‹œ ๊ธฐ๋™ (๋ฐฉ์–ด๋ง‰ ๋ฌด์‹œ)
  • /๋งค๋„ : ๋ณด์œ  ์ „ ์ข…๋ชฉ ์‹œ์žฅ๊ฐ€ ๊ธด๊ธ‰ ์ „๋Ÿ‰ ์ฒญ์‚ฐ
  • /์ตœ์ ํ™” : ์ตœ๊ทผ ํผํฌ๋จผ์Šค ๊ธฐ๋ฐ˜ AI ์ „๋žต ์ˆ˜๋™ ์ตœ์ ํ™”

๐Ÿš€ Installation

  1. ํ™˜๊ฒฝ ๊ตฌ์ถ•:
    pip install pyupbit pandas_ta websockets google-genai aiosqlite requests
  2. ์„ค์ •: config_classic.json ๋ฐ config_quantum.json์— API ํ‚ค์™€ ํ…”๋ ˆ๊ทธ๋žจ ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
  3. ์‹คํ–‰:
    python ATS_Xeon.py

โš ๏ธ Disclaimer: ๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜ ํŠธ๋ ˆ์ด๋”ฉ ์—ฐ๊ตฌ ๋ชฉ์ ์œผ๋กœ ๊ฐœ๋ฐœ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์‹ค์ œ ๋งค๋งค ์‹œ ๋ฐœ์ƒํ•˜๋Š” ๋ชจ๋“  ๊ธˆ์ „์  ์†์‹ค์— ๋Œ€ํ•œ ์ฑ…์ž„์€ ์‚ฌ์šฉ์ž ๋ณธ์ธ์—๊ฒŒ ์žˆ์Šต๋‹ˆ๋‹ค.

Release History

VersionChangesUrgencyDate
main@2026-05-04Latest activity on main branchHigh5/4/2026
0.0.0No release found โ€” using repo HEADHigh4/9/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

ComfyUI-LoaderUtils๐Ÿ”„ Optimize model loading in ComfyUI with flexible node connections and controlled sequences for better performance and memory management.main@2026-06-06
ai-trading-agent๐Ÿค– Build and optimize an AI trading agent using JavaScript for efficient and intelligent trading decisions on financial markets.main@2026-06-05
AgentQuantAutonomous quantitative trading research platform that transforms stock lists into fully backtested strategies using AI agents, real market data, and mathematical formulations, all without requiring amain@2026-05-30
swing-trading-agentMulti-agent swing trading system โ€” automated screening, research, and execution with backtesting and live tradingmain@2026-05-15
Paper2Slides๐Ÿ“Š Transform research papers into professional slides and posters seamlessly and quickly with Paper2Slides, saving you valuable time.main@2026-06-06

More from lhc5407

MOPA local LLM-based autonomous agent orchestration platform featuring async background tasks, context-isolated sub-agents, dynamic knowledge injection, and strict security approval gates (Plan Mode).

More in AI Agents

@blockrun/franklinFranklin โ€” The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.
hermes-agentThe agent that grows with you
awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
e2bE2B SDK that give agents cloud environments