Paper_Trading / frontend /src /components /TradePanel.tsx

Commit History

更新分享弹框:添加备用地址和二维码
a123f78

superxu520 commited on

style: compact TradePanel layout and move icon to header
0041bae

superxuu commited on

style: update VIP tagline with new copy and centered dots
2c2a42c

superxuu commited on

style: update VIP price text from 9.9 to 10 in TradePanel
ae057da

superxuu commited on

feat: implement user auth, daily limits, and built-in Vmq payment gateway
57864b1

superxuu commited on

实现用户鉴权与支付模块:接入SQLite持久化、V免签回调、VIP权益校验及HF Dataset自动同步
19b1032

superxuu commited on

优化重开和再来一局按钮逻辑:点击后仅重置到首页,不自动开始新游戏
d25ae45

superxuu commited on

feat: 添加全A股市场筛选支持
31277c9

superxuu commited on

fix: Resolve JSX namespace error by removing invalid responsive size prop on Lucide icon
d8fd32f

superxuu commited on

style: Optimize home screen layout with responsive font sizes and improved market selection dropdown
53e4133

superxuu commited on

style: Improve Profit/Loss Ratio display (show 'MAX' instead of 999)
0332a32

superxuu commited on

fix: Implement professional financial metrics calculation (Jensen's Alpha, Beta, Sharpe Ratio)
afd395f

superxuu commited on

fix: Correct statistics logic for max drawdown, win rate, and annual return
ed94711

superxuu commited on

style: Update 'Play Again' button color to match the theme (Red/Pink gradient)
bd2ed4e

superxuu commited on

fix: Resolve syntax errors and finalize ReturnChartModal UI optimizations
1e144e2

superxuu commited on

fix: Ensure full capture of share image by temporarily disabling height constraints
67bfc10

superxuu commited on

feat: Add QR code and link to share image in ReturnChartModal
d861e26

superxuu commited on

fix: Resolve syntax errors and finalize ReturnChartModal UI optimizations
0576dac

superxuu commited on

feat: Add share button to ReturnChartModal using html2canvas for image generation
b396dad

superxuu commited on

feat: Make backtest result page full-screen and relocate 'Play Again' button to header
e20b269

superxuu commited on

fix: Resolve syntax errors and finalize ReturnChartModal layout optimizations
b798e50

superxuu commited on

style: Minimize right price scale width and remove offsets in ReturnChartModal
8340706

superxuu commited on

style: Fit content and optimize price scale labels in ReturnChartModal
a34160c

superxuu commited on

style: Fix missing legend color dots in ReturnChartModal
b6bb7f3

superxuu commited on

style: Compact ReturnChartModal with reduced width and padding
6c68f2e

superxuu commited on

feat: Rename 'Trading Days' to 'Market Days' and reorder statistics in ReturnChartModal
f1db17c

superxuu commited on

feat: Add 'Trading Days' and 'Trade Count' to ReturnChartModal and move 'Win Rate' to the end
91cf4ba

superxuu commited on

style: Make ReturnChartModal statistics responsive for mobile (3-column grid)
af50f8a

superxuu commited on

style: Align labels and inputs horizontally on mobile to save vertical space
79c1aa8

superxuu commited on

style: Eliminate empty space in mobile TradePanel and allow dynamic height for more chart space
6c0ffd0

superxuu commited on

style: Optimize mobile layout with ultra-compact headers and single-row controls
9b6f55e

superxuu commited on

feat: Add '基金' (Funds) option to market selection and finalize backend integration
b17ef01

superxuu commited on

feat: Add market selection dropdown to home screen
6b5137b

superxuu commited on

style: Consolidate mobile control buttons into a single row to maximize chart space
a5d7184

superxuu commited on

style: Restore and optimize component sizes for desktop while maintaining mobile compatibility
a8c58ea

superxuu commited on

fix: Resolve desktop layout clipping by allowing left side to shrink and enforcing TradePanel constraints
97a22be

superxuu commited on

fix: Restore font sizes and increase TradePanel width to 450px to prevent clipping
4f59f6b

superxuu commited on

fix: Final attempt to resolve TradePanel overflow with robust CSS and layout constraints
8247e38

superxuu commited on

fix: Resolve TradePanel content clipping by increasing width and adding safety padding
3e63c32

superxuu commited on

fix: Further increase TradePanel width and padding to ensure full visibility on desktop
18fbc49

superxuu commited on

fix: Fix desktop layout centering and right margin issues
ebbbe75

superxuu commited on

fix: Resolve syntax errors in TradePanel.tsx and finalize mobile layout
378bc61

superxuu commited on

fix: Force mobile layout with explicit height and flex constraints
5573b12

superxuu commited on

fix: Stop auto-play when revealing the answer
d2faa42

superxuu commited on

feat: Enhance backtest statistics with accurate P/L ratio and trade details list
bb2fd72

superxuu commited on

feat: Simplify trading panel with dual buy/sell buttons and improved position controls
f113e08

superxuu commited on

feat: Add return rate chart with HS300 benchmark and detailed metrics
1c2a089

superxuu commited on

feat: Complete stock trading simulation system
2d4ab0a

superxuu commited on