Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 969 Bytes

File metadata and controls

39 lines (27 loc) · 969 Bytes

Stock Volume Strategy

This project calculates the timestamp when the cumulative traded volume within a rolling 60-minute window first exceeds the stock's 30-day average volume. It processes intraday data and compares it with daily stock trading data. img.png

Folder Structure

  • data/: Contains the data files (day_data.csv, intraday_19_april_2024.csv, intraday_22_april_2024.csv).
  • src/: Contains the Python code (stock_volume_strategy.py).
  • requirements.txt: Lists the Python dependencies (e.g., pandas).
  • main.py: Entry point for executing the strategy.

Requirements

  • Python 3.x
  • pandas

How to Run

1. Install dependencies:

```
pip install -r requirements.txt
```

2. Run the program:

```
python main.py
```

3.Analysis

"Hourly Time Frame"

img_1.png

"Minutes Time Frame"

img_2.png

4. Output

img_3.png