stock-holdings / #71
- userId
-
Edward Jacobson @edward_jacobson38
- stockId
- stocks/23
- quantity
- 139.4034
- costBasis
- 8301.9
- purchasedAt
Component variants
Medium
#71
#71
Small
stock-holdings/71 Related
References
curl -sS \
"https://example-data.com/api/v1/stock-holdings/71" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stock-holdings/71"
);
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/71"
);
const stockHolding = (await res.json()) as StockHolding;import requests
res = requests.get(
"https://example-data.com/api/v1/stock-holdings/71"
)
stock_holding = res.json() {
"id": 71,
"userId": 38,
"stockId": 23,
"quantity": 139.4034,
"costBasis": 8301.9,
"purchasedAt": "2025-01-26T17:31:54.074Z"
}