52 lines
1.5 KiB
INI
52 lines
1.5 KiB
INI
@var CONFIG_SVC_HOST=cloud23.cvtt.vpn
|
|
@var ResultPath=/tmp
|
|
@var SourcePath=/home/oleg/develop/cvtt2/tmp
|
|
{
|
|
"refdata": @inc=http://${CONFIG_SVC_HOST}:6789/refdata/refdata
|
|
, "redis": @inc=http://${CONFIG_SVC_HOST}:6789/apps/common/redis
|
|
, "algos": @inc=http://${CONFIG_SVC_HOST}:6789/apps/common/algos
|
|
|
|
, "session_type": "CALENDAR"
|
|
, "calendar_session": {
|
|
"trading_hours_url": [
|
|
"GET"
|
|
, "http://cloud16.cvtt.vpn:8000/api/v1/markets/hours?mic=XNYS&start={start}&end={end}"
|
|
]
|
|
}
|
|
, "backtest": {
|
|
"source": {
|
|
"loader_class": "cvttpy.research.time_series.loaders.sqlite_loader.SqliteMdLoader"
|
|
, "file_name": "${SourcePath}/20240424.ALPACA.QAT.db"
|
|
# , "from_time": "09:29"
|
|
}
|
|
, "result": {
|
|
# "repository": "${ResultPath}/backtest_results.json"
|
|
"db_file": "${ResultPath}/%D.backtest.db"
|
|
}
|
|
, "simulation": {
|
|
"speed_factor": 0.0
|
|
}
|
|
, "execution": {
|
|
"top_only": true
|
|
,"min_order_age_sec": 0.1
|
|
, "pricing_method": "BY_MKT_TRD_PRICE_BY_ORDER"
|
|
}
|
|
}
|
|
, "exchanges_settings": {
|
|
"*": {
|
|
"order_entry": {
|
|
"enabled": true
|
|
, "streaming": true
|
|
},
|
|
"mkt_data": {
|
|
"enabled": true
|
|
, "streaming": true
|
|
},
|
|
"accounting": {
|
|
"enabled": false
|
|
, "streaming": false
|
|
}
|
|
}
|
|
}
|
|
}
|