Skip to content

Modifiable code template for backtesting gap-up short strategy for NIFTY 200 stocks.

Notifications You must be signed in to change notification settings

akhil173/gap_up_short_backtester

Repository files navigation

Backtest Gap up short strategy

Modifiable code template for backtesting gap-up short strategy for NIFTY 200 stocks.

Principle of the Strategy

  • Gaps are spaces on a chart that emerge when the price of the financial instrument significantly changes with little or no trading in-between.
  • Gaps occur unexpectedly as the perceived value of the investment changes, due to underlying fundamental or technical factors.
  • Gaps are classified as breakaway, exhaustion, common, or continuation, based on when they occur in a price pattern and what they signal.

The principle we use here is, when a stock gaps up 2% or more from the previous day's close, then we assume that the traders will take profit and exit the trade causing the prices to drop and we make a profit had we have shorted that particular stock.

Required Libraries

About

Modifiable code template for backtesting gap-up short strategy for NIFTY 200 stocks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages