☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14K
All Categories
0
Incidents
156
Node JS client
40
Go client
794
.Net API client
383
Kite Publisher
537
.Net / VBA / Excel (3rd party)
460
Algorithms and Strategies
1K
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
September 2024
sujith
Create JSON Payload for Basket
imshor
September 2024
in
Java client
How to automatically create Basket JSON Payload from Holdings and Order Objects
What is the field mapping.
Example of json object from a basket.
[
{
"id": 254140690,
"instrument": {
"tradingsymbol": "INFY",
"scripCode": "",
"type": "EQ",
"symbol": "INFY",
"segment": "NSE",
"exchange": "NSE",
"tickSize": 0.05,
"lotSize": 1,
"company": "INFOSYS",
"tradable": true,
"precision": 2,
"fullName": "INFY",
"niceName": "INFY",
"niceNameHTML": "INFY",
"stockWidget": true,
"exchangeToken": 1594,
"instrumentToken": 408065,
"isin": "",
"related": [
{
"tradingsymbol": "INFY",
"scripCode": "",
"type": "EQ",
"symbol": "INFY",
"segment": "BSE",
"exchange": "BSE",
"tickSize": 0.05,
"lotSize": 1,
"company": "INFOSYS",
"tradable": true,
"precision": 2,
"fullName": "INFY (INFY)",
"niceName": "INFY",
"niceNameHTML": "INFY",
"stockWidget": true,
"exchangeToken": 500209,
"instrumentToken": 128053508,
"isin": "",
"related": [],
"underlying": null,
"auctionNumber": null,
"isEquity": true,
"isWeekly": false
}
],
"underlying": null,
"auctionNumber": null,
"isEquity": true,
"isWeekly": false,
"isFound": true
},
"weight": 0,
"params": {
"transactionType": "BUY",
"product": "CNC",
"orderType": "MARKET",
"validity": "DAY",
"validityTTL": 1,
"quantity": 1,
"price": 0,
"triggerPrice": 0,
"disclosedQuantity": 0,
"variety": "regular",
"gtt": null,
"tags": []
}
}
]
sujith
September 2024
Baskets feature is not available on Kite Connect API. You will have to create and maintain it at your end.
Sign In
or
Register
to comment.