Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Screenipy Test] New Features Added - Test Passed #245

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
@@ -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') }}
@@ -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
@@ -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]
@@ -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
@@ -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)
@@ -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:
1 change: 1 addition & 0 deletions src/release.md
Original file line number Diff line number Diff line change
@@ -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!