Warning: session_start(): open(/var/lib/php/sessions/sess_cdnr8ftasitalmi2ej0ism3tgk, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
concept G22PassiveTradingStrategy extends G22TradingStrategy { // A regular expression that will be used to match // the "strategy" field coming from TradingView to // distinguish this strategy from others on the same coin. settableWithVar S tradingViewRegexp; void price(double price) { if (currentPrice == price) ret; currentPrice = price; afterStep(); change(); } bool tradingViewMatch(S text) { ret empty(cleanedTradingViewRegexp()) || safeRegexpFindIC(cleanedTradingViewRegexp(), text); } S cleanedTradingViewRegexp() { ret trim(tradingViewRegexp); } LS activationStatus() { LS list = super.activationStatus(); if nempty(tradingViewRegexp) list.add("TradingView regexp: " + cleanedTradingViewRegexp()); ret list; }