Skip to content

Trading Error: Failed to Place Protective Orders - PUMPUSDT: Quantity greater than max quantity... #86

@Exodus4400

Description

@Exodus4400

Bug Report

Summary

Failed to Place Protective Orders - PUMPUSDT: Quantity greater than max quantity.

Error Information

  • Error Type: trading
  • Sub-category: quantity-precision
  • Severity: medium
  • Error Code: -4005
  • Component: PositionManager
  • Symbol: PUMPUSDT
  • Timestamp: 2025-12-23T14:55:29.666Z
  • Session ID: c5be70eb-03e3-4ce1-8508-2ef8133dd40b

AI Debug Information

This error report is formatted for AI assistance (Claude, ChatGPT, etc.)

Error Classification

  • Type: trading
  • Sub-category: quantity-precision
  • Severity: medium
  • Error Code: -4005
  • Component: PositionManager
  • Symbol: PUMPUSDT

Environment Context

  • Platform: win32
  • Node Version: v24.11.1
  • Memory Usage: 20542MB / 32679MB
  • Process Uptime: 468 minutes
  • Session ID: c5be70eb-03e3-4ce1-8508-2ef8133dd40b
  • Timestamp: 2025-12-23T14:55:29.666Z

Error Details

Failed to Place Protective Orders - PUMPUSDT: Quantity greater than max quantity.

Additional Context

{
  "code": -4005,
  "msg": "Quantity greater than max quantity."
}

Stack Trace

Click to expand stack trace
Error: Failed to Place Protective Orders - PUMPUSDT: Quantity greater than max quantity.
    at StatusBroadcaster.broadcastError (C:\Users\scott\aster_lick_hunter_node\src\bot\websocketServer.ts:444:19)
    at StatusBroadcaster.broadcastTradingError (C:\Users\scott\aster_lick_hunter_node\src\bot\websocketServer.ts:501:10)
    at PositionManager.placeProtectiveOrders (C:\Users\scott\aster_lick_hunter_node\src\lib\bot\positionManager.ts:1915:32)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async PositionManager.adjustProtectiveOrders (C:\Users\scott\aster_lick_hunter_node\src\lib\bot\positionManager.ts:1317:9)
    at async PositionManager.checkAndAdjustOrdersForPosition (C:\Users\scott\aster_lick_hunter_node\src\lib\bot\positionManager.ts:2540:7)

Suggested Investigation Steps

  1. Review the component where the error occurred: PositionManager
  2. Check input validation and error boundaries
  3. Review recent changes that might have introduced this issue

Potential Fixes


This debug information was automatically generated for AI-assisted debugging.

Labels

  • bug
  • type:trading
  • error:quantity-precision
  • component:PositionManager

Additional Notes

Please add any additional context about what you were doing when this error occurred.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions