chore: Add minified parameter docstring to to_json method

This commit is contained in:
Matthias
2024-01-30 07:25:46 +01:00
parent 78a1c7247a
commit 6ba8966090

View File

@@ -214,6 +214,10 @@ class Order(ModelBase):
return order
def to_json(self, entry_side: str, minified: bool = False) -> Dict[str, Any]:
"""
:param minified: If True, only return a subset of the data is returned.
Only used for backtesting.
"""
resp = {
'amount': self.safe_amount,
'safe_price': self.safe_price,