shiyu-coder/Kronos ? reverse-engineered prompt

Reverse engineered prompt

I'd like to build a Python tool for financial forecasting using the Kronos foundation model. The main goal is to predict future stock prices based on historical data.

The core of the application should be a script that can load a pre-trained Kronos model, like the 'small' or 'base' version from Hugging Face. This script needs to take a CSV file containing historical stock data (with columns for open, high, low, close, and volume) and use it to generate a forecast for a specified number of future time steps. The output should be the predicted price data.

I also want a simple web UI for this. It should let a user upload their own CSV of stock data, specify how far into the future they want to predict, and then display a chart showing both the historical prices and the model's forecasted prices. It should be a simple and clean interface, maybe using something like Streamlit or Flask. Pull the latest dependencies and get it all set up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab