You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am getting following error while using given example in the package. Please help how to fix it.
using node v12.13.0.
c:\test\node examples\highest-open-interest.js
C:\test\node_modules\algotrader2\examples\highest-open-interest.js:28
Scheduler.onMarketOpen(5 * 60000, open).catch(error => console.error(error)); // Run every day on market open
^
TypeError: Scheduler.onMarketOpen is not a function
at Object. (C:\test\node_modules\algotrader2\examples\highest-open-interest.js:28:11)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11
The text was updated successfully, but these errors were encountered:
Hi,
I am getting following error while using given example in the package. Please help how to fix it.
using node v12.13.0.
c:\test\node examples\highest-open-interest.js
C:\test\node_modules\algotrader2\examples\highest-open-interest.js:28
Scheduler.onMarketOpen(5 * 60000, open).catch(error => console.error(error)); // Run every day on market open
^
TypeError: Scheduler.onMarketOpen is not a function
at Object. (C:\test\node_modules\algotrader2\examples\highest-open-interest.js:28:11)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
at internal/main/run_main_module.js:17:11
The text was updated successfully, but these errors were encountered: