TriggerPrice field not present in OrderParams struct


  • TriggerPrice is mandtory field while placing stoploss order but incase of Go SDK. Its not present in OrderParams struct causing failure to set stoploss order. Requesting you to please add field in struct asap.

    Updated JSON would look like this :

    type OrderParams struct {
    Variety string json:"variety"
    TradingSymbol string json:"tradingsymbol"
    SymbolToken string json:"symboltoken"
    TransactionType string json:"transactiontype"
    Exchange string json:"exchange"
    OrderType string json:"ordertype"
    ProductType string json:"producttype"
    Duration string json:"duration"
    Price string json:"price"
    SquareOff string json:"squareoff"
    StopLoss string json:"stoploss"
    Quantity string json:"quantity"
    TriggerPrice string json:"triggerprice"
    }