Skip to content

Modify SL Limit Order not working #49

@jax248

Description

@jax248

Modify order is not working properly in case of STOPLOSS.

  • modifyOrder() method only sends a subset of OrderParams fields to the API: quantity, price, ordertype, variety, etc.
  • Critical missing fields: triggerprice and stoploss are completely ignored in the modify request.
  • User sets orderParams.triggerprice, but the library never includes it in the JSON sent to API.
  • The API receives an incomplete request, so the modification fails silently (order stays pending with original values).

Let me know in case any more info is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions