OrderBook

Introducing our dynamic API that seamlessly provides real-time insights into daily trading activities. With this robust interface, you can effortlessly access a comprehensive array of order-related data for the current day, offering a holistic view of your trading endeavors.

Comprehensive Order Retrieval:

Our API empowers you to retrieve a detailed array of all orders placed within a day, along with their latest status updates. This feature ensures you stay on top of the dynamic nature of trading activities, allowing for informed decision-making.

Real-Time Order Status Updates:

Stay in the loop with our API's ability to fetch the list of orders initiated on the current day. User-initiated orders, active throughout the trading session, are automatically cleared at the session's conclusion. The response from the API provides the most up-to-date status of each order, ensuring you have a real-time pulse on your trading portfolio.

Transient Order History:

Embrace the transient nature of our order history or order book, which spans only a single day in our system. When retrieving orders, you gain access to a comprehensive list encompassing open, pending, and executed orders. This transient yet thorough overview ensures that you capture the complete spectrum of your daily trading activities.

Note

Request body not required for this API

Header Body:

Name Description
Authorization Access token obtained in after successful login
user-Id Client id of the user

Sample Response 1


									

Sample Response 2


									

POST/client-holdings-api/v1/order/book

										
cURL

Copied!

curl --location --request POST 'https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/order/book' \ --header 'user-Id: {{userid}}' \ --header 'Content-Type: application/json' \ --header 'Authorization: {{jwt_token}}'
										
python / requests

Copied!

import requests url = "https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/order/book" payload={} headers = { 'user-Id': '{{userid}}', 'Content-Type': 'application/json', 'Authorization': '{{jwt_token}}' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)
										
java / unirest

Copied!

Unirest.setTimeouts(0, 0); HttpResponse response = Unirest.post("https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/order/book") .header("Authorization", "{{jwt_token}}") .header("Content-Type": "application/json") .header("user-Id", "{{userid}}") .asString();
										
nodejs / axios

Copied!

var axios = require('axios'); var config = { method: 'post', maxBodyLength: Infinity, url: 'https://orca-uatapi.enrichmoney.in/client-holdings-api/v1/order/book', headers: { 'Authorization': '{{jwt_token}}', 'Content-Type': 'application/json', 'user-Id': '{{userid}}' } }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); });

Mail Us

api-support@enrichmoney.in

Call Us

044 40063663/044 35000470

Powered by Enrich Money