Skip to content

Commit

Permalink
minior update
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwang371 committed Sep 9, 2022
1 parent 21e3b64 commit de81569
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions samples/strategies/advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ addEventListener("onIdle", function () {
});

setInterval(function () {
console.log("interval call starts");
var res =
"time: " + system.strftime("2006-01-02 15:04:05", system.now()) + "\n";
res += "sma10: " + latestSma10.toFixed(2) + "\n";
Expand All @@ -124,7 +123,6 @@ setInterval(function () {
res += "atr14: " + latestAtr14.toFixed(2) + "\n";
res += "atr20: " + latestAtr20.toFixed(2) + "\n";
alert.info("Notification", res);
console.log("interval call ends");
}, 1000 * 60 * 60 * 3);

system.start();

0 comments on commit de81569

Please sign in to comment.