mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
Enhance NadoGateway with min size policy handling and related utility functions. Update .env.example to include NADO_MIN_SIZE_POLICY configuration option.
This commit is contained in:
@@ -134,6 +134,11 @@ NADO_MARKET_SLIPPAGE_PCT=0.01
|
||||
# Optional: stop trigger source for STOP_MARKET orders (oracle | last | mid)
|
||||
NADO_STOP_TRIGGER_SOURCE=oracle
|
||||
|
||||
# Optional: how to handle orders smaller than Nado min_size (USDT0 notional)
|
||||
# - adjust: round quantity up to the minimum allowed size (default)
|
||||
# - reject: throw an error instead of auto-adjusting
|
||||
NADO_MIN_SIZE_POLICY=adjust
|
||||
|
||||
# Optional endpoint overrides
|
||||
# NADO_GATEWAY_WS_URL=wss://gateway.prod.nado.xyz/v1/ws
|
||||
# NADO_SUBSCRIPTIONS_WS_URL=wss://gateway.prod.nado.xyz/v1/subscribe
|
||||
|
||||
Reference in New Issue
Block a user