Update Watchlist By Id
PUT {{baseUrl}}/v2/watchlists/:watchlist_id
Update the name and/or content of watchlist
Request Body
{"name"=>"us_equity", "symbols"=>["AAPL", "NVDA"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Apca-Api-Key-Id | string | ||
Apca-Api-Secret-Key | string |
RESPONSES
status: OK
{"id":"3d4933d1-12d3-4777-af29-40c4f3c50a3d","account_id":"75b4e7d9-3e50-4df9-a8bb-5b6dc5fa7e59","created_at":"2024-03-27T01:58:39.253016Z","updated_at":"2024-03-27T20:46:35.273027Z","name":"us_equity","assets":[{"id":"bea0f181-afd8-4bd2-9486-85d3fc2f10d7","class":"us_equity","exchange":"NYSE","symbol":"UBER","name":"Uber Technologies, Inc.","status":"active","tradable":true,"marginable":true,"maintenance_margin_requirement":0,"shortable":true,"easy_to_borrow":true,"fractionable":true,"attributes":null}]}