-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Fix top categories and sorting not working #3025
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for this! I believe this function is getting renamed in #3000 by @northern-64bit. But it doesn't look like this should raise any conflicts. |
I seen 2 on the left, 1was missing. Not sure if code. Is corrupt?
situation was Blank,
Still trying to get it to reset.
It might work. 2386 was my results.
…On Mon, Oct 24, 2022, 3:21 PM James Maslek ***@***.***> wrote:
Thanks for this!
I believe this function is getting renamed in #3000
<#3000> by
@northern-64bit <https://github.com/northern-64bit>. But it doesn't look
like this should raise any conflicts.
—
Reply to this email directly, view it on GitHub
<#3025 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZGP6YJVLL7Z7SZNRRIDDNTWE3OUTANCNFSM6AAAAAARNIAGO4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hey @Jrryy, we merged a PR that renamed some functions. Could you rebase so that we can add this fix :) |
Yep, going to rebase and fix the failing tests. |
Jrryy
force-pushed
the
fix-3020-cgtop-bugs
branch
from
October 25, 2022 15:47
64656e3
to
9f8aa1c
Compare
Jrryy
changed the title
Fix cgtop categories and sorting not working
Fix top categories and sorting not working
Oct 25, 2022
… into fix-3020-cgtop-bugs
jmaslek
approved these changes
Oct 31, 2022
hjoaquim
pushed a commit
to hjoaquim/OpenBBTerminal
that referenced
this pull request
Nov 1, 2022
* Fix categories and sorting not working * Allow sort in ascending order * Documented the new flag * Fixed tests * Fix bad practises Co-authored-by: James Maslek <[email protected]>
jmaslek
added a commit
that referenced
this pull request
Nov 1, 2022
* improved integration tests for forex * integration test for dashboards * added more tests to economy * added test for forecast report * added eedbt integration test * added hist tests * added eval command * updatedeconometrics tests * changed order * test removing warning * Revert "test removing warning" This reverts commit 09ca09012156771428b2041b478296dbf2bfc780. * adding todo * Fix top categories and sorting not working (#3025) * Fix categories and sorting not working * Allow sort in ascending order * Documented the new flag * Fixed tests * Fix bad practises Co-authored-by: James Maslek <[email protected]> * [FEAT] StatsForecast AutoETS forecasting model (#2988) * feat: add autoets model * feat: update autoets index * feat: add verbose option * feat: freq preprocessing * feat: improve test size call * feat: add statsforecast dep to conda env full Co-authored-by: James Maslek <[email protected]> Co-authored-by: martinb-bb <[email protected]> * Improve ETF menu (#3124) * improve etf menu * improve docs * fix tests * should cover more edge cases Co-authored-by: James Maslek <[email protected]> * improve export (#3176) * When renaming funcs to remove source at start, the translating keys were missing update (#3177) * fix the en.yml key for some funcs * fix tests Co-authored-by: James Maslek <[email protected]> * Adds guide for SDK/Keys (#3111) * Adds guide for SDK/Keys * Linter * Applied requested changes, and improved the examples. * Removed bullet point Co-authored-by: Jeroen Bouma <[email protected]> * Adds Introduction Guide for the Economy SDK Module (#3142) * Adds Introduction Guide for the Economy SDK Module * Changes title Co-authored-by: Jeroen Bouma <[email protected]> * version check for statforecast (#3227) * Fix 3188 - UX for `Feature Engineering` functions (#3224) * fix depr. warning * console printout enhancment * improvement to sto for UX * average true range UX * signal UX improv. * Fix Some Econometrics Bugs (#3210) * Added suggestions for load * Fixed a command * Fixed panel Co-authored-by: Henrique Joaquim <[email protected]> Co-authored-by: James Maslek <[email protected]> * Fixing 6 crypto bugs (#3228) * fixing 6 crypto bugs * fixing filter stuff Co-authored-by: Colin Delahunty <[email protected]> * Fix SDK plot colors without needing openbb.stocks.candle (#3178) * fix SDK plot colors without needing openbb.stocks.candle * lint * ordering Co-authored-by: James Maslek <[email protected]> Co-authored-by: Colin Delahunty <[email protected]> * Updating crypto integration tests (#3222) * disc, ov, and base * more integration tests and fixing previous commited ones * some more fixes Co-authored-by: Colin Delahunty <[email protected]> * removing commented tests * removing commented tests Co-authored-by: Gerard <[email protected]> Co-authored-by: James Maslek <[email protected]> Co-authored-by: fede <[email protected]> Co-authored-by: martinb-bb <[email protected]> Co-authored-by: DidierRLopes <[email protected]> Co-authored-by: Danglewood <[email protected]> Co-authored-by: Jeroen Bouma <[email protected]> Co-authored-by: Colin Delahunty <[email protected]> Co-authored-by: James Simmons <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #3020
Fixed the cgtop command so that a deprecation warning stops appearing, filtering by categories shows integers under the "Market Cap Rank" column, and sorting by certain columns works as expected.
Side note: I have noticed, and confirmed in their website, that CoinGecko ignores the pagination when requesting a category of coins. That's why I've divided the code in two branches depending on whether the user requests a category or not. It's probably worth reporting this to them or asking if this is the expected behaviour.
How has this been tested?
Ran
test_crypto_disc.openbb
without errors. Also the following screenshots:Checklist:
Others