@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.cjs
CHANGED
|
@@ -17841,7 +17841,7 @@ class AlpacaTradingAPI {
|
|
|
17841
17841
|
async getPortfolioDailyHistory(params) {
|
|
17842
17842
|
// Get daily and hourly history in parallel
|
|
17843
17843
|
const dailyParams = { ...params, timeframe: '1D' };
|
|
17844
|
-
const hourlyParams = { timeframe: '
|
|
17844
|
+
const hourlyParams = { timeframe: '1Min', period: '1D' };
|
|
17845
17845
|
const [dailyHistory, hourlyHistory] = await Promise.all([
|
|
17846
17846
|
this.getPortfolioHistory(dailyParams),
|
|
17847
17847
|
this.getPortfolioHistory(hourlyParams)
|