@discomedia/utils 1.0.28 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alpaca-trading-api-BMvFXbgI.js → alpaca-trading-api-mpmauojY.js} +2 -2
- package/dist/{alpaca-trading-api-BMvFXbgI.js.map → alpaca-trading-api-mpmauojY.js.map} +1 -1
- package/dist/index-frontend.cjs +1 -1
- package/dist/index-frontend.cjs.map +1 -1
- package/dist/index-frontend.mjs +1 -1
- package/dist/index-frontend.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/test.js +1 -1
- package/package.json +1 -1
package/dist/index-frontend.mjs
CHANGED
|
@@ -15407,7 +15407,7 @@ class AlpacaTradingAPI {
|
|
|
15407
15407
|
async getPortfolioDailyHistory(params) {
|
|
15408
15408
|
// Get daily and hourly history in parallel
|
|
15409
15409
|
const dailyParams = { ...params, timeframe: '1D' };
|
|
15410
|
-
const hourlyParams = { timeframe: '
|
|
15410
|
+
const hourlyParams = { timeframe: '1Min', period: '1D' };
|
|
15411
15411
|
const [dailyHistory, hourlyHistory] = await Promise.all([
|
|
15412
15412
|
this.getPortfolioHistory(dailyParams),
|
|
15413
15413
|
this.getPortfolioHistory(hourlyParams)
|