Skip to content

Commit

Permalink
[Screenipy Test] New Features Added - Test Passed (#201)
Browse files Browse the repository at this point in the history
* v2.02 - New features added to Streamlit UI
- GUI Update Message fixed, Streamlit default theme added, Release commands fixed
- Newly listed tickerOption bugfixed
- YouTube video for installation added to docs
- Cosmetic streamlit updates and default config updated
- version bumped, youtube link added to GUI about

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: pranjal-joshi <[email protected]>
  • Loading branch information
3 people authored Sep 27, 2023
1 parent 396e0ef commit 71a5c2c
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 16 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ Try to tweak this parameters as per your trading styles. For example, If you're

## Installation Guide:

**YouTube Video of Detailed Installation Guide**

[![YouTube Video Views](https://img.shields.io/youtube/views/2HMN0ac4H20?style=for-the-badge&logo=youtube)](https://youtu.be/2HMN0ac4H20)


[![Screeni-py - Detailed Installation Guide](https://markdown-videos-api.jorgenkh.no/url?url=https%3A%2F%2Fyoutu.be%2F2HMN0ac4H20)](https://youtu.be/2HMN0ac4H20)

![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) ![Mac OS](https://img.shields.io/badge/mac%20os-D3D3D3?style=for-the-badge&logo=apple&logoColor=000000) ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)

**Should I download the Exe/Bin file? Or Should I use Docker?**
Expand Down Expand Up @@ -105,11 +112,11 @@ Try to tweak this parameters as per your trading styles. For example, If you're
5. Open Command Prompt (Windows) or Terminal (Mac/Linux) and run command `docker pull joshipranjal/screeni-py:latest`
6. Once installed, always start screenipy by running this command:
```
docker run -it joshipranjal/screeni-py:latest run_screenipy.sh --gui
docker run -p 8501:8501 joshipranjal/screeni-py:latest
OR
docker run -it joshipranjal/screeni-py:latest run_screenipy.sh --cli
docker run -it --entrypoint /bin/bash joshipranjal/screeni-py:latest -c "run_screenipy.sh --cli"
```

## Contributing:
Expand Down
2 changes: 2 additions & 0 deletions src/.streamlit/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[theme]
base="light"
14 changes: 10 additions & 4 deletions 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.01"
VERSION = "2.02"

changelog = colorText.BOLD + '[ChangeLog]\n' + colorText.END + colorText.BLUE + '''
[1.00 - Beta]
Expand Down Expand Up @@ -204,10 +204,16 @@
[2.00]
1. Streamlit UI (WebApp) added.
2. Multi-Arch Docker support enabled.
1. Streamlit UI (WebApp) added
2. Multi-Arch Docker support enabled
[2.01]
1. Docker build fixed - Versioning critical bug fixed for further OTA updates.
1. Docker build fixed - Versioning critical bug fixed for further OTA updates
[2.02]
1. Newly Listed (IPO) index critical bug fixed
2. OTA Updates fixed for GUI
3. Cosmetic improvements
4. YouTube Video added to docs
''' + colorText.END
12 changes: 8 additions & 4 deletions src/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ Celebrating more than 7K+ Downloads - Thank You for your support :tada:
5. New Screener **Buy at Trendline** added for Swing/Mid/Long term traders - Try `Option > 7 > 5`.
6. Alternate Data Source for faster After-Market Analysis - Optimizations and Cosmetic Updates!

## Installation Guide

[![Screeni-py - Detailed Installation Guide](https://markdown-videos-api.jorgenkh.no/url?url=https%3A%2F%2Fyoutu.be%2F2HMN0ac4H20)](https://youtu.be/2HMN0ac4H20)

## Downloads
| Operating System | Executable File |
| :-: | --- |
| ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) | **[screenipy.exe](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.01/screenipy.exe)** |
| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) | **[screenipy.bin](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.01/screenipy.bin)** |
| ![Mac OS](https://img.shields.io/badge/mac%20os-D3D3D3?style=for-the-badge&logo=apple&logoColor=000000) | **[screenipy.run](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.01/screenipy.run)** ([Read Installation Guide](https://github.com/pranjal-joshi/Screeni-py/blob/main/INSTALLATION.md#for-macos)) |
| ![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) | **[screenipy.exe](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.02/screenipy.exe)** |
| ![Linux](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) | **[screenipy.bin](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.02/screenipy.bin)** |
| ![Mac OS](https://img.shields.io/badge/mac%20os-D3D3D3?style=for-the-badge&logo=apple&logoColor=000000) | **[screenipy.run](https://github.com/pranjal-joshi/Screeni-py/releases/download/2.02/screenipy.run)** ([Read Installation Guide](https://github.com/pranjal-joshi/Screeni-py/blob/main/INSTALLATION.md#for-macos)) |

## [Docker Releases](https://hub.docker.com/r/joshipranjal/screeni-py/tags)

Expand All @@ -26,7 +30,7 @@ Celebrating more than 7K+ Downloads - Thank You for your support :tada:
| ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `latest` | `docker pull joshipranjal/screeni-py:latest` | Command Line | `docker run -it --entrypoint /bin/bash joshipranjal/screeni-py:latest -c "run_screenipy.sh --cli"` |
| ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `latest` | `docker pull joshipranjal/screeni-py:latest` | GUI WebApp | `docker run -p 8501:8501 joshipranjal/screeni-py:latest` |
| ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `dev` | `docker pull joshipranjal/screeni-py:dev` | Command Line | `docker run -it --entrypoint /bin/bash joshipranjal/screeni-py:dev -c "run_screenipy.sh --cli"` |
| ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `dev` | `docker pull joshipranjal/screeni-py:dev` | GUI WebApp | `docker run joshipranjal/screeni-py:dev` |
| ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `dev` | `docker pull joshipranjal/screeni-py:dev` | GUI WebApp | `docker run -p 8501:8501 joshipranjal/screeni-py:dev` |

**Should I download the Exe/Bin file? Or Should I use Docker?**

Expand Down
6 changes: 3 additions & 3 deletions src/screenipy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
period = 300d
daystolookback = 30
duration = 1d
minprice = 30
maxprice = 10000
volumeratio = 2
minprice = 30.0
maxprice = 10000.0
volumeratio = 2.0
consolidationpercentage = 10
shuffle = y
cachestockdata = y
Expand Down
3 changes: 3 additions & 0 deletions src/screenipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ def main(testing=False, testBuild=False, downloadOnly=False, execute_inputs:list
if not configManager.checkConfigFile():
configManager.setConfig(ConfigManager.parser, default=True, showFileCreatedText=False)
tickerOption, executeOption = int(execute_inputs[0]), int(execute_inputs[1])
if tickerOption == 13:
newlyListedOnly = True
tickerOption = 12
else:
tickerOption, executeOption = initExecution()
except KeyboardInterrupt:
Expand Down
8 changes: 5 additions & 3 deletions src/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from pathlib import Path
import classes.ConfigManager as ConfigManager

st.set_page_config(layout="wide")
st.set_page_config(layout="wide", page_title="Screeni-py", page_icon="📈")

# Set protobuf to python to avoid TF error (This is a Slower infernece)
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
Expand Down Expand Up @@ -123,12 +123,12 @@ def get_extra_inputs(tickerOption, executeOption, c_index=None, c_criteria=None,

ac, bc = st.columns([13,1])

ac.title('Screeni-py')
ac.title('📈 Screeni-py')
ac.subheader('in Beta Release 🚧 (Scan QR to Report Bugs / Request Features)')

if isDevVersion:
ac.warning(guiUpdateMessage, icon='⚠️')
elif guiUpdateMessage is not None:
elif guiUpdateMessage != "":
ac.success(guiUpdateMessage, icon='❇️')

telegram_url = "https://user-images.githubusercontent.com/6128978/217814499-7934edf6-fcc3-46d7-887e-7757c94e1632.png"
Expand Down Expand Up @@ -343,6 +343,8 @@ def get_extra_inputs(tickerOption, executeOption, c_index=None, c_criteria=None,
⬇️ Download latest software from https://github.com/pranjal-joshi/Screeni-py/releases/latest
💬 Join Telegram Group for discussion: https://t.me/+0Tzy08mR0do0MzNl
🎬 YouTube Playlist: https://youtube.com/playlist?list=PLsGnKKT_974J3UVS8M6bxqePfWLeuMsBi&si=b6JNMf03IbA_SsXs
""")
st.warning("ChangeLog:\n " + changelog[40:-3], icon='⚙️')

Expand Down

0 comments on commit 71a5c2c

Please sign in to comment.