Update presets README

This commit is contained in:
didier
2021-04-05 21:18:38 +01:00
parent 00d71d7190
commit ae3eb04309
5 changed files with 28 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ def screener(other_args: List[str], loaded_preset: str, data_type: str):
choices=[
preset.split(".")[0]
for preset in os.listdir("gamestonk_terminal/screener/presets")
if preset[-4:] == '.ini'
],
)
parser.add_argument(

View File

@@ -0,0 +1,22 @@
# PRESETS
* [template](#template)
* [sexy_year](#sexy_year)
---
### template
**Author of preset:** GamestonkTerminal
**Contact:** https://github.com/DidierRLopes/GamestonkTerminal#contacts
**Description:** Template with all available filters and their options menu. More information can be found in https://finviz.com/help/screener.ashx and https://finviz.com/help/technical-analysis/charts-patterns.ashx
---
### sexy_year
**Author of preset:** Sexy Year
**Contact:** Add contact of author, if (s)he whishes to be contacted. This can be an hyperlink, an e-mail, wtv
**Description:** This is just a sample. The user that adds the preset can add a description for what type of stocks these filters are aimed for
---

View File

@@ -1,5 +1,6 @@
# Author of preset: Sexy Year
# Description: This is just a sample. The user that adds the preset can add a description for what type of stocks these filters are aimed for.
# Contact: Add contact of author, if (s)he whishes to be contacted. This can be an hyperlink, an e-mail, wtv
# Description: This is just a sample. The user that adds the preset can add a description for what type of stocks these filters are aimed for
[General]
Order =

View File

@@ -1,4 +1,5 @@
# Author of preset: GamestonkTerminal
# Contact: https://github.com/DidierRLopes/GamestonkTerminal#contacts
# Description: Template with all available filters and their options menu.
# More information can be found in https://finviz.com/help/screener.ashx
# and https://finviz.com/help/technical-analysis/charts-patterns.ashx

View File

@@ -83,6 +83,7 @@ class ScreenerController:
presets = [
preset.split(".")[0]
for preset in os.listdir("gamestonk_terminal/screener/presets")
if preset[-4:] == '.ini'
]
for preset in presets:
@@ -123,6 +124,7 @@ class ScreenerController:
choices=[
preset.split(".")[0]
for preset in os.listdir("gamestonk_terminal/screener/presets")
if preset[-4:] == '.ini'
],
)