You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**rule** | **str** | Price trigger condition - `>=`: triggered when market price is greater than or equal to `price` - `<=`: triggered when market price is less than or equal to `price` |
**expiration** | **int** | Maximum wait time for trigger condition (in seconds). Order will be cancelled if timeout |
9
9
10
10
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: gate_api/models/spot_price_trigger.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ def price(self, price):
89
89
defrule(self):
90
90
"""Gets the rule of this SpotPriceTrigger. # noqa: E501
91
91
92
-
Price trigger condition - `>=`: triggered when market price is greater than or equal to `price` - `<=`: triggered when market price is less than or equal to `price` # noqa: E501
:return: The rule of this SpotPriceTrigger. # noqa: E501
95
95
:rtype: str
@@ -100,7 +100,7 @@ def rule(self):
100
100
defrule(self, rule):
101
101
"""Sets the rule of this SpotPriceTrigger.
102
102
103
-
Price trigger condition - `>=`: triggered when market price is greater than or equal to `price` - `<=`: triggered when market price is less than or equal to `price` # noqa: E501
0 commit comments