Skip to content

Commit

Permalink
Fix 3191 (#3241)
Browse files Browse the repository at this point in the history
* fix(docs): added margin between sections

* fix: news params and descend

* fix: fixed sort

Co-authored-by: Henrique Joaquim <[email protected]>
  • Loading branch information
jose-donato and hjoaquim authored Nov 1, 2022
1 parent f6de565 commit 520a5fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions openbb_terminal/cryptocurrency/due_diligence/dd_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,21 @@ def __init__(
"-l": "--limit",
"--descend": {},
}
choices["news"] = {
"--sort": {c: {} for c in cryptopanic_model.SORT_FILTERS},
"-s": "--sort",
"--limit": {str(c): {} for c in range(1, 100)},
"-l": "--limit",
"--descend": {},
"--urls": {},
"-u": "--urls",
"--kind": {c: {} for c in cryptopanic_model.CATEGORIES},
"-k": "--kind",
"--filter": {c: {} for c in cryptopanic_model.FILTERS},
"-f": "--filter",
"--region": {c: {} for c in cryptopanic_model.REGIONS},
"-r": "--region",
}
choices["mt"] = {c: None for c in self.messari_timeseries}
choices["mt"]["-i"] = {c: None for c in messari_model.INTERVALS_TIMESERIES}
choices["mcapdom"]["-i"] = {
Expand Down

0 comments on commit 520a5fe

Please sign in to comment.