quote=api.get_quote(quote) # 🔥 直接获取 1 手保证金(单位:元) symbol=quote.instrument_id margin_per_lot = TqSim().get_margin(symbol)