Hi Team,
I am trying to integrate Fyers API connect to webpage. However I am not able to figure out order parameters for the buttons
How to place STOPLIMIT order and Bracket orders in following button codes?
what to enter in order_type and product for Bracket order?
<!–A custom button–!> <button id=“custom-button”>Buy 2 stocks</button > <script > Fyers.ready(function(){ var fyers = new Fyers(“API_KEY”) //add basket of stocks,you can add upto 10 stocks fyers.add({ “symbol”: “NSE:RELIANCE-EQ”, “quantity”: 4, “order_type”: “LIMIT”, “transaction_type”: “BUY”, “product”:“INTRADAY”, “disclosed_quantity”:0, “price”:200 });
WWhYB2qrsx
(Inactive Member)
September 16, 2024, 7:24am
2
Hey @dev_singasane
There are specific order types , product types for the above mentioneed orders . For stop limit order type has to be 4 and for Bracket order the Product type has to be ‘BO’ .
Please refer to the docs for more information on the same :
https://myapi.fyers.in/docsv3#tag/Transaction-Info/paths/~1Transaction%20Info/options
Hey Abhishek,
I am aware of the same.
There no order types mentioned in API Connect page
https://api-connect-docs.fyers.in/docs/order/
The leading source for trustworthy and timely health and medical news and information. Providing credible health information, supportive community, and educational services by blending award-winning expertise in content, community services, expert...
Ref below image.
What we should enter for order_type for stop limit and product if it is bracket order
@WWhYB2qrsx Awaiting revert
Awaiting reply from fyers team