{"id":239,"date":"2021-06-20T03:26:37","date_gmt":"2021-06-20T03:26:37","guid":{"rendered":"https:\/\/algomojo.com\/blog\/?p=239"},"modified":"2025-02-27T07:56:58","modified_gmt":"2025-02-27T07:56:58","slug":"placefnooptionsorder-and-placemultiorder-api-launched-for-angel-broking-algomojo-users","status":"publish","type":"post","link":"https:\/\/algomojo.com\/blog\/placefnooptionsorder-and-placemultiorder-api-launched-for-angel-broking-algomojo-users\/","title":{"rendered":"PlaceFNOOptionsOrder and PlaceMultiOrder API Launched for Angel Broking \u2013 Algomojo Users"},"content":{"rendered":"\n<p>Two major functionalities rolled out for Angel Broking Algomojo users to take advantage of Options Order and Basket Orders which helps the quant developers to reduce their coding effort significantly and improve their trading process.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/i0.wp.com\/www.marketcalls.in\/wp-content\/uploads\/2021\/06\/Trading-Platforms-1-1024x576.png?resize=1024%2C576&amp;ssl=1\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>What is PlaceFNOOptionsOrder?<\/strong><\/p>\n\n\n\n<p>PlaceFNOOptionsOrder is for sending index options orders to send ATM, ITM, OTM Options Orders in Nifty, Bank Nifty , FinNifty)<\/p>\n\n\n\n<p>Here is the sample request and response for PlaceFOOptionsOrder<\/p>\n\n\n\n<p>For detailed information on Algomojo API\u2019s visit the\u00a0<a href=\"https:\/\/docs.algomojo.com\/docs\/brokers\/login-to-broker\/an-api\">API Documentation<\/a>section<\/p>\n\n\n\n<p><strong>Endpoint URL<\/strong>&nbsp;:&nbsp;<strong>https:\/\/anapi.algomojo.com\/1.0\/PlaceFOOptionsOrder<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-javascript\">Request example :\n\n{\n    &quot;api_key&quot;:&quot;c1997d92a3bb556a67dca7d1446b70&quot;,\n    &quot;api_secret&quot;:&quot;5306433329e81ba41203653417063c&quot;,\n    &quot;data&quot;:\n      {\n        &quot;stgy_name&quot;:&quot;Options&quot;,\n        &quot;variety&quot;:&quot;NORMAL&quot;,\n        &quot;spot_sym&quot;:&quot;BANKNIFTY&quot;,\n        &quot;expiry_dt&quot;:&quot;01JUL21&quot;,\n        &quot;opt_type&quot;:&quot;CE&quot;,\n        &quot;transactiontype&quot;:&quot;BUY&quot;,\n        &quot;ordertype&quot;:&quot;MARKET&quot;,\n        &quot;quantity&quot;:&quot;25&quot;,\n        &quot;price&quot;:&quot;0&quot;,\n        &quot;triggerprice&quot;:&quot;0&quot;,\n        &quot;producttype&quot;:&quot;CARRYFORWARD&quot;,\n        &quot;strike_int&quot;:&quot;100&quot;,\n        &quot;offset&quot;:&quot;10&quot;\n      }\n}\n\nResponse example :\n\n{\n    &quot;status&quot;:true,\n    &quot;message&quot;:&quot;SUCCESS&quot;,\n    &quot;errorcode&quot;:&quot;&quot;,\n    &quot;data&quot;:\n        {\n         &quot;script&quot;: &quot;BANKNIFTY01JUL2135200CE&quot;,\n         &quot;orderid&quot;: &quot;210618001112998&quot;\n        }\n}<\/code><\/pre>\n\n\n\n<p><strong>Option Offset Control<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/i1.wp.com\/algomojo.com\/blog\/wp-content\/uploads\/2021\/01\/image.png?ssl=1\" alt=\"\"\/><\/figure>\n\n\n\n<p>one can use the offset to select the ATM, ITM,OTM Options.<\/p>\n\n\n\n<p><strong>What is PlaceMultiOrder?<\/strong><\/p>\n\n\n\n<p>It is a basket order to fire basket orders to single account or to multiple accounts.<\/p>\n\n\n\n<p><strong>Sending Basket Order to Single Account<\/strong><\/p>\n\n\n\n<p><strong>EndPoint URL : https:\/\/anapi.algomojo.com\/1.0\/PlaceFOOptionsOrder<\/strong><\/p>\n\n\n\n<p>one can use the following messaging format to send basket orders to the same account<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-javascript\">\n{\n    &quot;api_key&quot;:&quot;b48e4db30e47326722a388c03eb4ee26&quot;,\n    &quot;api_secret&quot;:&quot;fc3ed44d0914b0e6466f9ff2e3ae003a&quot;,\n    &quot;data&quot;:\n      {\n          &quot;orders&quot; : \n            [\n                {\n                &quot;order_refno&quot;:&quot;1&quot;,\n                &quot;user_apikey&quot;:&quot;b48e4db30e47326722a388c03eb4ee26&quot;,\n                &quot;api_secret&quot;:&quot;fc3ed44d0914b0e6466f9ff2e3ae003a&quot;,\n                &quot;stgy_name&quot;: &quot;Test Strategy&quot;,\n                &quot;variety&quot;:&quot;NORMAL&quot;,\n                &quot;tradingsymbol&quot;:&quot;SBIN-EQ&quot;,\n                &quot;symboltoken&quot;:&quot;3045&quot;,\n                &quot;transactiontype&quot;:&quot;BUY&quot;,\n                &quot;exchange&quot;:&quot;NSE&quot;,\n                &quot;ordertype&quot;:&quot;MARKET&quot;,\n                &quot;producttype&quot;:&quot;DELIVERY&quot;,\n                &quot;duration&quot;:&quot;DAY&quot;,\n                &quot;price&quot;:&quot;0&quot;,\n                &quot;squareoff&quot;:&quot;0&quot;,\n                &quot;stoploss&quot;:&quot;0&quot;,\n                &quot;quantity&quot;:&quot;1&quot;,\n                &quot;triggerprice&quot;: &quot;0&quot;,\n                &quot;trailingStopLoss&quot;: &quot;0&quot;,\n                &quot;disclosedquantity&quot;:&quot;0&quot;\n                },\n                {\n                &quot;order_refno&quot;:&quot;2&quot;,\n                &quot;strg_name&quot;: &quot;Test Strategy&quot;,\n                &quot;user_apikey&quot;:&quot;b48e4db30e47326722a388c03eb4ee26&quot;,\n                &quot;api_secret&quot;:&quot;fc3ed44d0914b0e6466f9ff2e3ae003a&quot;,\n                &quot;variety&quot;:&quot;NORMAL&quot;,\n                &quot;tradingsymbol&quot;:&quot;RELIANCE-EQ&quot;,\n                &quot;symboltoken&quot;:&quot;2885&quot;,\n                &quot;transactiontype&quot;:&quot;SELL&quot;,\n                &quot;exchange&quot;:&quot;NSE&quot;,\n                &quot;ordertype&quot;:&quot;MARKET&quot;,\n                &quot;producttype&quot;:&quot;DELIVERY&quot;,\n                &quot;duration&quot;:&quot;DAY&quot;,\n                &quot;price&quot;:&quot;0&quot;,\n                &quot;squareoff&quot;:&quot;0&quot;,\n                &quot;stoploss&quot;:&quot;0&quot;,\n                &quot;quantity&quot;:&quot;1&quot;,\n                &quot;triggerprice&quot;: &quot;0&quot;,\n                &quot;trailingStopLoss&quot;: &quot;0&quot;,\n                &quot;disclosedquantity&quot;:&quot;0&quot;\n                }\n            ]\n      }\n}\n\nResponse example :\n\n[\n    {\n        &quot;status&quot;: true,\n        &quot;message&quot;: &quot;SUCCESS&quot;,\n        &quot;errorcode&quot;: &quot;&quot;,\n        &quot;data&quot;: {\n            &quot;script&quot;: &quot;SBIN-EQ&quot;,\n            &quot;orderid&quot;: &quot;210428001357677&quot;\n        }\n    },\n    {\n        &quot;status&quot;: true,\n        &quot;message&quot;: &quot;SUCCESS&quot;,\n        &quot;errorcode&quot;: &quot;&quot;,\n        &quot;data&quot;: {\n            &quot;script&quot;: &quot;RELIANCE-EQ&quot;,\n            &quot;orderid&quot;: &quot;210428001357678&quot;\n        }\n    }\n]<\/code><\/pre>\n\n\n\n<p><strong>EndPoint URL : https:\/\/anapi.algomojo.com\/1.0\/PlaceFOOptionsOrder<\/strong><\/p>\n\n\n\n<p>one can use the following messaging format to send multi account orders for the same trading instruments<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-javascript\">{\n    &quot;api_key&quot;:&quot;b48e4db30e47326722a388c03eb4ee26&quot;,\n    &quot;api_secret&quot;:&quot;fc3ed44d0914b0e6466f9ff2e3ae003a&quot;,\n    &quot;data&quot;:\n      {\n          &quot;orders&quot; : \n            [\n                {\n                &quot;order_refno&quot;:&quot;1&quot;,\n                &quot;user_apikey&quot;:&quot;b48e4db30e47326722a388c03eb4ee26&quot;,\n                &quot;api_secret&quot;:&quot;fc3ed44d0914b0e6466f9ff2e3ae003a&quot;,\n                &quot;stgy_name&quot;: &quot;Test Strategy&quot;,\n                &quot;variety&quot;:&quot;NORMAL&quot;,\n                &quot;tradingsymbol&quot;:&quot;SBIN-EQ&quot;,\n                &quot;symboltoken&quot;:&quot;3045&quot;,\n                &quot;transactiontype&quot;:&quot;BUY&quot;,\n                &quot;exchange&quot;:&quot;NSE&quot;,\n                &quot;ordertype&quot;:&quot;MARKET&quot;,\n                &quot;producttype&quot;:&quot;INTRADAY&quot;,\n                &quot;duration&quot;:&quot;DAY&quot;,\n                &quot;price&quot;:&quot;0&quot;,\n                &quot;squareoff&quot;:&quot;0&quot;,\n                &quot;stoploss&quot;:&quot;0&quot;,\n                &quot;quantity&quot;:&quot;1&quot;,\n                &quot;triggerprice&quot;: &quot;0&quot;,\n                &quot;trailingStopLoss&quot;: &quot;0&quot;,\n                &quot;disclosedquantity&quot;:&quot;0&quot;\n                },\n                {\n                &quot;order_refno&quot;:&quot;2&quot;,\n                &quot;strg_name&quot;: &quot;Test Strategy&quot;,\n                &quot;user_apikey&quot;:&quot;b4g5df67hg555ssef567jhrt6ssv4&quot;,\n                &quot;api_secret&quot;:&quot;fc3ed44sdfhkllwer5559ff2e3ae003a&quot;,\n                &quot;variety&quot;:&quot;NORMAL&quot;,\n                &quot;tradingsymbol&quot;:&quot;SBIN-EQ&quot;,\n                &quot;symboltoken&quot;:&quot;3045&quot;,\n                &quot;transactiontype&quot;:&quot;BUY&quot;,\n                &quot;exchange&quot;:&quot;NSE&quot;,\n                &quot;ordertype&quot;:&quot;MARKET&quot;,\n                &quot;producttype&quot;:&quot;INTRADAY&quot;,\n                &quot;duration&quot;:&quot;DAY&quot;,\n                &quot;price&quot;:&quot;0&quot;,\n                &quot;squareoff&quot;:&quot;0&quot;,\n                &quot;stoploss&quot;:&quot;0&quot;,\n                &quot;quantity&quot;:&quot;1&quot;,\n                &quot;triggerprice&quot;: &quot;0&quot;,\n                &quot;trailingStopLoss&quot;: &quot;0&quot;,\n                &quot;disclosedquantity&quot;:&quot;0&quot;\n                }\n            ]\n      }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Two major functionalities rolled out for Angel Broking Algomojo users to take advantage of Options Order and Basket Orders which helps the quant developers to reduce their coding effort significantly and improve their trading process.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[2],"tags":[4,117,123,124],"_links":{"self":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/239"}],"collection":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":3,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":1597,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions\/1597"}],"wp:attachment":[{"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/categories?post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/algomojo.com\/blog\/wp-json\/wp\/v2\/tags?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}