mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-16 17:12:25 +08:00
config: autopilot to 4x 5x notional at 20x leverage; short floor 0.75 -> 0.4
Two independent changes bundled: - Position sizing back to 4 positions x 5x equity notional at 20x leverage (20x total account notional, ~5% liquidation cushion) — aggressive book size by operator choice, for bigger single positions on a small account. - Forced short-coverage signal floor lowered 0.75 -> 0.4. At 0.75, a long-leaning board left every bearish candidate below the bar, so no short ever opened and the book became a one-directional long bet. 0.4 keeps genuine directional signals so the book actually hedges — which matters more, not less, at 20x.
This commit is contained in:
@@ -266,8 +266,9 @@ func (s *Server) createDefaultStrategies(userID string, lang string) error {
|
||||
c.RiskControl.BTCETHMaxLeverage = 20
|
||||
c.RiskControl.AltcoinMaxLeverage = 20
|
||||
// 5× equity notional per position: 4 positions = 20x total account
|
||||
// notional (full margin at 20x). Bigger single positions with room for
|
||||
// a balanced long/short book.
|
||||
// notional (full margin, ~5% liquidation cushion). Aggressive by
|
||||
// operator choice — bigger single positions; the 0.4 short-signal
|
||||
// floor keeps the book balanced so it is not a one-directional bet.
|
||||
c.RiskControl.BTCETHMaxPositionValueRatio = 5.0
|
||||
c.RiskControl.AltcoinMaxPositionValueRatio = 5.0
|
||||
c.RiskControl.MaxMarginUsage = 1.0
|
||||
|
||||
Reference in New Issue
Block a user