mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 19:41:02 +08:00
feat(web): add UI for grid direction adjustment settings
- Add enable_direction_adjust and direction_bias_ratio to GridStrategyConfig - Add Direction Auto-Adjust section in GridConfigEditor - Include toggle switch, bias ratio slider, and explanation text - Support both Chinese and English translations
This commit is contained in:
@@ -506,6 +506,10 @@ export interface GridStrategyConfig {
|
||||
daily_loss_limit_pct: number;
|
||||
// Use maker-only orders for lower fees
|
||||
use_maker_only: boolean;
|
||||
// Enable automatic grid direction adjustment based on box breakouts
|
||||
enable_direction_adjust?: boolean;
|
||||
// Direction bias ratio for long_bias/short_bias modes (default 0.7 = 70%/30%)
|
||||
direction_bias_ratio?: number;
|
||||
}
|
||||
|
||||
export interface CoinSourceConfig {
|
||||
|
||||
Reference in New Issue
Block a user