mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-28 04:02:24 +00:00
Stop treating loss as a small value (#1770)
This commit is contained in:
committed by
GitHub
parent
6cb6662e58
commit
cc52bf5b16
@@ -192,7 +192,7 @@ def print_rich_table(
|
||||
row += [
|
||||
str(x)
|
||||
if not isinstance(x, float)
|
||||
else (f"{x:{floatfmt[idx]}}" if x >= 0.01 else f"{x:.2e}")
|
||||
else (f"{x:{floatfmt[idx]}}" if abs(x) >= 0.001 else f"{x:.2e}")
|
||||
for idx, x in enumerate(values)
|
||||
]
|
||||
table.add_row(*row)
|
||||
|
||||
2
pyproject.toml
vendored
2
pyproject.toml
vendored
@@ -1,7 +1,7 @@
|
||||
# https://python-poetry.org/docs/dependency-specification/
|
||||
[tool.poetry]
|
||||
name = "OpenBBTerminal"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
description = ""
|
||||
authors = ["Didier Rodrigues Lopes"]
|
||||
packages = [
|
||||
|
||||
Reference in New Issue
Block a user