Skip to content

Commit

Permalink
Converting CONTRIBUTING.md back since I put minimal changes in and it…
Browse files Browse the repository at this point in the history
… complains
  • Loading branch information
Jeroen Bouma authored and Jeroen Bouma committed Jan 23, 2023
1 parent df03f93 commit 9b7bd13
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ from openbb_terminal.stocks.dark_pool_shorts import yahoofinance_model
logger = logging.getLogger(__name__)

@log_start_end(log=logger)
def display_most_shorted(limit: int = 10, export: str = "",
sheet_name: str = "",
sheet_name: str = "",):
def display_most_shorted(limit: int = 10, export: str = ""):
"""Display most shorted stocks screener. [Source: Yahoo Finance]
Parameters
Expand All @@ -219,7 +217,6 @@ sheet_name: str = "",):
os.path.dirname(os.path.abspath(__file__)),
"shorted",
df,
sheet_name
)

```
Expand Down Expand Up @@ -287,7 +284,6 @@ def call_shorted(self, other_args: List[str]):
yahoofinance_view.display_most_shorted(
num_stocks=ns_parser.num,
export=ns_parser.export,
sheet_name=ns_parser.sheet_name,
)
```

Expand Down Expand Up @@ -571,9 +567,7 @@ With:
top: int = 10,
sortby: str = "timestamp",
descend: bool = False,
export: str = "",
sheet_name: str = "",
sheet_name: str = "",,) -> None:
export: str = "",) -> None:
```

</td>
Expand Down Expand Up @@ -864,8 +858,7 @@ def display_data(..., plot: bool = False, ...):
Format to export data : `export` *(str), e.g. csv, json, xlsx*

```python
def display_data(..., export: str = "",
sheet_name: str = "", ...):
def display_data(..., export: str = "", ...):
...
export_data(export, os.path.dirname(os.path.abspath(__file__)), "func", data)
```
Expand Down Expand Up @@ -1322,7 +1315,6 @@ In the `_view.py` files it is common having at the end of each function `export_
os.path.dirname(os.path.abspath(__file__)),
"contracts",
df_contracts
sheet_name
)
```

Expand Down

0 comments on commit 9b7bd13

Please sign in to comment.