Fix running status color; add ETH qty settings with Chinese labels.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -86,8 +86,9 @@ class Matcher:
|
||||
return OpenResult(ok=False, detail="期权卖一不可用")
|
||||
|
||||
fee_rate = self._fee_rate()
|
||||
perp_qty = float(s.perp_qty_eth)
|
||||
opt_qty = float(s.option_qty_eth)
|
||||
s = get_settings()
|
||||
perp_qty = self.ledger.get_setting_float("perp_qty_eth", s.perp_qty_eth)
|
||||
opt_qty = self.ledger.get_setting_float("option_qty_eth", s.option_qty_eth)
|
||||
ct_mult = self._ct_mult(option_inst_id)
|
||||
opt_contracts = contracts_for_eth(opt_qty, ct_mult)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user