We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463bd99 commit a08eed7Copy full SHA for a08eed7
pyinjective/composer.py
@@ -67,7 +67,7 @@ def DerivativeOrder(
67
quantity: float,
68
leverage: float,
69
is_buy: bool,
70
- is_reduce_only: bool = False
+ is_reduce_only: bool
71
):
72
# load denom metadata
73
denom = Denom.load_market(self.network, market_id)
@@ -206,7 +206,7 @@ def MsgCreateDerivativeLimitOrder(
206
price: float,
207
208
209
- is_reduce_only: bool,
+ is_reduce_only: bool = False,
210
leverage: float = 1
211
212
return injective_exchange_tx_pb.MsgCreateDerivativeLimitOrder(
0 commit comments