Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Coderixc/TradingStratgey

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Volume based Trading Strategy with Crossover of SMA and Current Candle

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.