Frequently Asked Questions
Quick answers to the most common questions about HypeTrade.
Credits & Billing
Every HypeTrade subscription includes a monthly allotment of credits:
- Standard: 50 credits/month
- Pro: 200 credits/month
- Trial: 10 credits (one-time)
Credits are used for backtesting and AI analysis. They refill automatically at the start of each billing cycle. Your balance is tracked in real time on the Account tab.
Backtest credit cost depends on how many symbols you test and the lookback period:
Formula: base + (0.2 × lookback_days)
- Single/multi symbol: base = number of symbols selected
- "All Symbols": base = 50 (Standard) or 25 (Pro — discounted!)
- Day fee: 0.2 credits per lookback day
Examples:
- 1 symbol, 7 days = 1 + 1.4 = 2.4 credits
- 5 symbols, 3 days = 5 + 0.6 = 5.6 credits
- All symbols, 7 days (Pro) = 25 + 1.4 = 26.4 credits
- All symbols, 7 days (Standard) = 50 + 1.4 = 51.4 credits
The exact cost is shown before you run the backtest, so there are never surprises.
AI analysis of backtest results costs 5 credits per analysis. This charge covers server CPU usage for assembling and processing the analysis request. The AI sends your results to Claude (Anthropic) to get strategy recommendations — this uses your own Anthropic API key, so you also pay the API cost directly (roughly ~$0.09 per review).
If you don't have an Anthropic API key set up, the app will prompt you to add one in Setup → API Keys.
When your credit balance hits zero:
- Live trading continues — credits are only for backtesting and AI analysis. Your bot keeps running normally.
- Backtests are blocked — you'll see an "Insufficient Credits" error showing your balance, the cost, and the shortfall.
- Buy more anytime — credit packs are available in the Account tab.
Go to Account → Credit Packs and choose a pack:
| Pack | Credits | Price |
|---|---|---|
| Starter | 25 | $4.99 |
| Value | 100 | $14.99 |
| Power | 500 | $49.99 |
Purchased credits stack on top of your monthly allotment and never expire. They carry over across billing cycles.
What the Bot Does
HypeTrade is an automated perpetual futures trading bot on Hyperliquid. It combines Elliott Wave analysis with a multi-indicator scoring system to make long, short, or hold decisions.
Here's the simplified flow:
- Data fetch — the bot pulls the latest candle data from Hyperliquid at your selected time interval (5m, 15m, 1h, etc.)
- Indicator calculation — 15 technical indicators (RSI, MACD, VWAP, Elliott Wave, Gann Fan, Bollinger Band Width, and more) each produce a score between -1.0 and +1.0
- Composite score — indicator scores are multiplied by their weights and summed into a single composite score
- Threshold check — if the composite exceeds your long threshold, the bot goes long. Below the short threshold, it goes short. Otherwise, it holds.
- Order execution — market or limit order is placed on Hyperliquid with your configured leverage and position size
- Exit management — trailing stop loss, decay aggressiveness, and grab-and-go targets manage the position until exit
The bot needs roughly 200+ cycles of data before its signals stabilize. During early cycles, the indicators are still "warming up" — they don't have enough historical data to produce reliable scores.
On the Live tab you'll see cycle count and signal health indicators. Once the bot has run 200+ cycles on your selected interval, you can trust the signals more. Before that, expect more noise.
Every cycle, the bot outputs one of three decisions:
- LONG — composite score exceeds the long threshold → open a long position (betting price goes up)
- SHORT — composite score drops below the short threshold → open a short position (betting price goes down)
- HOLD — composite score is between thresholds → do nothing (or maintain current position with exit management)
The long and short thresholds are configurable — higher thresholds mean fewer but higher-conviction trades.
Supported Exchanges
Hyperliquid is the only supported exchange. HypeTrade trades perpetual futures (perps) exclusively on Hyperliquid's decentralized exchange.
Hyperliquid was chosen for:
- Low fees (maker/taker)
- High throughput and fast execution
- No KYC — connect with a wallet private key
- On-chain transparency
Yes. HypeTrade supports profit sweeps to Coinbase via USDC on Base. You can configure automatic or manual transfers of realized profits from Hyperliquid to your Coinbase account.
Security
Your API keys are encrypted at rest using Fernet symmetric encryption (AES-128-CBC with HMAC-SHA256). Keys are:
- Never stored in plaintext — encrypted immediately on submission
- Encrypted at the application layer before reaching the database
- Stored in AWS DynamoDB with additional AWS-managed encryption at rest
- Per-user isolated — each user's keys are encrypted with separate encryption context
HypeTrade runs entirely on AWS:
- ECS Fargate — each user's bot runs as an isolated container task. Standard tier uses FARGATE_SPOT for cost efficiency; Pro tier uses on-demand FARGATE for guaranteed uptime.
- DynamoDB — user data, trade history, and encrypted keys
- AWS KMS — key management for encryption operations
- EFS — per-user persistent storage for bot configuration
- Cognito — authentication and user management
Bot tasks are per-user isolated — your bot runs in its own container with its own filesystem. No shared state with other users.
Tier Differences
HypeTrade offers two subscription tiers. Both get full trading capabilities — Pro unlocks AI features and more backtest capacity.
| Feature | Standard ($42/mo) | Pro ($69/mo) |
|---|---|---|
| Live trading bot | ✅ 1 bot | ✅ 1 bot |
| All time intervals | ✅ 5m, 15m, 1h, etc. | ✅ 5m, 15m, 1h, etc. |
| Save & load presets | ✅ | ✅ |
| Monthly credits | 50 | 200 |
| All-symbols backtest cost | 50 base credits | 25 base credits (discounted) |
| AI analysis of backtest results | — | ✅ |
| AI-powered strategy refinement | — | ✅ |
| AI live bot monitoring & adaptation | — | ✅ |
| AI optimization whitelist | — | ✅ Control which settings AI can adjust |
| Copy Trading | — | ✅ |
| Trial | $7.77 / 7 days | $14.99 / 7 days |
Refund Policy
When you switch between Standard and Pro tiers, we calculate a fair refund based on two factors:
- Time remaining in your current billing period
- Credits remaining from your monthly allotment
If you haven't used any of your monthly credits, you get a full refund for the remaining time — no penalty. If you've used some credits, the refund is proportionally reduced: the more credits you've used, the smaller the refund.
refund_pct = time_remaining_pct × credits_remaining_pctException: If you haven't used ANY credits (100% remaining), the formula simplifies to just the time-based refund — no credit penalty applied.
Example
Say you're on Pro ($69/mo) with a 30-day billing cycle:
- You're 15 days in → 50% time remaining
- You've used 100 of your 200 monthly credits → 50% credits remaining
- Refund = 50% time × 50% credits = 25% of $69 = $17.25
But if you haven't touched your credits at all:
- 15 days in → 50% time remaining
- 200 of 200 credits remaining → unused account protection kicks in
- Refund = 50% of $69 = $34.50 (no credit penalty)
Beginner's Guide
Quick Start (30 Seconds)
Getting your bot trading takes about 30 seconds:
- Sign up and complete onboarding — you'll choose a preset and enter your Hyperliquid wallet private key
- You land on the Dashboard (Live tab)
- Press "Start Bot" — that's it. The bot begins trading with whichever preset you chose during onboarding.
The bot starts running in the cloud immediately. No installation, no server setup. It trades 24/7 until you stop it.
Choosing a Preset
Navigate to the Setup tab. You'll see three built-in presets — each represents a different trading personality:
| Preset | Style | Risk | Description |
|---|---|---|---|
| Conservative | Low risk, slow | 🟢 Low | Smaller positions, tighter stops, higher signal thresholds. Fewer trades but higher conviction. Good for beginners or larger accounts. |
| Trend Follower | Follow momentum | 🟡 Medium | Follows prevailing market momentum with wider stops and moderate position sizing. Balanced risk/reward. The all-rounder. |
| Momentum | Aggressive, fast | 🔴 High | Starts with 5× leverage and lower signal thresholds for more frequent entries. Quick profit-taking with aggressive trailing stops. Higher leverage = higher risk. |
Click a preset → all settings auto-populate. You can start trading immediately or fine-tune the individual settings.
Pro Features: Custom Configuration
Beyond the presets, every setting is individually customizable from the Setup tab. This is where experienced traders dial in their edge. Settings are organized into sections:
General Settings
These control your core risk parameters — how much you trade and when the bot enters or exits.
| Setting | What It Does | Impact |
|---|---|---|
| Leverage | Multiplier for position size relative to balance (1×–20×) | Directly scales both wins and losses. Start at 2× until your win rate is proven. |
| Position Size | Percentage of balance to use per trade | Combined with leverage, this determines your total exposure per trade. |
| Order Type | Market (instant fill, taker fee) or Limit (set price, maker fee, may not fill) | For exits — especially stop losses — market orders are safer. Limit orders save on fees but risk not filling. |
| Long Threshold % | Composite score must exceed this to trigger a long entry | The single biggest lever on trade count AND quality. Higher = fewer but higher-conviction trades. |
| Short Threshold % | Composite score must fall below this to trigger a short entry | Same logic as long threshold, but for short positions. |
Advanced Settings (Exit Behavior)
Fine-tune how the bot manages positions after entry — trailing stops, profit targets, and exit timing.
| Setting | What It Does | Impact |
|---|---|---|
| Target Wave Multiplier | Profit target as a multiple of wave amplitude | Controls the size of your wins. Higher = larger wins but fewer completed exits. |
| Max Loss Std Multiplier | Hard stop-loss width based on volatility | Tighter stops cut losses fast but risk stopping out on normal volatility. The absolute worst-case exit point per trade. |
| TSL Multiplier | Trailing stop-loss distance — how far behind price the stop trails | Smaller = tighter trail = locks in profit faster but exits earlier. Larger = gives trades more room to breathe. |
| Decay Aggressiveness | How fast the trailing stop tightens over time | Higher decay = the stop chases price faster, limiting damage from entries that initially moved favorably then reversed. |
| Grab & Go | Quick profit-taking on price spikes — exits immediately when a target is hit | Captures windfall profits but may exit trades that would have run further. |
| TSL Post-Peak Grace Bars | After recording a new highest profit, ignores trailing stop exits for N bars on the active timeframe. The trailing stop still updates and tightens — only the exit decision is delayed. | Higher = more tolerance for pullbacks after momentum surges. Does not affect max loss, time exits, wave-over, or indicator flip exits. |
Indicator Weights
Each of the 15 technical indicators contributes to the composite score. Higher weight = more influence on trade decisions. Weights should sum to approximately 15.0.
| Indicator | What It Measures | Why It Matters |
|---|---|---|
| VWAP | Volume-weighted average price | Institutional fair value anchor — entering near VWAP means entering near where most volume traded |
| VWAP FMS | VWAP flow momentum signal | Directional pressure of volume-weighted flow |
| VWAP MR | VWAP mean reversion | Distance from VWAP — signals potential mean reversion |
| SMA | Simple moving average crossovers | Classic trend direction confirmation |
| EMA | Exponential moving average crossovers | Faster-reacting trend signal vs SMA |
| BBW | Bollinger Band Width | Volatility squeeze detection — narrow bands often precede breakouts |
| VWAP DEV | VWAP deviation bands | Standard deviation from VWAP — overbought/oversold relative to volume profile |
| OFI | Order flow imbalance | Buy vs. sell pressure — leading indicator of price direction |
| KC | Keltner Channels | ATR-based volatility bands — breakouts signal strong momentum |
| RSI | Relative Strength Index | Overbought/oversold filter — prevents entries when momentum is exhausted |
| MACD | Moving Average Convergence Divergence | Trend momentum and direction — histogram slope confirms momentum building or fading |
| Gann Fan | Time-price geometric angles | Natural support/resistance angles used by institutions — improves entry precision |
| Velocity | Rate of price change | Momentum gate — prevents entries during stale/sideways markets |
| Elliott Structure | Elliott Wave pattern recognition | Identifies where price is in its cycle — entering at wave 2/4 pullbacks dramatically improves timing |
| Elliott Fib | Fibonacci levels within Elliott waves | Precise entry/exit targets within wave structures |
Indicator Sub-Settings
Each indicator has its own configuration — thresholds, periods, and sensitivity controls. Click the ⚙️ gear icon next to any indicator in the weight table to open its specific settings.
For example:
- RSI: Overbought level (default 70), oversold level (default 30), period
- BBW: Squeeze threshold — how narrow the bands need to be to signal a breakout
- MACD: Fast/slow periods, signal line period
- OFI: Imbalance threshold for triggering a signal
- Elliott Wave: Minimum wave confidence, lookback period
These are power-user controls. The defaults are sensible for most market conditions — only adjust if you understand the indicator's behavior.
Save & Apply
After configuring your settings:
- Name your config — enter a name in the config name field at the top of the Setup tab. This saves it to your personal preset library.
- Click "Save" — stores the configuration. You can load it later from the preset dropdown.
- Click "Apply" — saves your settings to the bot's configuration file. If the bot is running, you must Stop and Start it to pick up new settings. The bot reads
config.jsononce at boot — there is no hot-reload.
Live Tab
After applying settings, the app navigates to the Live tab automatically. This is your real-time dashboard — everything you need to monitor at a glance.
Bot Status Bar
At the top you'll see:
- LIVE indicator — green when the bot is actively running
- Symbol badge — which asset the bot is trading (e.g., ETH, BTC, SOL)
- PID — process ID of the bot task (useful for support)
- Uptime — how long the bot has been running this session
Position Card
When the bot holds an open position, you'll see:
- Entry price — the price at which the position was opened
- Current P&L — unrealized profit/loss in real time
- Unrealized % — P&L as a percentage of entry
- Leverage — the effective leverage on this trade
Metric Cards
- Composite Score — the combined indicator signal (-1.0 to +1.0). This is the number that drives trade decisions.
- Decision — LONG / SHORT / HOLD based on the composite vs. your thresholds
- Volatility — current market volatility reading
- Wave Phase — current Elliott Wave position (Wave 1–5 or corrective), with trend bias (bullish/bearish/neutral)
Indicator Breakdown
Below the metric cards, you'll see each individual indicator's contribution to the composite score. This helps you understand why the bot is making a particular decision — which indicators are bullish, which are bearish, and how much each one contributes.
Session Balance Chart
A live chart showing your account balance over time with adaptive bucketing — automatically adjusts time resolution based on how long your session has been running. Useful for tracking balance trends within a single bot session.
Exit Reason Codes
When a position closes, the position card displays the exit reason as a color-coded badge:
- TSL — Trailing Stop Loss triggered
- MXL — Max Loss (hard stop) hit
- GnG — Grab & Go target reached
- FLP — Signal Flip (composite score reversed direction)
Gann Fan Visualization
An interactive Gann Fan angle display rendered directly on the Live tab. Visualizes the geometric price-time angles used by the Gann Fan indicator for support and resistance levels.
Real-Time WebSocket
The entire Live dashboard updates in real time via WebSocket — no polling. Price, P&L, indicator scores, and position data stream directly to your browser with sub-second latency.
P&L Tab
The P&L (Profit & Loss) tab gives you a comprehensive view of your trading performance.
Cumulative P&L Chart
A running total of your realized gains and losses over time. The line trends up when you're profitable, down when you're losing. Useful for spotting sustained profitable periods vs. drawdowns.
Trade History Table
Individual trades listed with entry price, exit price, P&L (both percentage and cash), and trade duration. Sortable and filterable by time range.
Performance Metrics
- Win Rate — percentage of trades that were profitable
- Average Win / Loss — how much you make on winners vs. lose on losers
- Sharpe Ratio — risk-adjusted return. >1.0 is good, >2.0 is excellent
- Max Drawdown — worst peak-to-trough decline — your actual worst-case experience
Config Performance
See which preset or config was active during which trades. Helps you compare whether your manual tuning is outperforming the base presets.
AI Optimization (Pro only)
The AI tab is where HypeTrade's machine intelligence adapts your strategy over time. Available on the Pro tier.
AI Optimizer Frequency
A slider from 500 to 5,000 cycles controls how often the AI reviews your bot's recent performance and suggests adjustments to weights, thresholds, and exit parameters.
| Lower Frequency (500 cycles) | Higher Frequency (5,000 cycles) | |
|---|---|---|
| Adaptation speed | Faster — reacts quickly to volatility shifts and market regime changes | Slower — takes longer to respond to market changes |
| Cost | Higher — ~$0.09 per Anthropic API review, more frequent = more spend | Lower — fewer API calls, cheaper to run |
| Stability | Less stable — may over-fit to short-term noise | More stable — averages out noise, avoids over-fitting |
| Best for | Volatile markets, new strategies being refined | Stable markets, strategies you've already dialed in |
The AI reviews your bot's recent performance data and proposes incremental improvements — changing values by 10–30% at most. Over time, this creates a compounding optimization effect.
AI Optimization Whitelist (Pro)
Control exactly which settings the AI is allowed to adjust. This is organized by section:
- Entry Rules — long/short threshold percentages
- Exit Rules — TSL, decay, wave multipliers, grab-and-go
- Indicator Weights — all 15 indicator weights
- Indicator Sub-Settings — thresholds per indicator (RSI overbought/oversold, BBW, etc.)
Cons of limiting: The AI has fewer levers to work with, which may limit its ability to find improvements. A wider whitelist gives the optimizer more room to discover better configurations.
Backtesting
Test your strategy against historical data before risking real money. Backtesting uses credits (see Credits & Billing).
Credits Required
Every backtest costs credits based on symbols and lookback days. The formula: base + (0.2 × lookback_days). The exact cost is displayed before you run — review it and confirm.
Symbol Selection
- All Symbols — tests against every Hyperliquid perpetual. Comprehensive but costs more credits (50 base Standard / 25 base Pro).
- Multiple — use the dropdown to select specific symbols. Good for comparing a few assets.
- Single — pick one symbol for focused analysis. Cheapest option (1 credit base).
Lookback Days
Choose 1–7 days of historical data. More days = more data points = more robust results, but costs slightly more credits (0.2 per day).
Understanding Results
After the backtest completes, you get a comprehensive results view:
- Sort by P&L — which symbols made/lost the most money with your config
- Sort by Win % — which symbols have the highest win rate
- Sort by Sharpe Ratio — risk-adjusted returns (the best single metric for comparing performance)
Chart markers:
- ● Cyan = entry points
- ● Gold = winning exits
- ● Magenta = losing exits
Below each chart you'll see per-symbol metrics: P&L, trade count, win rate, and Sharpe ratio.
Dropped Symbol Refunds
If any symbols are dropped during a backtest — either because of data errors or because no trading signals were generated — you'll automatically receive a credit refund.
- Per-symbol backtests: 1 credit refunded per dropped symbol
- "All symbols" backtests: Already discounted, no partial refunds (unless zero symbols complete — full refund)
- The lookback day fee (0.2 × days) is only refunded if no symbols were processed at all
- A popup will show exactly which symbols were dropped and why
"Dropped" means either:
- The symbol errored out (data couldn't be fetched or processed)
- The symbol had zero trades (your settings didn't generate any signals for that symbol)
AI Strategy Feedback (Pro)
After a backtest completes, Pro users can get AI-powered analysis:
- Select a symbol to analyze (or analyze all)
- Wait for analysis — the AI reviews your results and generates reasoning + suggested parameter changes
- Review the suggestions — the AI explains why it's recommending each change, referencing patterns across symbols
- Save as a new preset — the suggested config becomes available in your preset dropdown
- Iterate — backtest again with the new config, get more feedback, refine until improvements plateau
Trades Tab
A complete log of every trade your bot has executed:
- Entry/exit timestamps — exact time in and time out
- Symbol — which asset was traded
- Direction — long or short
- P&L per trade — both percentage and cash value
- Exit reason code — why the trade closed (TSL, MXL, GnG, FLP)
- Duration — how long the position was held
- Active preset — which config was running when the trade was made
Filterable by time period (1h, 6h, 24h, 7d, 30d, all). Use this alongside the P&L tab to audit individual trades and understand what went right or wrong.
CSV Export
Download your trade history as a CSV file with date-range filtering. Select a start and end date, then export — useful for tax reporting, external analysis, or record keeping.
Copy Trading (Pro only)
Mirror the trades of any Hyperliquid wallet — no permission needed. Paste a wallet address and HypeTrade handles the rest.
How It Works
- Paste any Hyperliquid wallet address — find a top trader on the leaderboard or enter an address you already follow
- Choose allocation mode:
- Proportional — mirrors the trader's position sizes relative to their account balance
- Concentrated — uses your full configured position size regardless of the source trader's sizing
- Choose timing:
- Immediate entry — copies existing open positions right away
- Wait for next trade — only enters when the source wallet opens a new position
Leaderboard Discovery
Browse the built-in leaderboard to find top-performing Hyperliquid traders. Sort by P&L, win rate, or trade frequency to find wallets worth copying.
Copy History & P&L
Track every copied trade with full P&L visibility. See which source wallets are generating profits and which aren't — adjust or stop copying accordingly.
Fees
Marketplace
Buy proven strategy presets from other traders — or sell your own configs with live performance tracking.
Buying Presets
- Browse listings — see strategy presets from other HypeTrade users with live performance data (win rate, P&L, Sharpe ratio)
- Credit-based purchases — buy presets using your HypeTrade credits
- Instant load — purchased presets appear in your preset dropdown immediately
Selling Presets
- List your configs — publish any saved preset to the marketplace with a credit price you set
- Live performance tracking — your listing shows real-time stats from your bot's actual trading results
- 7-day listing expiry — listings with zero sales are automatically removed after 7 days to keep the marketplace fresh
- 7.77% commission — HypeTrade takes a 7.77% commission on each sale
Seller Dashboard
Track your marketplace earnings, see which presets are selling, and claim your earnings with a single click.
Logs Tab
See what the bot is doing on its terminal — in real time.
The Logs tab streams the live output from your bot process, including:
- Cycle start/end with indicator calculations
- Trade decisions and the scores that triggered them
- Order placement and fills
- Errors and warnings
- Config load confirmations at startup
This is your debugging tool. If something seems off — the bot isn't trading when you expect, or it's making unexpected decisions — the logs show exactly what's happening and why.
Data Management
HypeTrade gives you full control over your data. From the Account tab, you'll find a Data Management panel where you can delete, restore, and permanently purge your data.
What You Can Delete
- Trade History — All trades, or only trades older than 7, 30, or 90 days
- Backtest Results — Saved backtest snapshots and data files
- Saved Presets — Custom config presets you've created
- Full Account — Request complete account deletion (30-day grace period)
How Trash Works
All deletions are soft deletes. When you delete something, it moves to Trash with a 30-day retention period. During those 30 days, you can:
- View — See what's in your trash, grouped by category and date
- Restore — Bring items back instantly, as if they were never deleted
- Force Purge — Permanently delete items immediately (requires typing "DELETE" to confirm — this cannot be undone)
After 30 days, items in trash are automatically and permanently purged.
Account Deletion
If you request account deletion, your bot will be stopped, your subscription cancelled (with a refund per the refund policy), and all data scheduled for permanent deletion after a 30-day grace period. You can cancel the deletion at any time during those 30 days and everything will be restored.
API Key Setup Guides
HypeTrade needs two API keys to function. Both can be entered during onboarding or later in the Setup → API Keys section. Tap the ℹ️ setup guide hint below each input field for step-by-step instructions.
🔑 Fresh Wallet Private Key (Required)
This is the private key from your Hyperliquid fresh wallet. The bot uses it to place trades on your behalf.
- Go to the security section of your fresh wallet
- Copy your wallet private key (NOT the seed phrase)
- Paste it into the "Fresh Wallet Private Key" field
⚠️ Only deposit what you're comfortable trading with.
⚠️ Do not share this key anywhere else.
🤖 Anthropic API Key (Optional)
This key connects to Anthropic's Claude AI for strategy optimization. It's optional but enables:
- AI-powered backtest analysis (suggests config improvements)
- Live bot monitoring with dynamic adaptation (Pro)
- Automated weight/threshold tuning
- Go to console.anthropic.com
- Sign up or log in
- Navigate to API Keys → Create Key
- Copy the key and paste it into the "Anthropic API Key" field
💡 You pay Anthropic directly for AI usage (~$0.09 per optimization review). HypeTrade charges 5 credits per analysis for server processing.
How It Works
Trade Decision Flow
Every cycle, the bot follows this decision tree — from raw market data to order execution:
flowchart TD
A["📡 Fetch Candle Data\n(Hyperliquid API)"] --> B["📊 Calculate 15 Indicators\n(RSI, MACD, VWAP, Elliott, Gann, etc.)"]
B --> C["⚖️ Apply Weights\n(each indicator × its weight)"]
C --> D["🎯 Composite Score\n(sum of weighted scores, -1.0 to +1.0)"]
D --> E{"Score vs Thresholds"}
E -->|"> long_threshold"| F["🟢 LONG\nOpen long position"]
E -->|"< short_threshold"| G["🔴 SHORT\nOpen short position"]
E -->|"Between thresholds"| H["⏸️ HOLD\nMaintain current state"]
F --> I["📝 Place Order\n(market or limit)"]
G --> I
I --> J["🔄 Exit Management\n(TSL, decay, G&G targets)"]
J --> K{"Exit Triggered?"}
K -->|"Yes"| L["💰 Close Position\nRecord P&L"]
K -->|"No"| M["↩️ Next Cycle"]
H --> M
L --> M
style A fill:#0ea5e920,stroke:#0ea5e9,color:#f1f5f9
style D fill:#06d6a020,stroke:#06d6a0,color:#f1f5f9
style F fill:#22c55e20,stroke:#22c55e,color:#f1f5f9
style G fill:#ef444420,stroke:#ef4444,color:#f1f5f9
style H fill:#f59e0b20,stroke:#f59e0b,color:#f1f5f9
style L fill:#fbbf2420,stroke:#fbbf24,color:#f1f5f9
Credit System
How credits flow through the system — from monthly allotment to usage to refund:
flowchart TD
A["🗓️ Billing Cycle Start"] --> B["💳 Monthly Credit Refill\n(Standard: 50 / Pro: 200)"]
B --> C["💰 Credit Balance"]
D["🛒 Purchase Credit Pack\n(Starter/Value/Power)"] --> C
C --> E{"Use Credits"}
E -->|"Run Backtest"| F["📉 Deduct: symbols + (0.2 × days)\nPro gets discounted all-symbol rate"]
E -->|"AI Analysis"| G["🧠 Deduct: 5 credits"]
F --> H["Updated Balance"]
G --> H
H -->|"Balance = 0"| I["⚠️ Backtest Blocked\nLive trading continues!"]
H -->|"Balance > 0"| C
C -->|"Switch Tier"| J{"Refund Calculation"}
J --> K["time_remaining% × credits_remaining%\n(or time% only if 0 credits used)"]
K --> L["💵 Refund Issued"]
style A fill:#0ea5e920,stroke:#0ea5e9,color:#f1f5f9
style B fill:#06d6a020,stroke:#06d6a0,color:#f1f5f9
style C fill:#06d6a020,stroke:#06d6a0,color:#f1f5f9
style D fill:#fbbf2420,stroke:#fbbf24,color:#f1f5f9
style I fill:#ef444420,stroke:#ef4444,color:#f1f5f9
style L fill:#22c55e20,stroke:#22c55e,color:#f1f5f9
Bot Lifecycle
From pressing "Start" to an idle shutdown — the full lifecycle of your trading bot:
flowchart TD
A["🟢 User clicks 'Start Bot'"] --> B["📁 Provision EFS Directory\n(per-user isolated storage)"]
B --> C["🚀 run_task on ECS Fargate\n(Standard: SPOT / Pro: On-Demand)"]
C --> D["⏳ Task Startup\n(container pulls config, loads keys)"]
D --> E["🔄 Polling Loop\n(fetch data → calculate → decide → execute)"]
E --> F{"Bot State Check"}
F -->|"Active trading"| G["📊 Execute Cycle\n(indicator calc → composite → order)"]
G --> E
F -->|"No position + idle timeout"| H["💤 Idle Shutdown\n(saves state, stops task)"]
F -->|"User clicks Stop"| I["🛑 Graceful Stop\n(close position if open, save state)"]
H --> J["⏹️ Task Stopped\n(ECS task terminated)"]
I --> J
J --> K["💾 State Preserved\n(trades, logs, config on EFS)"]
K --> L["Ready to restart anytime"]
style A fill:#22c55e20,stroke:#22c55e,color:#f1f5f9
style C fill:#0ea5e920,stroke:#0ea5e9,color:#f1f5f9
style E fill:#06d6a020,stroke:#06d6a0,color:#f1f5f9
style H fill:#f59e0b20,stroke:#f59e0b,color:#f1f5f9
style I fill:#ef444420,stroke:#ef4444,color:#f1f5f9
style J fill:#64748b20,stroke:#64748b,color:#f1f5f9
HypeTrade Documentation — Built for traders, by traders.
hypetrade.io ·
support@hypetrade.io