mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-14 02:01:02 +00:00
chore: Add minified parameter docstring to to_json method
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user