BO for MCX(CRUDEOILM) is failing

Hi @Dhan_Auto_Moderator @Hardik

I want to place BO for MCX CRUDEOILM.

Can you let me know if it is enabled ?

SEM_TRADING_SYMBOL => CRUDEOILM-17Sep2024-5750-CE

SEM_SMST_SECURITY_ID => 435955

place_order_tag_buy_0005 = dhan.place_order(
    tag="435955",
    transaction_type="BUY",
    #exchange_segment = "MCX_COMM",
    exchange_segment = dhan.MCX,
    product_type = "BO",
    order_type = "LIMIT",
    validity = 'DAY',
    security_id = "435955",
    quantity = 100,
    disclosed_quantity = 0,
    price = 100,
    trigger_price = 0,
    after_market_order = False,
    amo_time = 'OPEN',
    bo_profit_value = 14,
    bo_stop_loss_Value = 10,
    drv_expiry_date = None,
    drv_options_type = None,
    drv_strike_price = None
    )

print("place_order_tag_buy_0005")
print(place_order_tag_buy_0005)

Its giving error =>
{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘RS-9005’, ‘message’: ‘Bracket Order Not Enabled For Script’}, ‘data’: ‘’}

Hello @MukeshM

BO orders is not enabled for MCX. You can now check whether BO is enabled or not from Detailed Instrument List: Instrument List - DhanHQ Ver 1.0 / API Document

thanks @Hardik