Small finetunings to documentation

This commit is contained in:
Matthias
2020-12-07 16:07:00 +01:00
parent b5289d5f0e
commit c37bc307e2
3 changed files with 2 additions and 5 deletions

View File

@@ -419,7 +419,7 @@ class Trade(_DECL_BASE):
raise ValueError(f'Unknown order type: {order_type}')
cleanup_db()
def close(self, rate: float, *, show_msg: bool = False) -> None:
def close(self, rate: float, *, show_msg: bool = True) -> None:
"""
Sets close_rate to the given rate, calculates total profit
and marks trade as closed