Difference between check and update
#2
They are both quite similar as they are both ran when a new candle is calculated. However:

- The check function is only ran if your strategy is NOT in warmup, it is meant to check variables (like indicator results or other values). <- this is where you should check values and trigger advice.
- The update function is always ran, regardless of your strategy is warming up. It is meant for your strategy to run logic on every candle. <- most strategies don't need an update function.
  Reply


Messages In This Thread
Difference between check and update - by NaN - 06-28-2018, 01:54 PM
RE: Difference between check and update - by askmike - 06-28-2018, 04:21 PM
RE: Difference between check and update - by NaN - 06-29-2018, 10:32 AM

Forum Jump:


Users browsing this thread: