You can start the news scorer container with:
docker run --rm \
-e LLM_URL="${LLM_URL}" \
-e LLM_TOKEN="${LLM_TOKEN}" \
-p 127.0.0.1:1001:9720 \
org.ttlab/llm-impact-scorer:0.1..and the embedding container with:
docker run --rm \
-p 127.0.0.1:1000:9714 \
org.ttlab/embeddings:latestCompile the Java Application with maven. Run the Main whenever you want to analyze the news inside the Database. News can be loaded to the Database via the frontend. The Java Application is looking in the enviornment for the necessary variables to build the connection string (have a look in org.example.MongoDBHandler).
Before starting, make sure you have:
- Python 3.9+ → Download
- pip (included with Python)
Check your installation:
python --version
pip --versionpython -m venv_name venv_name
venv_name\Scripts\activatepython3 -m venv_name venv_name
source venv_name/bin/activatedeactivatepip install -r requirements_frontend.txtpython main.pyFirst create a new entry in the List TRAINDING_STRATEGIES, then add a new Color Sting in the list COLORS. Now you just need to exend the if statement in the function trading_strategies. In the else-statement you can shoud calulate the amout you want to buy from the Stock. This value should be saved in the variable stock_to_buy.




