prvni verze dynamicky ind

This commit is contained in:
David Brazda
2023-10-23 21:36:15 +02:00
parent dd90b03a30
commit 0c4fb20c66
26 changed files with 4812 additions and 580 deletions

19
testy/previewindicator.py Normal file
View File

@ -0,0 +1,19 @@
import v2realbot.controller.services as cs
#[stratvars.indicators.vwma]
runner_id = "b44d6d8f-b44d-45b1-ad7a-7ee8b0facead"
toml = """
type = "custom"
subtype = "vwma"
on_confirmed_only = true
cp.source = "vwap"
cp.ref_source = "volume"
cp.lookback = 50
"""
res, vals = cs.preview_indicator_byTOML(id=runner_id, toml=toml)
print(res)
print(vals)