Skip to content

Incorrect order type in API response #2

@gmehta693

Description

@gmehta693

We placed an SL buy order below the LTP for an option and we saw that we are receiving order type as RL in the response of get orders API. Attaching screenshort for your reference.
WhatsApp Image 2023-12-26 at 18 34 40

Order response:

{
    "status": "success",
    "orders": [
        {
            "order_id": "OEWKL00039J<",
            "exchange": "NSE_FO",
            "token": 65626,
            "order_number": "1100000106962668",
            "status": "PENDING",
            "error_reason": "",
            "transaction_type": "BUY",
            "product": "DELIVERY",
            "variety": "RL",
            "total_quantity": 500,
            "pending_quantity": 500,
            "traded_quantity": 0,
            "disclosed_quantity": 0,
            "disclosed_quantity_remaining": 0,
            "order_price": 90.00,
            "trigger_price": 0.00,
            "traded_price": 0.0,
            "validity": "DAY",
            "validity_days": 0,
            "symbol": "NIFTY",
            "series": "XX",
            "instrument_name": "",
            "expiry_date": "2023-12-28",
            "strike_price": 21500.00,
            "option_type": "PE",
            "lot_size": 50,
            "order_created_at": "2023-12-26 12:49:37",
            "initiated_by": "MOBILE-Ex",
            "modified_by": "MOBILE-Ex",
            "is_amo": false,
            "order_identifier": "app=dev_yTXpYjgu"
        }
    ],
    "metadata": {
        "total_records": 57,
        "all_records": 57,
        "completed_records": 16,
        "open_records": 1
    }
}

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