@watsonserve/stock-base 0.0.25 → 0.0.26

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/price-loader.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@watsonserve/stock-base",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/price-loader.js CHANGED
@@ -102,7 +102,7 @@ export default class PriceLoader extends HistoryLoader {
102
102
  return sts;
103
103
  }
104
104
  async loadPrice(market) {
105
- const stamp = getMarketCloseTime(EnMarket.USA);
105
+ const stamp = getMarketCloseTime(market);
106
106
  let sts = Promise.resolve([]);
107
107
  switch (market) {
108
108
  case EnMarket.HKEX: