stock-holdings / #186
- userId
-
Filiberto Fay @filiberto.fay59
- stockId
- stocks/99
- quantity
- 279.7103
- costBasis
- 3643.6
- purchasedAt
Component variants
Medium
#186
#186
Small
stock-holdings/186 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/186" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/186"
);
const stockHolding = await res.json();import type { StockHolding } from "https://example-data.com/types/stock-holdings.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/186"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/186"
)
stock_holding = res.json() {
"id": 186,
"userId": 92,
"stockId": 99,
"quantity": 279.7103,
"costBasis": 3643.6,
"purchasedAt": "2025-11-18T21:56:27.444Z"
}