feat: update ML threshold and configuration for improved model performance

- Added ML_THRESHOLD to .env.example and updated Config class to include ml_threshold with a default value of 0.55.
- Modified MLFilter initialization in bot.py to utilize the new ml_threshold configuration.
- Updated Jenkinsfile to change the registry URL for Docker image management.

These changes enhance the model's adaptability by allowing for a configurable machine learning threshold, improving overall performance.
This commit is contained in:
21in7
2026-03-03 20:09:03 +09:00
parent 6fe2158511
commit 292ecc3e33
5 changed files with 7 additions and 4 deletions

4
Jenkinsfile vendored
View File

@@ -2,7 +2,7 @@ pipeline {
agent any
environment {
REGISTRY = '10.1.10.28:3000'
REGISTRY = 'git.gihyeon.com'
IMAGE_NAME = 'gihyeon/cointrader'
IMAGE_TAG = "${env.BUILD_NUMBER}"
FULL_IMAGE = "${REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"
@@ -29,7 +29,7 @@ pipeline {
steps {
git branch: 'main',
credentialsId: 'gitea-cred',
url: 'http://10.1.10.28:3000/gihyeon/cointrader.git'
url: 'https://git.gihyeon.com/gihyeon/cointrader.git'
}
}