Calls a function on an interval, and remembers the previous result between the update intervals. Works the same as OptimizedForInterval/DefineIntervalOptimization, but with override feature.
Custom Command Dependencies:
local interval = 15 local override = false local GetCurrentAsk = function () return CurrentPrice().ask end local result = CC_UpdateOnInterval(GetCurrentAsk, interval, override) Log(result)
Earn Up to 2,000 $BMEX Tokens Promotion Type: contest Expires: July 31, 2023Fire up your trade bots and earn up to 2,000 $BMEX, $BTC, free subscriptions, and more.