🔍 CryptoLens란?
CryptoLens는 AI가 실시간으로 시장을 분석하고 매매 시그널을 제공하는 암호화폐 트레이딩 분석 서비스입니다.
- AI가 기술적 분석과 시장 심리를 종합하여 매매 신호 생성
- ADX 지표로 추세장/횡보장 자동 판별
- 사용자 설정에 따라 주기적으로 분석 신호 전달
- 실시간 뉴스 분석 및 Fear & Greed Index 반영
🏗️ 시스템 구조
CryptoLens는 API 키 보안과 책임 소재를 명확히 하기 위해 다음과 같이 설계되었습니다.
🤖
CryptoLens 서버
AI 분석 & 신호 생성
(API Key 미저장)
⬆️ 분석 요청
⬇️
신호 결과 전달
👤
사용자 기기
API Key 저장
(암호화, 로컬 전용)
신호 수신 → 주문 실행
→
주문 실행
🔐 핵심 보안 원칙
- API Key는 사용자 기기에만 저장 — 서버는 키를 저장하지 않습니다
- 주문은 사용자 기기에서 직접 실행 — 서버는 신호만 전달
- 오직 조회 + 선물 매매 권한만 허용 — 그 외 권한 감지 시 실행 거부
📈 매매 전략 설명
⚙️ 아래 전략은 사용자 CONFIG 설정에 따라 조정됩니다. 손절%, TP배수, 트레일링 비율 등을 직접 설정할 수 있습니다.
1. AI 신호 생성 과정
1
데이터 수집
5분/30분/4시간 캔들
RSI, MACD, ADX
Fear & Greed Index
2
AI 분석
GPT-4o 기반
기술적 분석
시장 심리 종합
3
신호 출력
LONG / SHORT / WAIT
신뢰도 (60~85%)
분석 근거
4
주문 실행
자동매매 ON 시
설정값에 따라
Binance 주문
2. 진입 조건
- 신뢰도 임계값 — AI 신호 신뢰도가 설정값(기본 70%) 이상일 때만 진입
- 쿨다운 — 이전 거래 후 설정 시간(기본 180초) 대기
- ADX 필터 — 추세 강도에 따라 추세장/횡보장 자동 판별
3. 손절/익절 전략
기본 설정값 (CONFIG에서 조정 가능):
- 손절 (SL): 진입가 대비 0.9%
- 익절 (TP): 손절 × 2.0배 = 1.8%
- 3단계 분할 익절: 33% → 33% → 34% 순차 청산
- 1단계 익절 (Stage 1) — TP 1배 도달 시 33% 청산, 손절가를 진입가로 이동
- 2단계 익절 (Stage 2) — TP 1.5배 도달 시 33% 추가 청산
- 3단계 익절 (Stage 3) — TP 2배 도달 시 34% 최종 청산 또는 트레일링 스탑 전환
4. 트레일링 스탑
3단계 익절 후 남은 수량에 대해 트레일링 스탑이 적용됩니다.
트레일링 계산 (TP 거리 기반):
- TP 거리 = 손절% × TP배수 (예: 0.9% × 2.0 = 1.8%)
- 트레일링 거리 = TP 거리 × 30% (예: 1.8% × 0.3 = 0.54%)
- 최고점(LONG) 또는 최저점(SHORT) 대비 0.54% 되돌림 시 청산
5. 리버스 (포지션 전환)
- 현재 포지션 반대 방향으로 강한 신호 발생 시
- 신뢰도가 리버스 임계값(기본 80%) 이상이면 즉시 포지션 전환
🧠 AI 강화학습 트레이딩
CryptoLens는 딥러닝 강화학습(Deep Reinforcement Learning)을 통해 스스로 매매 전략을 학습하는 AI를 개발하고 있습니다.
AlphaZero에서 영감을 받은 접근
알파고는 인간의 바둑 기보를 학습했지만, 알파제로는 규칙만 알고 스스로 대국하며 학습하여 알파고를 넘어섰습니다. 우리도 같은 철학입니다 — 사람이 정한 매매 규칙 대신, AI가 시장 데이터만으로 최적의 매매 타이밍과 전략을 스스로 발견합니다.
학습 시스템 구조
1
시장 관찰
RSI, 볼린저밴드, ADX
다중 타임프레임 추세
변동성, 거래량 등
17개 시장 지표
2
AI 판단
DQN 신경망이
12가지 행동 중 선택
롱/숏/그리드/관망
사람 개입 없음
3
결과 학습
수익 → 보상
손실 → 페널티
수수료도 반영
실전과 동일 환경
4
무한 반복
560일 실제 데이터
매번 다른 시장 노이즈
24시간 백그라운드 학습
끊임없이 진화
AI가 스스로 결정하는 것들
- 언제 진입할지 — 추세장인지 횡보장인지, 지금이 적기인지 AI가 판단
- 어떤 전략을 쓸지 — 트렌드 매매 vs 그리드 매매를 시장 상태에 맞게 선택
- 손절/익절 거리 — 타이트(1%)부터 와이드(4%)까지, 변동성에 맞는 최적값 탐색
- 그리드 간격 — 좁은 간격(빠른 회전) vs 넓은 간격(큰 변동 대응)을 자동 결정
- 언제 빠질지 — 포지션 유지 vs 조기 청산 vs 그리드 종료 시점 판단
오버피팅 방지 기술
같은 데이터를 외우는 것이 아니라 진짜 시장 원리를 학습하도록 설계했습니다.
- 프라이스 노이즈 — 매 학습마다 가격에 미세 변동을 추가해 매번 다른 시장 경험
- 파라미터 랜덤화 — 손절/익절/그리드 설정값을 범위 내에서 무작위로 변경
- 커리큘럼 학습 — 상승장, 하락장, 급등장, 횡보장을 순환하며 모든 시장에 대응
현재 학습 현황
학습 통계 (실시간 업데이트 중)
- 학습 데이터: 560일간 BTC 5분봉 161,280개 ($59K ~ $126K ~ $71K)
- 누적 학습량: 8,500만+ 스텝, 9+ 라운드 완료
- 백테스트 성과: 풀사이클 +70%, 승률 57%
- 학습 방식: 24시간 백그라운드 무한 학습, 10분마다 최신 모델 자동 반영
📌 주의사항
- CryptoLens는 투자 조언을 제공하지 않습니다.
- 주기적인 BTC 시장분석과 시그널만 제공합니다.
- 투자 방법을 추천하지 않으며, 시뮬레이션 정보만 드립니다.
- 모든 매매 결정과 그에 따른 손익은 사용자 본인의 책임입니다.
- 암호화폐 거래는 높은 위험을 수반하며, 투자금 전액을 잃을 수 있습니다.
- BTC 시장을 공부하고 테스트 용도로 소액만 ($300 ~ $1,000) 사용하시기 바랍니다.
- 설정 금액 초과 시 자동 차단됩니다.
🔍 What is CryptoLens?
CryptoLens is an AI-powered crypto trading analysis service that analyzes the market in real-time and provides trading signals.
- AI generates trading signals combining technical analysis and market sentiment
- Automatic trend/ranging market detection using ADX indicator
- Periodic signal delivery based on user configuration
- Real-time news analysis and Fear & Greed Index integration
🏗️ System Architecture
CryptoLens is designed with clear API key security and liability boundaries.
🤖
CryptoLens Server
AI Analysis & Signals
(No API Key Storage)
⬆️ Analysis Request
⬇️
Signal Response
👤
User Device
API Key Storage
(Encrypted, Local Only)
Receive Signal → Execute Order
→
Order Execution
🏦
Binance
Direct execution
on user's account
🔐 Key Security Principles
- API Keys stored only on user's device — Server never stores keys
- Orders executed directly from user's device — Server only delivers signals
- Only Read + Futures Trading permissions allowed — Other permissions detected = execution refused
📈 Trading Strategy Explained
⚙️ The strategies below are adjusted by your CONFIG settings. You can customize SL%, TP multiplier, trailing ratio, and more.
1. AI Signal Generation Process
1
Data Collection
5m/30m/4h Candles
RSI, MACD, ADX
Fear & Greed Index
2
AI Analysis
GPT-4o Based
Technical Analysis
Market Sentiment
3
Signal Output
LONG / SHORT / WAIT
Confidence (60~85%)
Analysis Reasoning
4
Order Execution
When Auto-trade ON
Based on Config
Binance Order
2. Entry Conditions
- Confidence Threshold — Only enter when AI signal confidence is above threshold (default 70%)
- Cooldown — Wait for configured time (default 180s) after previous trade
- ADX Filter — Auto-detect trending vs ranging market based on trend strength
3. Stop-Loss / Take-Profit Strategy
Default Settings (Adjustable in CONFIG):
- Stop-Loss (SL): 0.9% from entry price
- Take-Profit (TP): SL × 2.0 = 1.8%
- 3-Stage Partial TP: 33% → 33% → 34% sequential close
- Stage 1 TP — Close 33% at TP 1x, move SL to entry (breakeven)
- Stage 2 TP — Close 33% more at TP 1.5x
- Stage 3 TP — Close final 34% at TP 2x or switch to trailing stop
4. Trailing Stop
After Stage 3 TP, trailing stop is applied to remaining position.
Trailing Calculation (Based on TP Distance):
- TP Distance = SL% × TP Multiplier (e.g., 0.9% × 2.0 = 1.8%)
- Trailing Distance = TP Distance × 30% (e.g., 1.8% × 0.3 = 0.54%)
- Close when price retraces 0.54% from highest (LONG) or lowest (SHORT)
5. Reverse (Position Flip)
- When strong signal in opposite direction of current position
- If confidence exceeds Reverse Threshold (default 80%), immediately flip position
🧠 AI Reinforcement Learning Trading
CryptoLens is developing an AI that learns trading strategies on its own through Deep Reinforcement Learning (DRL).
Inspired by AlphaZero
AlphaGo learned from human Go games, but AlphaZero knew only the rules and learned by playing itself, surpassing AlphaGo. We follow the same philosophy — instead of human-defined trading rules, our AI discovers optimal trading timing and strategies from raw market data alone.
Learning System Architecture
1
Market Observation
RSI, Bollinger Bands, ADX
Multi-timeframe trends
Volatility, Volume, etc.
17 Market Indicators
2
AI Decision
DQN Neural Network
selects from 12 actions
Long/Short/Grid/Wait
No human intervention
3
Learn from Results
Profit → Reward
Loss → Penalty
Fees included
Same as live environment
4
Infinite Iteration
560 days of real data
Different market noise each time
24/7 background training
Continuously evolving
What the AI Decides on Its Own
- When to enter — AI judges whether it's a trending or ranging market, and if now is the right time
- Which strategy to use — Selects trend trading vs grid trading based on market conditions
- SL/TP distance — Finds optimal values from tight (1%) to wide (4%) based on volatility
- Grid spacing — Automatically decides narrow (fast rotation) vs wide (large move coverage)
- When to exit — Judges position hold vs early close vs grid termination timing
Overfitting Prevention
Designed to learn real market principles, not memorize the same data.
- Price Noise — Adds micro-variations to prices each training cycle for different market experiences
- Parameter Randomization — SL/TP/Grid settings randomly varied within ranges
- Curriculum Learning — Cycles through bull, bear, spike, and sideways markets to handle all conditions
Current Training Status
Training Statistics (Continuously Updating)
- Training Data: 560 days of BTC 5-min candles — 161,280 candles ($59K ~ $126K ~ $71K)
- Total Training: 85M+ steps, 9+ rounds completed
- Backtest Performance: Full-cycle +70%, Win rate 57%
- Training Method: 24/7 background training, latest model auto-applied every 10 minutes
📌 Caution
- CryptoLens does not provide investment advice.
- We only provide periodic BTC market analysis and signals.
- We do not recommend investment methods — only simulation information is provided.
- All trading decisions and resulting profits or losses are entirely your responsibility.
- Cryptocurrency trading involves significant risk, and you may lose your entire investment.
- Use this as a learning tool with small amounts only ($300 ~ $1,000) for testing purposes.
- Amounts exceeding your configured limit will be automatically blocked.