OpenBBTerminal icon indicating copy to clipboard operation
OpenBBTerminal copied to clipboard

[Bug] Crypto/DeFi/Lending - command is broken.

Open deeleeramone opened this issue 2 years ago • 1 comments

crypto/defi/lending

Error: 4 columns passed, passed data had 12 columns

Error: 'list' object has no attribute 'loc'

Flag for Current or Last 30 Days Average has a label that is inverse to function. lending --current to show the 30-day average is not ideal for an intuitive workflow. It is by default showing current so the flag should be labeled, something like --average or -a, to request the 30-day average.

Screen Shot 2022-06-26 at 12 59 08 PM

The description is missing a letter ending --> lending

Screen Shot 2022-06-26 at 1 04 18 PM

Not a bug, but a suggestion: the three commands of funding, borrow, lending could be consolidated as a single command rates, with optionality and arguments for the subcategories of funding, borrowing, and lending.

deeleeramone avatar Jun 26 '22 20:06 deeleeramone

We've removed the functions based on defirate scraping here: https://github.com/OpenBB-finance/OpenBBTerminal/commit/b90025555b61f35430390314a92c754db865ddb1

@Chavithra @deeleeramone do we want to keep this one open?

hjoaquim avatar Sep 05 '22 10:09 hjoaquim