☰
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
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
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.