V2.2.1: Membership & Billing, USDT TRC20 payment, VIP free indicators, AI Trading Radar, simplified strategy creation, system settings simplification, bug fixes and UI improvements
This commit is contained in:
@@ -55,9 +55,9 @@ PENDING_ORDER_STALE_SEC=90
|
||||
# Live trading order execution settings
|
||||
# =========================
|
||||
# Order execution mode:
|
||||
# - "maker": Limit order first, then market order for remaining (default, lower fees)
|
||||
# - "market": Market order only (immediate execution, higher fees)
|
||||
ORDER_MODE=maker
|
||||
# - "market": Market order only (immediate execution, recommended for stability)
|
||||
# - "maker": Limit order first, then market order for remaining (lower fees, may not fill)
|
||||
ORDER_MODE=market
|
||||
|
||||
# How long to wait for limit order to fill before switching to market order (seconds)
|
||||
MAKER_WAIT_SEC=10
|
||||
@@ -208,7 +208,7 @@ CCXT_DEFAULT_EXCHANGE=coinbase
|
||||
CCXT_TIMEOUT=10000
|
||||
CCXT_PROXY=
|
||||
|
||||
# Akshare (CN/HK stocks if enabled)
|
||||
# Akshare (optional)
|
||||
AKSHARE_TIMEOUT=30
|
||||
|
||||
# YFinance
|
||||
@@ -237,7 +237,7 @@ SEARCH_BING_API_KEY=
|
||||
# 支持多个 key 轮换,用逗号分隔: key1,key2,key3
|
||||
TAVILY_API_KEYS=
|
||||
|
||||
# 博查 Bocha Search API (国内搜索优化,A股新闻推荐!)
|
||||
# 博查 Bocha Search API (国内搜索优化)
|
||||
# Get your key at: https://bochaai.com/
|
||||
# 支持多个 key 轮换,用逗号分隔: key1,key2,key3
|
||||
BOCHA_API_KEYS=
|
||||
@@ -300,8 +300,9 @@ VERIFICATION_CODE_LOCK_MINUTES=30
|
||||
# Enable billing system (启用计费系统)
|
||||
BILLING_ENABLED=False
|
||||
|
||||
# VIP users can use all paid features for free (VIP用户免费)
|
||||
BILLING_VIP_BYPASS=True
|
||||
# Legacy: VIP users bypass ALL paid feature credit costs (NOT recommended)
|
||||
# 建议关闭:VIP 仅用于“VIP免费指标”,其它功能仍扣积分
|
||||
BILLING_VIP_BYPASS=False
|
||||
|
||||
# Credits consumed per feature (各功能消耗积分数)
|
||||
BILLING_COST_AI_ANALYSIS=10
|
||||
@@ -312,6 +313,41 @@ BILLING_COST_PORTFOLIO_MONITOR=8
|
||||
# Telegram customer service URL for recharge (充值跳转的Telegram链接)
|
||||
RECHARGE_TELEGRAM_URL=https://t.me/quantdinger
|
||||
|
||||
# =========================
|
||||
# Membership Plans (会员套餐 - Mock支付配置)
|
||||
# =========================
|
||||
# Price in USD
|
||||
MEMBERSHIP_MONTHLY_PRICE_USD=19.9
|
||||
MEMBERSHIP_YEARLY_PRICE_USD=199
|
||||
MEMBERSHIP_LIFETIME_PRICE_USD=499
|
||||
|
||||
# Credits bonus
|
||||
MEMBERSHIP_MONTHLY_CREDITS=500
|
||||
MEMBERSHIP_YEARLY_CREDITS=8000
|
||||
|
||||
# Lifetime: monthly credits granted every 30 days
|
||||
MEMBERSHIP_LIFETIME_MONTHLY_CREDITS=800
|
||||
|
||||
# =========================
|
||||
# USDT Pay (Plan B: per-order unique address)
|
||||
# =========================
|
||||
USDT_PAY_ENABLED=False
|
||||
USDT_PAY_CHAIN=TRC20
|
||||
|
||||
# TRC20 (TRON) watch-only xpub (derive deposit addresses from index 0..N)
|
||||
USDT_TRC20_XPUB=
|
||||
|
||||
# USDT TRC20 contract on TRON (default)
|
||||
USDT_TRC20_CONTRACT=TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj
|
||||
|
||||
# TronGrid API
|
||||
TRONGRID_BASE_URL=https://api.trongrid.io
|
||||
TRONGRID_API_KEY=
|
||||
|
||||
# Order confirmation delay and expiration
|
||||
USDT_PAY_CONFIRM_SECONDS=30
|
||||
USDT_PAY_EXPIRE_MINUTES=30
|
||||
|
||||
# New user registration bonus credits (新用户注册赠送积分)
|
||||
CREDITS_REGISTER_BONUS=100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user