This commit is contained in:
Cryptoval Trading Technologies
2025-03-27 21:29:25 +00:00
parent 4d12329f0b
commit 6420df5158
3 changed files with 32 additions and 7 deletions
+13 -1
View File
@@ -2,12 +2,24 @@
{
"pubsub" : {
"redis": {
"localhost": {
"docker_microservices": {
"url": "redis://redis:6379"
, "type": "redis"
, "read_timeout" : 0.01
, "ping_timeout_secs": 2.0
}
, "localhost": {
"url": "redis://localhost"
, "type": "redis"
, "read_timeout" : 0.01
, "ping_timeout_secs": 2.0
}
, "localhost-2-docker": {
"url": "redis://localhost:16379"
, "type": "redis"
, "read_timeout" : 0.01
, "ping_timeout_secs": 2.0
}
, "cvttdata": {
"url": "redis://cvttdata.cvtt.vpn"
, "type": "redis"
+5 -4
View File
@@ -1,14 +1,15 @@
{
"CVTT_QST001": {
"hist_md_loaders": @inc=http://@env{CONFIG_SERVICE}/apps/common/hist_md_loaders
, "CVTT_QST001": {
"class": "cvttpy.trading.strategies.test_strat.SeesawTestStrategy"
, "default_params": {}
}
, "VWAP001": {
"class": "cvttpy.trading.strategies.vwap_strat.VWAP001"
, "default_params": {
"vwap_interval": "1 hour"
, "hist_md_loaders": @inc=http://@env{CONFIG_SERVICE}/apps/common/hist_md_loaders
, "hist_md_source": {
"vwap_interval": "1 hour" , "hist_md_source": {
"loader": "TimescaleMktDataLoader"
, "interval": "2 hours"
#, "from_time" is calculated