Skip to content

Commit

Permalink
v2.23 - Merge pull request #245 from pranjal-joshi/new-features
Browse files Browse the repository at this point in the history
[Screenipy Test] New Features Added - Test Passed - Merge OK
  • Loading branch information
pranjal-joshi authored Dec 26, 2024
2 parents ce5852b + a7524a4 commit fd33860
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: 3.11.6

- name: Restore Dependencies from Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
echo ${{steps.create_pr.outputs.pr_number}} >> pr.txt
- name: Save PR Log File
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: PR_Log.txt
path: pr.txt
5 changes: 4 additions & 1 deletion src/classes/Changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from classes.ColorText import colorText

VERSION = "2.22"
VERSION = "2.23"

changelog = colorText.BOLD + '[ChangeLog]\n' + colorText.END + colorText.BLUE + '''
[1.00 - Beta]
Expand Down Expand Up @@ -293,4 +293,7 @@
[2.22]
1. RSI and 9 SMA of RSI based reversal added - Momentum based execution strategy.
[2.23]
1. Changed Data Source for F&O Stocks - Using Zerodha Kite instead of Broken NSE Website
''' + colorText.END
10 changes: 5 additions & 5 deletions src/classes/Fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def fetchCodes(self, tickerOption,proxyServer=None):
9: "https://archives.nseindia.com/content/indices/ind_niftymidcap50list.csv",
10: "https://archives.nseindia.com/content/indices/ind_niftymidcap100list.csv",
11: "https://archives.nseindia.com/content/indices/ind_niftymidcap150list.csv",
14: "https://archives.nseindia.com/content/fo/fo_mktlots.csv"
14: "https://api.kite.trade/instruments"
}

url = tickerMapping.get(tickerOption)
Expand All @@ -152,10 +152,10 @@ def fetchCodes(self, tickerOption,proxyServer=None):
cr = csv.reader(res.text.strip().split('\n'))

if tickerOption == 14:
for i in range(5):
next(cr) # skipping first line
for row in cr:
listStockCodes.append(row[1].strip())
cols = next(cr)
df = pd.DataFrame(cr, columns=cols)
listStockCodes = list(set(df[df['segment'] == 'NFO-FUT']["name"].to_list()))
listStockCodes.sort()
else:
next(cr) # skipping first line
for row in cr:
Expand Down
1 change: 1 addition & 0 deletions src/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Screeni-py is now on **YouTube** for additional help! - Thank You for your suppo

⚠️ **Executable files (.exe, .bin and .run) are now DEPRECATED! Please Switch to Docker**

1. Fixed Breakout Screening for **F&O Stocks** (Changed Data Source to Zerodha Kite from NSE website)
1. **RSI** based **Reversal** using *9 SMA* of RSI - Try `Option > 6 > 8`
2. **NSE Indices** added to find Sectoral opportunities - Try Index `16 > Sectoral Indices`
3. **Backtesting Reports** Added for Screening Patterns to Develope and Test Strategies!
Expand Down

0 comments on commit fd33860

Please sign in to comment.