Order Book
Get the list of all orders placed during the day
Endpoint
https://connects.torusdigital.com/api/v1/order/bookHeader Parameters
Name
Value
Request Parameter
Name
Value
Mandatory
Description
Request
curl --location 'https://connects.torusdigital.com/api/v1/order/book' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"source": "N"
}'Unirest.setTimeouts(0, 0);
HttpResponse<String> response = Unirest.post("https://connects.torusdigital.com/api/v1/order/book")
.header("Authorization", "Bearer {{token}}")
.header("Content-Type", "application/json")
.body("{\n \"source\": \"N\"\n}")
.asString();package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://connects.torusdigital.com/api/v1/order/book"
method := "POST"
payload := strings.NewReader(`{
"source": "N"
}`)
client := &http.Client{}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer {{token}}")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}{
"data": [
{
"algo_id": "0",
"algo_ord_no": "0",
"avg_traded_price": 0,
"child_leg_unq_id": 0,
"client_id": "007",
"disc_quantity": 0,
"display_name": "VODAFONE IDEA LIMITED",
"dq_qty_rem": 0,
"encash_flag": "N",
"error_code": "0",
"exch_order_no": "1400000000000047",
"exch_order_time": "2024-06-11 12:35:43",
"exchange": "NSE",
"exchange_inst_name": "Other",
"expiry_date": "0001-01-01",
"expiry_flag": "NA",
"good_till_days_date": "2024-06-11",
"group_id": 1,
"identifier": "0",
"instrument": "EQUITY",
"isin": "INE669E01016",
"last_updated_time": "2024-06-11 12:35:43",
"leg_no": 1,
"lot_size": 1,
"mkt_pro_flag": "N",
"mkt_pro_value": 0,
"mkt_type": "NL",
"off_mkt_flag": "0",
"opt_type": "XX",
"order_date_time": "2024-06-11 12:35:43",
"order_no": "1121240611100",
"order_type": "LMT",
"pan_no": "ABCDE1264F",
"participant_type": "B",
"placed_by": "007",
"placed_by_entity_id": "007",
"pr_abstick_value": 0,
"price": 15.77,
"product": "I",
"product_name": "INTRADAY",
"quantity": 1,
"reason_description": "MKT to Limit Conversion",
"ref_ltp": 13.15,
"rem_qty_tot_qty": "1/1",
"remaining_quantity": 1,
"remarks": "502929",
"remarks1": "NA",
"remarks2": "NA",
"row_no": 0,
"security_id": "14366",
"segment": "E",
"serial_no": 2,
"series": "EQ",
"settlor": "90245",
"sl_abstick_value": 0,
"source": "MOBILE",
"source_name": "MOB_WEB",
"status": "Pending",
"strategy_id": "NA",
"strike_price": 0,
"symbol": "IDEA",
"tick_size": 1,
"traded_price": 0,
"traded_qty": 0,
"trailing_sl_value": 0,
"trigger_price": 0,
"txn_type": "B",
"validity": "DAY"
}
],
"message": "Success",
"status": "success"
}Parameter
Description
Last updated