Add Security to Watchlist by ID
Add a security to an existing watchlist by providing the security's internal ID
Overview
PUT apiURL/v1.0/users/{userID}/watchlists/{watchlistID}/securities/{securityId}Response
{
"Id": 17973,
"Name": "My Stocks",
"Type": "UserList",
"CreateDate": "2019-01-14T12:27:38.52Z",
"ModifyDate": "2019-01-14T12:27:38.52Z",
"ReadOnly": false,
"SecurityList": [
{
"Id": 4,
"Symbol": "AAPL",
"Description": "Apple Inc.",
"Exchange": "XNAS",
"Currency": "USD",
"AddedDate": "2012-11-29T16:05:43.993Z",
"ModifyDate": "2018-12-10T08:00:22.2867686Z",
"Type": "CommonStock",
"Source": 0,
"ParentId": -1,
"OptionType": "Undefined",
"ExpirationType": "Undefined",
"ExpirationDate": "0001-01-01T00:00:00Z",
"StrikePrice": 0,
"SeriesId": -1,
"ContractSize": 1,
"Precision": 2,
"VolumePrecision": 0,
"TickSize": 0.01,
"MarginRate": 0
},
{
"Id": 5,
"Symbol": "GOOG",
"Description": "Alphabet Inc.",
"Exchange": "XNAS",
"Currency": "USD",
"AddedDate": "2012-11-29T16:05:43.993Z",
"ModifyDate": "2017-12-14T08:00:10.1826129Z",
"Type": "CommonStock",
"Source": 0,
"ParentId": -1,
"OptionType": "Undefined",
"ExpirationType": "Undefined",
"ExpirationDate": "0001-01-01T00:00:00Z",
"StrikePrice": 0,
"SeriesId": -1,
"ContractSize": 1,
"Precision": 2,
"VolumePrecision": 0,
"TickSize": 0.01,
"MarginRate": 0
},
{
"Id": 6,
"Symbol": "MSFT",
"Description": "Microsoft Corporation",
"Exchange": "XNAS",
"Currency": "USD",
"AddedDate": "2012-11-29T16:05:43.997Z",
"ModifyDate": "2017-12-14T08:00:13.5446736Z",
"Type": "CommonStock",
"Source": 0,
"ParentId": -1,
"OptionType": "Undefined",
"ExpirationType": "Undefined",
"ExpirationDate": "0001-01-01T00:00:00Z",
"StrikePrice": 0,
"SeriesId": -1,
"ContractSize": 1,
"Precision": 2,
"VolumePrecision": 0,
"TickSize": 0.01,
"MarginRate": 0
},
{
"Id": 680410,
"Symbol": "F",
"Description": "Ford Motor Company Common Stock",
"Exchange": "XNYS",
"Currency": "USD",
"AddedDate": "2012-11-30T07:22:20.667Z",
"ModifyDate": "2017-12-14T08:00:29.2429719Z",
"Type": "CommonStock",
"Source": 0,
"ParentId": -1,
"OptionType": "Undefined",
"ExpirationType": "Undefined",
"ExpirationDate": "0001-01-01T00:00:00Z",
"StrikePrice": 0,
"SeriesId": -1,
"ContractSize": 1,
"Precision": 2,
"VolumePrecision": 0,
"TickSize": 0.01,
"MarginRate": 0
},
]
}Common Mistakes
Failing to Specify the Et-App-Key Parameter
Specifying the Security's Ticker Symbol Instead of its Internal ID
Last updated