43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# User-systemd variant of prediction-service.yml.example.
|
|
# ${NAME} values are expanded from the user service environment.
|
|
scheduler:
|
|
poll_seconds: 60
|
|
grace_seconds: 120
|
|
state_file: /home/ctyun/.local/state/cbpred/prediction-service-state.json
|
|
|
|
prediction:
|
|
working_dir: /data/quant/cbpred
|
|
banbot_dir: /home/ctyun/ban/banbot
|
|
banbot_config: /home/ctyun/ban/banbot/biz/config.yml
|
|
data_dir: /data/quant/cbpred/data
|
|
artifact: /data/quant/cbpred/artifacts/v1/model.joblib
|
|
output_dir: /data/quant/cbpred/predictions/latest_v1
|
|
history_months: 36
|
|
holdout_months: 10
|
|
min_age_days: 730
|
|
chunk_size: 100
|
|
db_type: auto
|
|
exchange: binance
|
|
|
|
notifications:
|
|
http:
|
|
- url: https://example.internal/hooks/cbpred
|
|
method: POST
|
|
timeout_seconds: 15
|
|
headers:
|
|
Authorization: "Bearer ${CBPRED_WEBHOOK_TOKEN}"
|
|
include_predictions: true
|
|
|
|
email:
|
|
enabled: true
|
|
host: smtp.example.com
|
|
port: 465
|
|
ssl: true
|
|
username: alerts@example.com
|
|
password: "${CBPRED_SMTP_PASSWORD}"
|
|
from: alerts@example.com
|
|
to:
|
|
- trader@example.com
|
|
subject: cbpred 8H prediction completed
|
|
attach_csv: true
|