get https://api-lib.bambu.life/api/portfolioBuilder/v2/stockData
This endpoint returns daily funds' price information based on user’s selection of funds and date range. Following lists the information available from each fund on each day:
-
Daily dividend adjusted closing price
-
Daily opening price
-
Daily closing price
-
Daily highest price
-
Daily lowest price
-
Daily trading volume
-
Dividends paid on that day
-
Cumulative dividends since start date
Query Params
Name | Datatype | Description | Mandatory | Sample value | List of possible values | No. of decimal places | Notes |
---|---|---|---|---|---|---|---|
symbol | String | Symbols of funds | Y | AAAAX,AAXJ,QQQ | NA | may input multiple values | |
startDate | Date | return daily funds prices starting from this date | Y | 2010-08-25 | NA | format: yyyy-mm-dd | |
endDate | Date | return daily funds prices until this date | Y | 2020-02-08 | NA | format: yyyy-mm-dd | |
fields | String | Fields of price information to be returned | N | divAdjClose | divAdjClose, close, high, low, open, volume, accumulatedDividends, dividend | ||
productType | String | Filter funds by fund type | N | ETF | ETF, MUTUALFUND | NA | may input multiple values |
Response Body
Name | Datatype | Description | Sample value | No. of decimal places | Notes |
---|---|---|---|---|---|
divAdjClose | Float | Daily dividend-adjusted closing price. divAdjClose = close + accumulatedDividends | 45.30839157 | 8 | |
close | Float | Daily closing price | 45.30839157 | 8 | |
high | Float | Daily highest price | 45.44969622 | 8 | |
low | Float | Daily lowest price | 44.71824449 | 8 | |
open | Float | Daily opening price | 45.01747489 | 8 | |
volume | Integer | Daily trading volume | 429700 | 0 | |
accumulatedDividends | Float | Cumulative dividends of the fund since start date | 0.0 | 1-3 | |
date | String | Date of record | “2010-01-01” | NA | |
dividends | Float | Dividend amount on that day | 0.0 | 1-3 | |
symbol | String | Fund’s symbol | AAXJ | NA |