.. _tqsdk2_api: tqsdk2.api - 框架及核心业务 ==================================================================== .. currentmodule:: tqsdk2 .. autoclass:: TqApi .. rubric:: 方法列表 .. autosummary:: ~TqApi.__init__ ~TqApi.cancel_order ~TqApi.close ~TqApi.get_account ~TqApi.get_kline_serial ~TqApi.get_order ~TqApi.get_position ~TqApi.get_quote ~TqApi.get_quote_list ~TqApi.get_tick_serial ~TqApi.get_trade ~TqApi.get_trading_unit ~TqApi.insert_order ~TqApi.is_changing ~TqApi.query_cont_quotes ~TqApi.query_options ~TqApi.query_quotes ~TqApi.wait_update ~TqApi.get_trading_status ~TqApi.get_margin_rates .. automethod:: wait_update .. automethod:: get_account .. automethod:: get_position .. automethod:: get_order .. automethod:: get_trade .. automethod:: get_quote .. automethod:: get_quote_list .. automethod:: get_kline_serial .. automethod:: get_tick_serial .. automethod:: insert_order .. automethod:: cancel_order .. automethod:: is_changing .. automethod:: get_trading_unit .. automethod:: query_quotes .. automethod:: query_options .. automethod:: query_cont_quotes .. automethod:: query_all_level_options .. automethod:: get_trading_status .. automethod:: get_margin_rates