Error Response:
2023-06-22 06:40:37,126 Starting new HTTPS connection (1): api.dhan.co:443
2023-06-22 06:40:37,150 https://api.dhan.co:443 “POST /orders HTTP/1.1” 400 None
2023-06-22 06:40:37,150 {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘RS-9005’, ‘message’: ’ todo mandatory fields '}, ‘data’: ‘’}
My Code:
order_place = dhan.place_order(
tag="Reina",
transaction_type=dhan.BUY,
exchange_segment=dhan.FNO,
product_type=dhan.INTRA,
order_type=dhan.MARKET,
validity='DAY',
security_id='57695',
quantity=quantity,
disclosed_quantity=50,
price=0,
trigger_price=0,
after_market_order=False,
amo_time='OPEN',
bo_profit_value=0,
bo_stop_loss_Value=0,
drv_expiry_date='2023-06-22 14:30:00',
drv_options_type='CALL',
drv_strike_price=19300)
Please help us understand the issue asap. We are in process of a large account on Dhan from Zerodha. Kindly help ASAP or it would not be possible to onboard.