Files
v2realbot/job.log
2024-02-22 23:05:49 +07:00

1252 lines
109 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Cron trigger: 2024-02-16 21:24:36
2024-02-17 09:24:41.627053: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:26:20
2024-02-17 09:26:24.178102: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:27:28
Cron trigger: 2024-02-16 21:27:30
Cron trigger: 2024-02-16 21:27:31
Cron trigger: 2024-02-16 21:27:42
Cron trigger: 2024-02-16 21:27:43
Cron trigger: 2024-02-16 21:31:28
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 7, in <module>
import v2realbot.controller.services as cs
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/controller/services.py", line 35, in <module>
from v2realbot.strategyblocks.inits.init_indicators import initialize_dynamic_indicators
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/strategyblocks/inits/init_indicators.py", line 7, in <module>
import mlroom.utils.mlutils as ml
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/mlroom/utils/mlutils.py", line 9, in <module>
from keras.models import model_from_json
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/__init__.py", line 8, in <module>
from keras import _tf_keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/__init__.py", line 1, in <module>
from keras._tf_keras import keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/keras/__init__.py", line 8, in <module>
from keras import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/activations/__init__.py", line 8, in <module>
from keras.src.activations import deserialize
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/__init__.py", line 1, in <module>
from keras.src import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/__init__.py", line 3, in <module>
from keras.src.activations.activations import elu
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/activations.py", line 1, in <module>
from keras.src import backend
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/__init__.py", line 33, in <module>
from keras.src.backend.tensorflow import * # noqa: F403
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/__init__.py", line 1, in <module>
from keras.src.backend.tensorflow import core
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/core.py", line 4, in <module>
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
Cron trigger: 2024-02-16 21:31:52
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 7, in <module>
import v2realbot.controller.services as cs
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/controller/services.py", line 35, in <module>
from v2realbot.strategyblocks.inits.init_indicators import initialize_dynamic_indicators
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/strategyblocks/inits/init_indicators.py", line 7, in <module>
import mlroom.utils.mlutils as ml
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/mlroom/utils/mlutils.py", line 9, in <module>
from keras.models import model_from_json
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/__init__.py", line 8, in <module>
from keras import _tf_keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/__init__.py", line 1, in <module>
from keras._tf_keras import keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/keras/__init__.py", line 8, in <module>
from keras import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/activations/__init__.py", line 8, in <module>
from keras.src.activations import deserialize
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/__init__.py", line 1, in <module>
from keras.src import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/__init__.py", line 3, in <module>
from keras.src.activations.activations import elu
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/activations.py", line 1, in <module>
from keras.src import backend
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/__init__.py", line 33, in <module>
from keras.src.backend.tensorflow import * # noqa: F403
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/__init__.py", line 1, in <module>
from keras.src.backend.tensorflow import core
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/core.py", line 4, in <module>
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
Cron trigger: 2024-02-16 21:32:53
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 7, in <module>
import v2realbot.controller.services as cs
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/controller/services.py", line 35, in <module>
from v2realbot.strategyblocks.inits.init_indicators import initialize_dynamic_indicators
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/strategyblocks/inits/init_indicators.py", line 7, in <module>
import mlroom.utils.mlutils as ml
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/mlroom/utils/mlutils.py", line 9, in <module>
from keras.models import model_from_json
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/__init__.py", line 8, in <module>
from keras import _tf_keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/__init__.py", line 1, in <module>
from keras._tf_keras import keras
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/_tf_keras/keras/__init__.py", line 8, in <module>
from keras import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/activations/__init__.py", line 8, in <module>
from keras.src.activations import deserialize
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/__init__.py", line 1, in <module>
from keras.src import activations
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/__init__.py", line 3, in <module>
from keras.src.activations.activations import elu
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/activations/activations.py", line 1, in <module>
from keras.src import backend
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/__init__.py", line 33, in <module>
from keras.src.backend.tensorflow import * # noqa: F403
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/__init__.py", line 1, in <module>
from keras.src.backend.tensorflow import core
File "/Users/davidbrazda/Documents/Development/python/v2trading/.venv/lib/python3.10/site-packages/keras/src/backend/tensorflow/core.py", line 4, in <module>
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'
Cron trigger: 2024-02-16 21:38:52
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:50:14
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:50:41
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:58:56
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:59:08
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 21:59:14
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 22:39:19
Calendar data fetch successful 2024-12-31 2024-12-31
Market open at 2024-12-31 09:30:00-05:00 and close at 2024-12-31 16:00:00-05:00
current_market_datetime_str: 2024-12-31 09:30:00
current_time_str: 09:30
Candidates fetched, start: 0 stop: 0
CALL FINISHED, with 2024-12-31 09:30:00-04:56 RESULT: -1, No candidates found for 2024-12-31 09:30:00-04:56 and US
Cron trigger: 2024-02-16 23:29:34
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 207, in <module>
print("SCheduler NY time: ", datetime.strptime("debug_date", "%d.%m.%Y %H:%M"))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data 'debug_date' does not match format '%d.%m.%Y %H:%M'
Cron trigger: 2024-02-16 23:29:47
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 207, in <module>
print("SCheduler NY time: ", datetime.strptime("debug_date", "%d.%m.%Y %H:%M"))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/_strptime.py", line 349, in _strptime
raise ValueError("time data %r does not match format %r" %
ValueError: time data 'debug_date' does not match format '%d.%m.%Y %H:%M'
Cron trigger: 2024-02-16 23:31:05
Scheduler.py NY time: 16.02.2024 23:31
Calendar data fetch successful 2024-02-16 2024-02-16
Market open at 2024-02-16 09:30:00-05:00 and close at 2024-02-16 16:00:00-05:00
current_market_datetime_str: 2024-02-16 23:31:09
current_time_str: 23:31
Candidates fetched, start: 1 stop: 3
START - Looping over 1 candidates
Candidate: start
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 210, in <module>
res, msg = startstop_scheduled(debug_date=debug_date, market="US")
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 87, in startstop_scheduled
if cs.is_stratin_running(record.strat_id):
AttributeError: 'str' object has no attribute 'strat_id'
Cron trigger: 2024-02-17 08:23:05
Traceback (most recent call last):
File "/Users/davidbrazda/Documents/Development/python/v2trading/v2realbot/scheduler/scheduler.py", line 6, in <module>
import pytz # Install using 'pip install pytz'
^^^^^^^^^^^
ModuleNotFoundError: No module named 'pytz'
Current 0 scheduled jobs: []
Current 0 scheduled jobs: []
Current 0 scheduled jobs: []
Hello
Current 0 scheduled jobs: []
Current 0 scheduled jobs: []
starting insert_queue2db thread
Current 0 scheduled jobs: []
Updated 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Current 0 scheduled jobs: []
Updated 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Updated 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=start_runman_record)>, <Job 
(id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, 
<Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 
name=stop_runman_record)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
********** WS Streamer STARTED **********
Updated 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Updated 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Current 0 scheduled jobs: []
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:05:12.162884-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 21:50:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 21:50:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Updated 9 scheduled jobs.
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:06:39.698718-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:07:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:07:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Updated 9 scheduled jobs.
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=start_runman_record)>, <Job 
(id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=start_runman_record)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=stop_runman_record)>, 
<Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=stop_runman_record)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a 
name=start_runman_record)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=stop_runman_record)>, <Job 
(id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=start_runman_record)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=stop_runman_record)>]
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:07:11.334985-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:07:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:07:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: start_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: stop_runman_record
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Updated 9 scheduled jobs.
Current 0 scheduled jobs: []
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:17:40.327829-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:07:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:07:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job 
(id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job 
(id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:18:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:18:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:18:00.488891-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Startj g record bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Stopping record bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
strategy 15687653-04fb-46aa-8806-ef4af4e45d96 not RUNNING or not distinctive (manually launched or two strat_ids in scheduler)
Hello
Calendar data fetch successful 2024-02-20 2024-02-20
OPEN:2024-02-20 09:30:00-05:00 CLOSE:2024-02-20 16:00:00-05:00
StrategyInstance fetched: 15687653-04fb-46aa-8806-ef4af4e45d96
RunRequest(
id=UUID('15687653-04fb-46aa-8806-ef4af4e45d96'),
account=<Account.ACCOUNT1: 'ACCOUNT1'>,
 mode=<Mode.PAPER: 'paper'>,
note='SCHED 22:18-22:19',
debug=False,
strat_json='{"id": "15687653-04fb-46aa-8806-ef4af4e45d96", "id2": -2013, "name": "SUPERTREND TV", "symbol": "BAC", "class_name": "StrategyClassicSL", "script": 
"ENTRY_ClassicSL_v01", "open_rush": 0, "close_rush": 0, "stratvars_conf": "[stratvars]\\r\\n#obecne platici pro vsechny signaly \\r\\n #abs profit/loss to suspend 
strategy\\r\\n #max_sum_profit_to_quit = 300\\r\\n #max_sum_loss_to_quit = -300\\r\\n\\r\\n #procenta profit/loss to suspend startegy\\r\\n 
#max_sum_profit_to_quit_rel = 0.3\\r\\n #max_sum_loss_to_quit_rel = -0.3\\r\\n normalize_ticks = true\\r\\n normalized_base_price = 30\\r\\n long_enabled = 
true\\r\\n short_enabled = true\\r\\n chunk = 2000\\r\\n maxpozic = 4000\\r\\n #nastavuje pevny profit\\r\\n profit = 0.25\\r\\n max_profit = 0.30\\r\\n 
consolidation_bar_count = 5\\r\\n #po minutach\\r\\n window_open = 0\\r\\n window_close = 360\\r\\n signal_only_on_confirmed = true\\r\\n 
forced_exit_window_start = 361\\r\\n forced_exit_window_end = 389\\r\\n #pouze posledni minutu prod\\u00e1me, ne\\u010dek\\u00e1me na breakeven\\r\\n 
#forced_exit_breakeven_period = false\\r\\n\\r\\n[stratvars.indicators.atr10]\\r\\n #[stratvars.indicators.atr10]\\r\\n type = \'ATR\'\\r\\n length = 10\\r\\n 
on_confirmed_only = true\\r\\n[stratvars.indicators.MESA]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n returns = [\\"mama\\", \\"fama\\"]\\r\\n 
on_confirmed_only = true\\r\\n cp.defval = \'close\'\\r\\n #cp.lookback = 100\\r\\n cp.type = \'MAMA\'\\r\\n cp.params.series = [\'close\']\\r\\n 
#cp.params.keys.fastlimit = 0\\r\\n #cp.params.keys.slowlimit = 0\\r\\n scale = \\"right\\"\\r\\n[stratvars.indicators.supertrend]\\r\\n output = \'bar\'\\r\\n 
type = \'custom\'\\r\\n returns = [\'basic_up\',\'basic_dn\',\'final_up\', \'final_down\', \'trend\']\\r\\n scale = [\'right\', \'right\', \'right\', \'right\', 
\'signal\']\\r\\n subtype = \'classed\'\\r\\n on_confirmed_only = true\\r\\n cp.class_name = \'SuperTrend\'\\r\\n cp.next = [\'high\', \'low\', \'close\']\\r\\n 
[stratvars.indicators.supertrend.cp.init] #params is send to init, opt\\r\\n atr_period=14\\r\\n multiplier=1.2\\r\\n[stratvars.indicators.supertrend1]\\r\\n output =
\\"bar\\"\\r\\n type = \\"custom\\"\\r\\n returns = [\'dn\',\'up\',\'trend1\']\\r\\n scale = [\'right\',\'right\',\'signal\']\\r\\n subtype = \\"classed\\"\\r\\n 
on_confirmed_only = true\\r\\n cp.class_name = \\"SuperTrend1\\"\\r\\n cp.next = [\'high\',\'low\',\'close\'] #optional, source posilany explicitne do next ve 
stejnojmenn\\u00e9m parametru, note that next has access to state\\r\\n #cp.next_mapping = [\\"data\\"] \\r\\n [stratvars.indicators.supertrend1.cp.init] #params is send to
init, opt\\r\\n period=14\\r\\n multiplier=1.2\\r\\n[stratvars.indicators.supertrendTV]\\r\\noutput = \'bar\'\\r\\ntype = \'custom\'\\r\\nreturns = [\'dnB\', \'upB\', 
\'trendB\']\\r\\nscale = [\'right\', \'right\', \'signal\']\\r\\nsubtype = \'classed\'\\r\\non_confirmed_only = true\\r\\ncp.class_name = \'SuperTrendTV\'\\r\\ncp.next = 
[\'high\', \'low\', \'close\']\\r\\n[stratvars.indicators.supertrendBard.cp.init] #params is send to init, opt\\r\\natr_period = 10\\r\\natr_multiplier = 
3\\r\\n[stratvars.indicators.mama_angle3]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.lookback = 10\\r\\n 
cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'mama\']\\r\\n cp.params.keys.timeperiod = 3\\r\\n scale = 
\'linreg\'\\r\\n[stratvars.indicators.ht_trendline]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.defval = 
\\"close\\" #pokud nejsou hodnoty, vracime close\\r\\n #cp.lookback = 100 #celkovy lookback pro vsechny serie\\r\\n cp.type = \'HT_TRENDLINE\'\\r\\n cp.params.series 
= [\\"close\\"] #vstupni serie pro pozicni parametry pro ta-lib\\r\\n #cp.params.keys.timeperiod = 14 #keyword argumenty pro ta-lib\\r\\n scale = 
\\"right\\"\\r\\n[stratvars.indicators.ht_dcperiod]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n #cp.source = 
\'close\'\\r\\n cp.defval = \\"close\\" #pokud nejsou hodnoty, vracime close\\r\\n cp.lookback = 100 #celkovy lookback pro vsechny serie\\r\\n cp.type = 
\'HT_DCPERIOD\'\\r\\n cp.params.series = [\\"close\\"] #vstupni serie pro pozicni parametry pro ta-lib\\r\\n #cp.params.keys.timeperiod = 14 #keyword argumenty pro 
ta-lib\\r\\n scale = \\"period\\"\\r\\n[stratvars.indicators.bbands]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n returns = [\\"upperband\\", 
\\"middleband\\", \\"lowerband\\"]\\r\\n on_confirmed_only = true\\r\\n cp.defval = \'close\'\\r\\n cp.lookback = 100\\r\\n cp.type = \'BBANDS\'\\r\\n 
cp.params.series = [\'close\']\\r\\n cp.params.keys.timeperiod = 5\\r\\n cp.params.keys.nbdevup=2\\r\\n cp.params.keys.nbdevdn=2\\r\\n 
cp.params.keys.matype=0\\r\\n scale = \'right\'\\r\\n[stratvars.indicators.vwap_cum]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only
= true\\r\\n cp.convertToNumpy = [\'hlcc4\',\'volume\']\\r\\n cp.expression = \'np.sum((hlcc4 * volume) / np.sum(volume))\'\\r\\n scale = 
\'right\'\\r\\n[stratvars.indicators.vwap_angle5]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.lookback = 5\\r\\n 
cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'vwap_cum\']\\r\\n cp.params.keys.timeperiod = 5\\r\\n scale = 
\'linreg\'\\r\\n[stratvars.indicators.div_vwap_cum]\\r\\n type = \'custom\'\\r\\n subtype = \'divergence\'\\r\\n on_confirmed_only = true\\r\\n cp.source1 = 
\'close\'\\r\\n cp.source2 = \'vwap_cum\'\\r\\n cp.type = \'reln\'\\r\\n scale = \'left\'\\r\\n[stratvars.indicators.div_vwap_cum_mul] #multiplikator predchoziho 
indikatoru kvuli lepsimu zobrazeni a zaokrouhleni\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n cp.expression = \'div_vwap_cum[-1]*1000\'\\r\\n 
scale = \'own\'\\r\\n[stratvars.indicators.profit]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.expression = 
\'state.profit\'\\r\\n[stratvars.indicators.rsi14]\\r\\n output = \\"bar\\"\\r\\n type = \'custom\'\\r\\n subtype = \'rsi\'\\r\\n MA_length = 10 #vytvori dalsi 
stejnojmenny indikator s postfixem _MA\\r\\n on_confirmed_only = true\\r\\n cp.source = \'vwap\'\\r\\n cp.length = 15\\r\\n cp.start = \\"linear\\"\\r\\n scale 
= \'left\'\\r\\n[stratvars.indicators.weekday]\\r\\n output = \\"bar\\"\\r\\n type = \\"custom\\"\\r\\n subtype = \\"classed\\"\\r\\n on_confirmed_only = 
true\\r\\n cp.class_name = \\"WeekDay\\"\\r\\n[stratvars.indicators.volumebar]\\r\\n type = \'custom\'\\r\\n subtype = \'barparams\'\\r\\n on_confirmed_only = 
true\\r\\n cp.source = \'volume\'\\r\\n[stratvars.indicators.indexbar]\\r\\n type = \'custom\'\\r\\n subtype = \'barparams\'\\r\\n on_confirmed_only = true\\r\\n 
cp.source = \'index\'\\r\\n[stratvars.indicators.volumebarema]\\r\\n type = \'custom\'\\r\\n subtype = \'ma\'\\r\\n on_confirmed_only = true\\r\\n cp.source = 
\'volumebar\'\\r\\n cp.lookback = 30\\r\\n cp.type = \'ema\'\\r\\n[stratvars.indicators.voldiv]\\r\\n type = \'custom\'\\r\\n subtype = \'divergence\'\\r\\n 
on_confirmed_only = true\\r\\n cp.source1 = \'volumebar\'\\r\\n cp.source2 = \'volumebarema\'\\r\\n cp.type = \'reln\'\\r\\n scale = 
\\"left\\"\\r\\n[stratvars.indicators.div_vwap_angle6]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.lookback = 
10\\r\\n cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'div_vwap_cum\']\\r\\n cp.params.keys.timeperiod = 10\\r\\n scale = 
\'linreg\'\\r\\n[stratvars.indicators.signal]\\r\\n output = \\"bar\\"\\r\\n type = \'custom\'\\r\\n subtype = \'conditional\'\\r\\n on_confirmed_only = true\\r\\n
scale = \'left\'\\r\\n[stratvars.indicators.signal.cp.conditions.buy]\\r\\n #supertrend up\\r\\n trendB.AND.change_val_if_equals = 1\\r\\n #cena je nad vwapem urcitou
divergence\\r\\n div_vwap_cum_mul.AND.change_val_if_above = 4\\r\\n #strmy uhel divergence\\r\\n div_vwap_angle6.AND.change_val_if_above = 0.023\\r\\n true_val = 
1\\r\\n[stratvars.indicators.signal.cp.conditions.sell]\\r\\n trendB.AND.change_val_if_equals = -1\\r\\n #cena je pod vwapem o danou divergen ce\\r\\n 
div_vwap_cum_mul.AND.change_val_if_below = -3\\r\\n\\r\\n #uhel divergence je strm\\u00fd\\r\\n div_vwap_angle6.AND.change_val_if_below = -0.009\\r\\n true_val = 
-1\\r\\n[stratvars.indicators.sl_long]\\r\\n #[stratvars.indicators.freq_period_multiplier]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n 
on_confirmed_only = true\\r\\n cp.expression = \'close[-1]-(atr10[-1]*2)\'\\r\\n scale= \\"right\\"\\r\\n[stratvars.indicators.sl_short]\\r\\n 
#[stratvars.indicators.freq_period_multiplier]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.expression = 
\'close[-1]+(atr10[-1]*2)\'\\r\\n scale= \\"right\\"\\r\\n[stratvars.indicators.long_goal]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n 
on_confirmed_only = true\\r\\n cp.expression = \'close[-1]+(atr10[-1]*3)\'\\r\\n scale = \'right\'\\r\\n[stratvars.indicators.short_goal]\\r\\n type = 
\'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.expression = \'close[-1]-(atr10[-1]*3)\'\\r\\n scale = 
\'right\'\\r\\n[stratvars.signals.main]\\r\\n signal_only_on_confirmed = true\\r\\n next_signal_offset_from_last_exit = 0\\r\\n #6.5h, 360=6h, \\r\\n window_open =
2\\r\\n window_close = 360\\r\\n min_bar_index = 0\\r\\n #activated = true\\r\\n profit = 0.50\\r\\n #profit_short = 0.07\\r\\n #profit_short = 
\\"short_goal\\"\\r\\n #profit_long = 0.07\\r\\n #profit_long = \\"long_goal\\"\\r\\n #ochrana proti extremnim hodntoam z indikatoru - fallback\\r\\n 
profit_min_ind_tick_value = 0.03\\r\\n max_profit = 0.50\\r\\n #SL_defval_short = \\"sl_short\\"\\r\\n #SL_defval_short = \\"high1bars\\"\\r\\n #SL_defval_long = 
\\"sl_long\\"\\r\\n SL_defval_short = 0.30\\r\\n SL_defval_long = 0.30\\r\\n SL_trailing_enabled_short = false\\r\\n SL_trailing_enabled_long = false\\r\\n 
SL_trailing_offset_short = 0.04\\r\\n SL_trailing_offset_long = 0.04\\r\\n SL_trailing_step_short = 0.01\\r\\n SL_trailing_step_long = 0.01\\r\\n 
SL_trailing_stop_at_breakeven_short = false\\r\\n SL_trailing_stop_at_breakeven_long = false\\r\\n reverse_for_SL_exit_short = \\"no\\"\\r\\n reverse_for_SL_exit_long
= \\"cond\\"\\r\\n #[0.236, 0.382, 0.618]\\r\\n #SL_opt_exit_levels_short = [0.236, 0.382, 0.618]\\r\\n #SL_opt_exit_levels_long = [0.236, 0.382, 0.618]\\r\\n 
##SL_opt_exit_sizes_short = [0.2]\\r\\n #SL_opt_exit_sizes_long = [0.2]\\r\\n[stratvars.signals.main.conditions]\\r\\n #preconditions \\r\\n\\r\\n #SHORT ENTRY\\r\\n 
signal.AND.go_short_if_equals = -1\\r\\n\\r\\n #pouze pri prepnuti\\r\\n #vwap_angle5.AND.go_short_if_below = -0.1\\r\\n \\r\\n #trendB.AND.go_short_if_fallingc = 
2\\r\\n #signal_linreg.go_short_if_equals = -1\\r\\n #signal.go_short_if_equals = -1\\r\\n #signal_conf_short.go_short_if_equals = 1\\r\\n #EXIT PROTECTION\\r\\n 
#drzime dokud stoupame\\r\\n #slopetick5.dont_exit_long_if_above = 0\\r\\n #mama_angle3.dont_exit_long_if_above = 0\\r\\n #mama_angle3.dont_exit_short_if_below = 0 
\\r\\n #signal_linreg.dont_exit_short_if_equals = -1 \\r\\n #EXIT - drzime po dobu trvani signalu\\r\\n signal.exit_long_if_not_equals = 1\\r\\n 
signal.exit_short_if_not_equals = -1\\r\\n #okamzity exit, kdyz je pod 0 ??\\r\\n #signal_linreg.exit_long_if_not_equals = 1\\r\\n 
#signal_linreg.exit_short_if_not_equals = -1\\r\\n\\r\\n #LONG ENTRY\\r\\n signal.go_long_if_equals = 1\\r\\n\\r\\n #vwap_angle5.AND.go_long_if_above = 0.1\\r\\n 
#trendB.AND.go_long_if_risingc = 2\\r\\n #signal_linreg.go_long_if_equals = 1\\r\\n\\r\\n #reverse\\r\\n #trend1.AND.reverse_long_if_equals = -1\\r\\n 
#vwap_angle5.AND.reverse_long_if_below = -0.05\\r\\n #trend1.AND.reverse_short_if_equals = 1\\r\\n #vwap_angle5.AND.reverse_short_if_above = 0.05\\r\\n 
#signal_conf_sell.reverse_long_if_equals = 1\\r\\n\\r\\n #CONDITIONAL REVERSE ONLY\\r\\n #slope1.slreverseonly_long_if_below = 0\\r\\n 
#slope1.slreverseonly_short_if_above = 0\\r\\n\\r\\n[stratvars.exit]\\r\\n #maximalni stoploss, fallout pro \\"exit_short_if\\" direktivy\\r\\n SL_defval_short = 
0.10\\r\\n SL_defval_long = 0.02\\r\\n SL_trailing_enabled_short = false\\r\\n SL_trailing_enabled_long = false\\r\\n #minimalni vzdalenost od aktualni SL, aby se 
SL posunula na \\r\\n SL_trailing_offset_short = 0.02\\r\\n SL_trailing_offset_long = 0.02\\r\\n #zda trailing zastavit na brakeeven\\r\\n 
SL_trailing_stop_at_breakeven_short = false\\r\\n SL_trailing_stop_at_breakeven_long = false\\r\\n[stratvars.exit.conditions]\\r\\n #obecne exit conditions platne pro 
vsechny\\r\\n #slope20.exit_long_if_below = 20\\r\\n #slope10.exit_short_if_above = 0.3\\r\\n\\r\\n #TBD - mozna udelat EOD exit jako direktivu\\r\\n", 
"add_data_conf": "[[add_data]]\\r\\n symbol=\\"BAC\\"\\r\\n rectype= \\"cbar\\"\\r\\n resolution=12\\r\\n update_ltp=true\\r\\n align=\\"round\\"\\r\\n 
mintick=0\\r\\n minsize=100\\r\\n exthours=false", "note": "", "history": "\\nREASON:STOP Signal received\\nREASON:STOP Signal received\\nREASON:STOP Signal 
received\\nREASON:STOP Signal received"}',
ilog_save=False,
bt_from=None,
bt_to=None,
weekdays_filter=[],
test_batch_id=None,
batch_id='22',
cash=100000,
skip_cache=False
)
RUN 7d8198bd-bbc7-4dbb-a37f-c1df8edde461 INITIATED
instance vytvorena <v2realbot.strategy.StrategyClassicSL.StrategyClassicSL object at 0x144d11cf0>
adding stream
{
'symbol': 'BAC',
'rectype': <RecordType.CBAR: 'cbar'>,
 'resolution': 12,
 'update_ltp': True,
 'align': <StartBarAlign.ROUND: 'round'>,
'mintick': 0,
'minsize': 100,
'exthours': False
}
stav pred pridavanim []
websocket zatim nebezi, pouze pridavame do pole
Starting strategy SUPERTREND TV
Spuštěna SUPERTREND TV
********** WS Streamer - run WS-LDR-SUPERTREND TV **********
symbol ve streams BAC
subscribed to BAC
WS-LDR-SUPERTREND TV it is not running, starting by calling RUN
********** WS Streamer STARTED **********
********** WS Order Update Streamer started for SUPERTREND TV **********
creating workdict for buy value {'AND': [('trendB', 'change_val_if_equals', 1), ('div_vwap_cum_mul', 'change_val_if_above', 4), ('div_vwap_angle6', 'change_val_if_above',
0.023)], 'OR': []}
creating workdict for sell value {'AND': [('trendB', 'change_val_if_equals', -1), ('div_vwap_cum_mul', 'change_val_if_below', -3), ('div_vwap_angle6', 'change_val_if_below',
-0.009)], 'OR': []}
Strategy 15687653-04fb-46aa-8806-ef4af4e45d96 started successfully.
Current 9 scheduled jobs: [<Job (id=scheduler_testinterval name=print_hello)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job 
(id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job 
(id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 
name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_testinterval
Next Run Time: 2024-02-20 22:18:11.020523-05:00
Job Function: print_hello
Trigger: interval[0:00:10]
Job Args:
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
APS jobs initialized
Record in db updated bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Current 0 scheduled jobs: []
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='18']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='18']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Current 8 scheduled jobs: [<Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='18']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='18']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Current 0 scheduled jobs: []
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:18:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='18']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:29:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='29']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='16', minute='0']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Current 8 scheduled jobs: [<Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:32:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='32']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:33:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='33']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='16', minute='0']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Startj g record bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Calendar data fetch successful 2024-02-20 2024-02-20
OPEN:2024-02-20 09:30:00-05:00 CLOSE:2024-02-20 16:00:00-05:00
StrategyInstance fetched: 15687653-04fb-46aa-8806-ef4af4e45d96
RunRequest(
id=UUID('15687653-04fb-46aa-8806-ef4af4e45d96'),
account=<Account.ACCOUNT1: 'ACCOUNT1'>,
 mode=<Mode.PAPER: 'paper'>,
note='SCHED 22:32-22:33',
debug=False,
strat_json='{"id": "15687653-04fb-46aa-8806-ef4af4e45d96", "id2": -2013, "name": "SUPERTREND TV", "symbol": "BAC", "class_name": "StrategyClassicSL", "script": "ENTRY_ClassicSL_v01", "open_rush": 0, 
"close_rush": 0, "stratvars_conf": "[stratvars]\\r\\n#obecne platici pro vsechny signaly \\r\\n #abs profit/loss to suspend strategy\\r\\n #max_sum_profit_to_quit = 300\\r\\n #max_sum_loss_to_quit = 
-300\\r\\n\\r\\n #procenta profit/loss to suspend startegy\\r\\n #max_sum_profit_to_quit_rel = 0.3\\r\\n #max_sum_loss_to_quit_rel = -0.3\\r\\n normalize_ticks = true\\r\\n normalized_base_price = 
30\\r\\n long_enabled = true\\r\\n short_enabled = true\\r\\n chunk = 2000\\r\\n maxpozic = 4000\\r\\n #nastavuje pevny profit\\r\\n profit = 0.25\\r\\n max_profit = 0.30\\r\\n 
consolidation_bar_count = 5\\r\\n #po minutach\\r\\n window_open = 0\\r\\n window_close = 360\\r\\n signal_only_on_confirmed = true\\r\\n forced_exit_window_start = 361\\r\\n 
forced_exit_window_end = 389\\r\\n #pouze posledni minutu prod\\u00e1me, ne\\u010dek\\u00e1me na breakeven\\r\\n #forced_exit_breakeven_period = false\\r\\n\\r\\n[stratvars.indicators.atr10]\\r\\n 
#[stratvars.indicators.atr10]\\r\\n type = \'ATR\'\\r\\n length = 10\\r\\n on_confirmed_only = true\\r\\n[stratvars.indicators.MESA]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n 
returns = [\\"mama\\", \\"fama\\"]\\r\\n on_confirmed_only = true\\r\\n cp.defval = \'close\'\\r\\n #cp.lookback = 100\\r\\n cp.type = \'MAMA\'\\r\\n cp.params.series = [\'close\']\\r\\n 
#cp.params.keys.fastlimit = 0\\r\\n #cp.params.keys.slowlimit = 0\\r\\n scale = \\"right\\"\\r\\n[stratvars.indicators.supertrend]\\r\\n output = \'bar\'\\r\\n type = \'custom\'\\r\\n returns = 
[\'basic_up\',\'basic_dn\',\'final_up\', \'final_down\', \'trend\']\\r\\n scale = [\'right\', \'right\', \'right\', \'right\', \'signal\']\\r\\n subtype = \'classed\'\\r\\n on_confirmed_only = true\\r\\n 
cp.class_name = \'SuperTrend\'\\r\\n cp.next = [\'high\', \'low\', \'close\']\\r\\n [stratvars.indicators.supertrend.cp.init] #params is send to init, opt\\r\\n atr_period=14\\r\\n 
multiplier=1.2\\r\\n[stratvars.indicators.supertrend1]\\r\\n output = \\"bar\\"\\r\\n type = \\"custom\\"\\r\\n returns = [\'dn\',\'up\',\'trend1\']\\r\\n scale = [\'right\',\'right\',\'signal\']\\r\\n
subtype = \\"classed\\"\\r\\n on_confirmed_only = true\\r\\n cp.class_name = \\"SuperTrend1\\"\\r\\n cp.next = [\'high\',\'low\',\'close\'] #optional, source posilany explicitne do next ve 
stejnojmenn\\u00e9m parametru, note that next has access to state\\r\\n #cp.next_mapping = [\\"data\\"] \\r\\n [stratvars.indicators.supertrend1.cp.init] #params is send to init, opt\\r\\n period=14\\r\\n 
multiplier=1.2\\r\\n[stratvars.indicators.supertrendTV]\\r\\noutput = \'bar\'\\r\\ntype = \'custom\'\\r\\nreturns = [\'dnB\', \'upB\', \'trendB\']\\r\\nscale = [\'right\', \'right\', \'signal\']\\r\\nsubtype = 
\'classed\'\\r\\non_confirmed_only = true\\r\\ncp.class_name = \'SuperTrendTV\'\\r\\ncp.next = [\'high\', \'low\', \'close\']\\r\\n[stratvars.indicators.supertrendBard.cp.init] #params is send to init, 
opt\\r\\natr_period = 10\\r\\natr_multiplier = 3\\r\\n[stratvars.indicators.mama_angle3]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.lookback = 
10\\r\\n cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'mama\']\\r\\n cp.params.keys.timeperiod = 3\\r\\n scale = \'linreg\'\\r\\n[stratvars.indicators.ht_trendline]\\r\\n type = 
\'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n cp.defval = \\"close\\" #pokud nejsou hodnoty, vracime close\\r\\n #cp.lookback = 100 #celkovy lookback pro vsechny 
serie\\r\\n cp.type = \'HT_TRENDLINE\'\\r\\n cp.params.series = [\\"close\\"] #vstupni serie pro pozicni parametry pro ta-lib\\r\\n #cp.params.keys.timeperiod = 14 #keyword argumenty pro ta-lib\\r\\n 
scale = \\"right\\"\\r\\n[stratvars.indicators.ht_dcperiod]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = true\\r\\n #cp.source = \'close\'\\r\\n cp.defval = 
\\"close\\" #pokud nejsou hodnoty, vracime close\\r\\n cp.lookback = 100 #celkovy lookback pro vsechny serie\\r\\n cp.type = \'HT_DCPERIOD\'\\r\\n cp.params.series = [\\"close\\"] #vstupni serie pro 
pozicni parametry pro ta-lib\\r\\n #cp.params.keys.timeperiod = 14 #keyword argumenty pro ta-lib\\r\\n scale = \\"period\\"\\r\\n[stratvars.indicators.bbands]\\r\\n type = \'custom\'\\r\\n subtype = 
\'talib_ind\'\\r\\n returns = [\\"upperband\\", \\"middleband\\", \\"lowerband\\"]\\r\\n on_confirmed_only = true\\r\\n cp.defval = \'close\'\\r\\n cp.lookback = 100\\r\\n cp.type = \'BBANDS\'\\r\\n
cp.params.series = [\'close\']\\r\\n cp.params.keys.timeperiod = 5\\r\\n cp.params.keys.nbdevup=2\\r\\n cp.params.keys.nbdevdn=2\\r\\n cp.params.keys.matype=0\\r\\n scale = 
\'right\'\\r\\n[stratvars.indicators.vwap_cum]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.convertToNumpy = [\'hlcc4\',\'volume\']\\r\\n 
cp.expression = \'np.sum((hlcc4 * volume) / np.sum(volume))\'\\r\\n scale = \'right\'\\r\\n[stratvars.indicators.vwap_angle5]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n 
on_confirmed_only = true\\r\\n cp.lookback = 5\\r\\n cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'vwap_cum\']\\r\\n cp.params.keys.timeperiod = 5\\r\\n scale = 
\'linreg\'\\r\\n[stratvars.indicators.div_vwap_cum]\\r\\n type = \'custom\'\\r\\n subtype = \'divergence\'\\r\\n on_confirmed_only = true\\r\\n cp.source1 = \'close\'\\r\\n cp.source2 = 
\'vwap_cum\'\\r\\n cp.type = \'reln\'\\r\\n scale = \'left\'\\r\\n[stratvars.indicators.div_vwap_cum_mul] #multiplikator predchoziho indikatoru kvuli lepsimu zobrazeni a zaokrouhleni\\r\\n type = 
\'custom\'\\r\\n subtype = \'expression\'\\r\\n cp.expression = \'div_vwap_cum[-1]*1000\'\\r\\n scale = \'own\'\\r\\n[stratvars.indicators.profit]\\r\\n type = \'custom\'\\r\\n subtype = 
\'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.expression = \'state.profit\'\\r\\n[stratvars.indicators.rsi14]\\r\\n output = \\"bar\\"\\r\\n type = \'custom\'\\r\\n subtype = \'rsi\'\\r\\n 
MA_length = 10 #vytvori dalsi stejnojmenny indikator s postfixem _MA\\r\\n on_confirmed_only = true\\r\\n cp.source = \'vwap\'\\r\\n cp.length = 15\\r\\n cp.start = \\"linear\\"\\r\\n scale = 
\'left\'\\r\\n[stratvars.indicators.weekday]\\r\\n output = \\"bar\\"\\r\\n type = \\"custom\\"\\r\\n subtype = \\"classed\\"\\r\\n on_confirmed_only = true\\r\\n cp.class_name = 
\\"WeekDay\\"\\r\\n[stratvars.indicators.volumebar]\\r\\n type = \'custom\'\\r\\n subtype = \'barparams\'\\r\\n on_confirmed_only = true\\r\\n cp.source = 
\'volume\'\\r\\n[stratvars.indicators.indexbar]\\r\\n type = \'custom\'\\r\\n subtype = \'barparams\'\\r\\n on_confirmed_only = true\\r\\n cp.source = 
\'index\'\\r\\n[stratvars.indicators.volumebarema]\\r\\n type = \'custom\'\\r\\n subtype = \'ma\'\\r\\n on_confirmed_only = true\\r\\n cp.source = \'volumebar\'\\r\\n cp.lookback = 30\\r\\n 
cp.type = \'ema\'\\r\\n[stratvars.indicators.voldiv]\\r\\n type = \'custom\'\\r\\n subtype = \'divergence\'\\r\\n on_confirmed_only = true\\r\\n cp.source1 = \'volumebar\'\\r\\n cp.source2 = 
\'volumebarema\'\\r\\n cp.type = \'reln\'\\r\\n scale = \\"left\\"\\r\\n[stratvars.indicators.div_vwap_angle6]\\r\\n type = \'custom\'\\r\\n subtype = \'talib_ind\'\\r\\n on_confirmed_only = 
true\\r\\n cp.lookback = 10\\r\\n cp.type = \'LINEARREG_ANGLE\'\\r\\n cp.params.series = [\'div_vwap_cum\']\\r\\n cp.params.keys.timeperiod = 10\\r\\n scale = 
\'linreg\'\\r\\n[stratvars.indicators.signal]\\r\\n output = \\"bar\\"\\r\\n type = \'custom\'\\r\\n subtype = \'conditional\'\\r\\n on_confirmed_only = true\\r\\n scale = 
\'left\'\\r\\n[stratvars.indicators.signal.cp.conditions.buy]\\r\\n #supertrend up\\r\\n trendB.AND.change_val_if_equals = 1\\r\\n #cena je nad vwapem urcitou divergence\\r\\n 
div_vwap_cum_mul.AND.change_val_if_above = 4\\r\\n #strmy uhel divergence\\r\\n div_vwap_angle6.AND.change_val_if_above = 0.023\\r\\n true_val = 
1\\r\\n[stratvars.indicators.signal.cp.conditions.sell]\\r\\n trendB.AND.change_val_if_equals = -1\\r\\n #cena je pod vwapem o danou divergen ce\\r\\n div_vwap_cum_mul.AND.change_val_if_below = 
-3\\r\\n\\r\\n #uhel divergence je strm\\u00fd\\r\\n div_vwap_angle6.AND.change_val_if_below = -0.009\\r\\n true_val = -1\\r\\n[stratvars.indicators.sl_long]\\r\\n 
#[stratvars.indicators.freq_period_multiplier]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n cp.expression = \'close[-1]-(atr10[-1]*2)\'\\r\\n scale= 
\\"right\\"\\r\\n[stratvars.indicators.sl_short]\\r\\n #[stratvars.indicators.freq_period_multiplier]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n 
cp.expression = \'close[-1]+(atr10[-1]*2)\'\\r\\n scale= \\"right\\"\\r\\n[stratvars.indicators.long_goal]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n 
cp.expression = \'close[-1]+(atr10[-1]*3)\'\\r\\n scale = \'right\'\\r\\n[stratvars.indicators.short_goal]\\r\\n type = \'custom\'\\r\\n subtype = \'expression\'\\r\\n on_confirmed_only = true\\r\\n 
cp.expression = \'close[-1]-(atr10[-1]*3)\'\\r\\n scale = \'right\'\\r\\n[stratvars.signals.main]\\r\\n signal_only_on_confirmed = true\\r\\n next_signal_offset_from_last_exit = 0\\r\\n #6.5h, 360=6h, 
\\r\\n window_open = 2\\r\\n window_close = 360\\r\\n min_bar_index = 0\\r\\n #activated = true\\r\\n profit = 0.50\\r\\n #profit_short = 0.07\\r\\n #profit_short = \\"short_goal\\"\\r\\n 
#profit_long = 0.07\\r\\n #profit_long = \\"long_goal\\"\\r\\n #ochrana proti extremnim hodntoam z indikatoru - fallback\\r\\n profit_min_ind_tick_value = 0.03\\r\\n max_profit = 0.50\\r\\n 
#SL_defval_short = \\"sl_short\\"\\r\\n #SL_defval_short = \\"high1bars\\"\\r\\n #SL_defval_long = \\"sl_long\\"\\r\\n SL_defval_short = 0.30\\r\\n SL_defval_long = 0.30\\r\\n 
SL_trailing_enabled_short = false\\r\\n SL_trailing_enabled_long = false\\r\\n SL_trailing_offset_short = 0.04\\r\\n SL_trailing_offset_long = 0.04\\r\\n SL_trailing_step_short = 0.01\\r\\n 
SL_trailing_step_long = 0.01\\r\\n SL_trailing_stop_at_breakeven_short = false\\r\\n SL_trailing_stop_at_breakeven_long = false\\r\\n reverse_for_SL_exit_short = \\"no\\"\\r\\n reverse_for_SL_exit_long
= \\"cond\\"\\r\\n #[0.236, 0.382, 0.618]\\r\\n #SL_opt_exit_levels_short = [0.236, 0.382, 0.618]\\r\\n #SL_opt_exit_levels_long = [0.236, 0.382, 0.618]\\r\\n ##SL_opt_exit_sizes_short = [0.2]\\r\\n 
#SL_opt_exit_sizes_long = [0.2]\\r\\n[stratvars.signals.main.conditions]\\r\\n #preconditions \\r\\n\\r\\n #SHORT ENTRY\\r\\n signal.AND.go_short_if_equals = -1\\r\\n\\r\\n #pouze pri prepnuti\\r\\n 
#vwap_angle5.AND.go_short_if_below = -0.1\\r\\n \\r\\n #trendB.AND.go_short_if_fallingc = 2\\r\\n #signal_linreg.go_short_if_equals = -1\\r\\n #signal.go_short_if_equals = -1\\r\\n 
#signal_conf_short.go_short_if_equals = 1\\r\\n #EXIT PROTECTION\\r\\n #drzime dokud stoupame\\r\\n #slopetick5.dont_exit_long_if_above = 0\\r\\n #mama_angle3.dont_exit_long_if_above = 0\\r\\n 
#mama_angle3.dont_exit_short_if_below = 0 \\r\\n #signal_linreg.dont_exit_short_if_equals = -1 \\r\\n #EXIT - drzime po dobu trvani signalu\\r\\n signal.exit_long_if_not_equals = 1\\r\\n 
signal.exit_short_if_not_equals = -1\\r\\n #okamzity exit, kdyz je pod 0 ??\\r\\n #signal_linreg.exit_long_if_not_equals = 1\\r\\n #signal_linreg.exit_short_if_not_equals = -1\\r\\n\\r\\n #LONG 
ENTRY\\r\\n signal.go_long_if_equals = 1\\r\\n\\r\\n #vwap_angle5.AND.go_long_if_above = 0.1\\r\\n #trendB.AND.go_long_if_risingc = 2\\r\\n #signal_linreg.go_long_if_equals = 1\\r\\n\\r\\n 
#reverse\\r\\n #trend1.AND.reverse_long_if_equals = -1\\r\\n #vwap_angle5.AND.reverse_long_if_below = -0.05\\r\\n #trend1.AND.reverse_short_if_equals = 1\\r\\n #vwap_angle5.AND.reverse_short_if_above =
0.05\\r\\n #signal_conf_sell.reverse_long_if_equals = 1\\r\\n\\r\\n #CONDITIONAL REVERSE ONLY\\r\\n #slope1.slreverseonly_long_if_below = 0\\r\\n #slope1.slreverseonly_short_if_above = 
0\\r\\n\\r\\n[stratvars.exit]\\r\\n #maximalni stoploss, fallout pro \\"exit_short_if\\" direktivy\\r\\n SL_defval_short = 0.10\\r\\n SL_defval_long = 0.02\\r\\n SL_trailing_enabled_short = false\\r\\n
SL_trailing_enabled_long = false\\r\\n #minimalni vzdalenost od aktualni SL, aby se SL posunula na \\r\\n SL_trailing_offset_short = 0.02\\r\\n SL_trailing_offset_long = 0.02\\r\\n #zda trailing 
zastavit na brakeeven\\r\\n SL_trailing_stop_at_breakeven_short = false\\r\\n SL_trailing_stop_at_breakeven_long = false\\r\\n[stratvars.exit.conditions]\\r\\n #obecne exit conditions platne pro 
vsechny\\r\\n #slope20.exit_long_if_below = 20\\r\\n #slope10.exit_short_if_above = 0.3\\r\\n\\r\\n #TBD - mozna udelat EOD exit jako direktivu\\r\\n", "add_data_conf": "[[add_data]]\\r\\n 
symbol=\\"BAC\\"\\r\\n rectype= \\"cbar\\"\\r\\n resolution=12\\r\\n update_ltp=true\\r\\n align=\\"round\\"\\r\\n mintick=0\\r\\n minsize=100\\r\\n exthours=false", "note": "", "history": 
"\\nREASON:STOP Signal received\\nREASON:STOP Signal received\\nREASON:STOP Signal received\\nREASON:STOP Signal received"}',
ilog_save=False,
bt_from=None,
bt_to=None,
weekdays_filter=[],
test_batch_id=None,
batch_id='22',
cash=100000,
skip_cache=False
)
RUN 208c9c2b-d25b-4dd9-8654-c19bdd2d4a30 INITIATED
instance vytvorena <v2realbot.strategy.StrategyClassicSL.StrategyClassicSL object at 0x14ac7b310>
adding stream
{'symbol': 'BAC', 'rectype': <RecordType.CBAR: 'cbar'>, 'resolution': 12, 'update_ltp': True, 'align': <StartBarAlign.ROUND: 'round'>, 'mintick': 0, 'minsize': 100, 'exthours': False}
stav pred pridavanim []
websocket zatim nebezi, pouze pridavame do pole
Starting strategy SUPERTREND TV
Spuštěna SUPERTREND TV
********** WS Streamer - run WS-LDR-SUPERTREND TV **********
symbol ve streams BAC
subscribed to BAC
WS-LDR-SUPERTREND TV it is not running, starting by calling RUN
********** WS Streamer STARTED **********
********** WS Order Update Streamer started for SUPERTREND TV **********
creating workdict for buy value {'AND': [('trendB', 'change_val_if_equals', 1), ('div_vwap_cum_mul', 'change_val_if_above', 4), ('div_vwap_angle6', 'change_val_if_above', 0.023)], 'OR': []}
creating workdict for sell value {'AND': [('trendB', 'change_val_if_equals', -1), ('div_vwap_cum_mul', 'change_val_if_below', -3), ('div_vwap_angle6', 'change_val_if_below', -0.009)], 'OR': []}
Strategy 15687653-04fb-46aa-8806-ef4af4e45d96 started successfully.
Current 8 scheduled jobs: [<Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-20 22:33:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='33']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:32:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='32']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='16', minute='0']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
APS jobs initialized
Record in db updated bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Current 8 scheduled jobs: [<Job (id=scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>, <Job (id=scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9 name=with_redirected_stdout.<locals>.wrapper)>]
Job ID: scheduler_start_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_start_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='9', minute='30']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_stop_6f54c363-e30c-4ad2-b232-ccc5c11d6745
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: 6f54c363-e30c-4ad2-b232-ccc5c11d6745
Job Kwargs:
Job ID: scheduler_stop_ea6d79f2-d441-4236-8969-90c77b565e10
Next Run Time: 2024-02-21 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='16', minute='0']
Job Args: ea6d79f2-d441-4236-8969-90c77b565e10
Job Kwargs:
Job ID: scheduler_start_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:32:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='32']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_stop_bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Next Run Time: 2024-02-21 22:33:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='*', hour='22', minute='33']
Job Args: bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Job Kwargs:
Job ID: scheduler_start_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 09:30:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='9', minute='30']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Job ID: scheduler_stop_8aeae4b4-f200-478b-93af-6c8afec1fed9
Next Run Time: 2024-02-23 16:00:00-05:00
Job Function: wrapper
Trigger: cron[day_of_week='0,4', hour='16', minute='0']
Job Args: 8aeae4b4-f200-478b-93af-6c8afec1fed9
Job Kwargs:
Stopping record bc4ec7d2-249b-4799-a02f-f1ce66f83d4a
Requesting STOP 208c9c2b-d25b-4dd9-8654-c19bdd2d4a30
APS jobs initialized
Record updated bc4ec7d2-249b-4799-a02f-f1ce66f83d4a