diff --git a/examples/cli_trading/demo_notebook.ipynb b/examples/cli_trading/demo_notebook.ipynb
index d01dfb0a..cbfbade6 100644
--- a/examples/cli_trading/demo_notebook.ipynb
+++ b/examples/cli_trading/demo_notebook.ipynb
@@ -21,7 +21,20 @@
"cell_type": "code",
"execution_count": 2,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "2019-07-02 17:30:22.289718\t成功连接到行情服务器\n",
+ "2019-07-02 17:30:22.427419\t成功连接到交易服务器\n",
+ "2019-07-02 17:30:26.294755\t合约信息查询成功\n",
+ "2019-07-02 17:30:26.327959\t撤单失败,订单号: 1000107。原因:无效的订单状态\n",
+ "2019-07-02 17:30:26.328936\t撤单失败,订单号: 1000115。原因:未找到委托信息\n",
+ "2019-07-02 17:30:26.328936\t撤单失败,订单号: 1000117。原因:无效的订单状态\n"
+ ]
+ }
+ ],
"source": [
"# 连接到服务器\n",
"setting = {\n",
@@ -30,8 +43,8 @@
" \"td_qry_server\": \"tcp://106.15.58.119:6401\",\n",
" \"md_tcp_server\": \"tcp://139.196.228.232:5103\",\n",
" \"md_qry_server\": \"tcp://139.196.228.232:5203\",\n",
- " \"username\": \"\",\n",
- " \"password\": \"\",\n",
+ " \"username\": \"customer315\",\n",
+ " \"password\": \"k31dku\",\n",
" \"hdd_serial\": \"\",\n",
" \"customize_ip\": \"\",\n",
" \"customize_mac\": \"\"\n",
@@ -43,1091 +56,1652 @@
},
{
"cell_type": "code",
- "execution_count": 6,
- "metadata": {},
+ "execution_count": 3,
+ "metadata": {
+ "scrolled": false
+ },
"outputs": [
{
"data": {
+ "text/html": [
+ "
\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " exchange | \n",
+ " gateway_name | \n",
+ " history_data | \n",
+ " min_volume | \n",
+ " name | \n",
+ " net_position | \n",
+ " option_expiry | \n",
+ " option_strike | \n",
+ " option_type | \n",
+ " option_underlying | \n",
+ " pricetick | \n",
+ " product | \n",
+ " size | \n",
+ " stop_supported | \n",
+ " symbol | \n",
+ " vt_symbol | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 0 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 21国债⑺ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010107 | \n",
+ " 010107.SSE | \n",
+ "
\n",
+ " \n",
+ " 1 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 03国债⑶ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010303 | \n",
+ " 010303.SSE | \n",
+ "
\n",
+ " \n",
+ " 2 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 05国债⑷ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010504 | \n",
+ " 010504.SSE | \n",
+ "
\n",
+ " \n",
+ " 3 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 05国债⑿ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010512 | \n",
+ " 010512.SSE | \n",
+ "
\n",
+ " \n",
+ " 4 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 06国债⑼ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010609 | \n",
+ " 010609.SSE | \n",
+ "
\n",
+ " \n",
+ " 5 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 06国债⒆ | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010619 | \n",
+ " 010619.SSE | \n",
+ "
\n",
+ " \n",
+ " 6 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 07国债06 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010706 | \n",
+ " 010706.SSE | \n",
+ "
\n",
+ " \n",
+ " 7 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 07国债13 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 010713 | \n",
+ " 010713.SSE | \n",
+ "
\n",
+ " \n",
+ " 8 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 国开1401 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 018003 | \n",
+ " 018003.SSE | \n",
+ "
\n",
+ " \n",
+ " 9 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 国开1702 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 018006 | \n",
+ " 018006.SSE | \n",
+ "
\n",
+ " \n",
+ " 10 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 国开1801 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 018007 | \n",
+ " 018007.SSE | \n",
+ "
\n",
+ " \n",
+ " 11 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 国开1802 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 018008 | \n",
+ " 018008.SSE | \n",
+ "
\n",
+ " \n",
+ " 12 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 国开1803 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 018009 | \n",
+ " 018009.SSE | \n",
+ "
\n",
+ " \n",
+ " 13 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债02 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019002 | \n",
+ " 019002.SSE | \n",
+ "
\n",
+ " \n",
+ " 14 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债03 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019003 | \n",
+ " 019003.SSE | \n",
+ "
\n",
+ " \n",
+ " 15 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债07 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019007 | \n",
+ " 019007.SSE | \n",
+ "
\n",
+ " \n",
+ " 16 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债09 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019009 | \n",
+ " 019009.SSE | \n",
+ "
\n",
+ " \n",
+ " 17 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债12 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019012 | \n",
+ " 019012.SSE | \n",
+ "
\n",
+ " \n",
+ " 18 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债14 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019014 | \n",
+ " 019014.SSE | \n",
+ "
\n",
+ " \n",
+ " 19 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债18 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019018 | \n",
+ " 019018.SSE | \n",
+ "
\n",
+ " \n",
+ " 20 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债19 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019019 | \n",
+ " 019019.SSE | \n",
+ "
\n",
+ " \n",
+ " 21 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债23 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019023 | \n",
+ " 019023.SSE | \n",
+ "
\n",
+ " \n",
+ " 22 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债24 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019024 | \n",
+ " 019024.SSE | \n",
+ "
\n",
+ " \n",
+ " 23 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债26 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019026 | \n",
+ " 019026.SSE | \n",
+ "
\n",
+ " \n",
+ " 24 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债29 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019029 | \n",
+ " 019029.SSE | \n",
+ "
\n",
+ " \n",
+ " 25 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债31 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019031 | \n",
+ " 019031.SSE | \n",
+ "
\n",
+ " \n",
+ " 26 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债34 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019034 | \n",
+ " 019034.SSE | \n",
+ "
\n",
+ " \n",
+ " 27 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债37 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019037 | \n",
+ " 019037.SSE | \n",
+ "
\n",
+ " \n",
+ " 28 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债40 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019040 | \n",
+ " 019040.SSE | \n",
+ "
\n",
+ " \n",
+ " 29 | \n",
+ " Exchange.SSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 10国债41 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 10 | \n",
+ " False | \n",
+ " 019041 | \n",
+ " 019041.SSE | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 16289 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 越博动力 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300742 | \n",
+ " 300742.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16290 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 天地数码 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300743 | \n",
+ " 300743.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16291 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 欣锐科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300745 | \n",
+ " 300745.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16292 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 汉嘉设计 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300746 | \n",
+ " 300746.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16293 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 锐科激光 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300747 | \n",
+ " 300747.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16294 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 金力永磁 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300748 | \n",
+ " 300748.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16295 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 顶固集创 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300749 | \n",
+ " 300749.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16296 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 宁德时代 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300750 | \n",
+ " 300750.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16297 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 迈为股份 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300751 | \n",
+ " 300751.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16298 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 隆利科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300752 | \n",
+ " 300752.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16299 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 爱朋医疗 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300753 | \n",
+ " 300753.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16300 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 华致酒行 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300755 | \n",
+ " 300755.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16301 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 中山金马 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300756 | \n",
+ " 300756.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16302 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 罗博特科 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300757 | \n",
+ " 300757.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16303 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 七彩化学 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300758 | \n",
+ " 300758.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16304 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 康龙化成 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300759 | \n",
+ " 300759.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16305 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 迈瑞医疗 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300760 | \n",
+ " 300760.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16306 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 立华股份 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300761 | \n",
+ " 300761.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16307 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 上海瀚讯 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300762 | \n",
+ " 300762.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16308 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 锦浪科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300763 | \n",
+ " 300763.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16309 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 新诺威 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300765 | \n",
+ " 300765.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16310 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 每日互动 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300766 | \n",
+ " 300766.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16311 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 震安科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300767 | \n",
+ " 300767.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16312 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 迪普科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300768 | \n",
+ " 300768.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16313 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 德方纳米 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300769 | \n",
+ " 300769.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16314 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 新媒股份 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300770 | \n",
+ " 300770.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16315 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 智莱科技 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300771 | \n",
+ " 300771.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16316 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 运达股份 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300772 | \n",
+ " 300772.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16317 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 拉卡拉 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 100 | \n",
+ " Product.EQUITY | \n",
+ " 100 | \n",
+ " False | \n",
+ " 300773 | \n",
+ " 300773.SZSE | \n",
+ "
\n",
+ " \n",
+ " 16318 | \n",
+ " Exchange.SZSE | \n",
+ " OES | \n",
+ " False | \n",
+ " 100 | \n",
+ " 标准券 | \n",
+ " True | \n",
+ " None | \n",
+ " 0 | \n",
+ " None | \n",
+ " | \n",
+ " 0 | \n",
+ " Product.EQUITY | \n",
+ " 0 | \n",
+ " False | \n",
+ " 131990 | \n",
+ " 131990.SZSE | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
16319 rows × 16 columns
\n",
+ "
"
+ ],
"text/plain": [
- "[ContractData(gateway_name='OES', symbol='010107', exchange=, name='21国债⑺', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010303', exchange=, name='03国债⑶', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010504', exchange=, name='05国债⑷', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010512', exchange=, name='05国债⑿', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010609', exchange=, name='06国债⑼', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010619', exchange=, name='06国债⒆', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010706', exchange=, name='07国债06', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='010713', exchange=, name='07国债13', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='018003', exchange=, name='国开1401', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='018006', exchange=, name='国开1702', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='018007', exchange=, name='国开1801', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='018008', exchange=, name='国开1802', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='018009', exchange=, name='国开1803', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019002', exchange=, name='10国债02', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019003', exchange=, name='10国债03', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019007', exchange=, name='10国债07', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019009', exchange=, name='10国债09', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019012', exchange=, name='10国债12', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019014', exchange=, name='10国债14', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019018', exchange=, name='10国债18', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019019', exchange=, name='10国债19', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019023', exchange=, name='10国债23', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019024', exchange=, name='10国债24', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019026', exchange=, name='10国债26', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019029', exchange=, name='10国债29', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019031', exchange=, name='10国债31', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019034', exchange=, name='10国债34', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019037', exchange=, name='10国债37', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019040', exchange=, name='10国债40', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019041', exchange=, name='10国债41', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019102', exchange=, name='11国债02', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019105', exchange=, name='11国债05', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019108', exchange=, name='11国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019110', exchange=, name='11国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019112', exchange=, name='11国债12', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019115', exchange=, name='11国债15', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019116', exchange=, name='11国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019119', exchange=, name='11国债19', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019123', exchange=, name='11国债23', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019124', exchange=, name='11国债24', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019204', exchange=, name='12国债04', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019206', exchange=, name='12国债06', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019208', exchange=, name='12国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019209', exchange=, name='12国债09', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019210', exchange=, name='12国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019212', exchange=, name='12国债12', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019213', exchange=, name='12国债13', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019215', exchange=, name='12国债15', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019216', exchange=, name='12国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019218', exchange=, name='12国债18', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019220', exchange=, name='12国债20', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019221', exchange=, name='12国债21', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019303', exchange=, name='13国债03', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019305', exchange=, name='13国债05', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019308', exchange=, name='13国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019309', exchange=, name='13国债09', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019310', exchange=, name='13国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019311', exchange=, name='13国债11', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019315', exchange=, name='13国债15', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019316', exchange=, name='13国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019318', exchange=, name='13国债18', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019319', exchange=, name='13国债19', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019320', exchange=, name='13国债20', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019324', exchange=, name='13国债24', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019325', exchange=, name='13国债25', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019403', exchange=, name='14国债03', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019405', exchange=, name='14国债05', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019406', exchange=, name='14国债06', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019409', exchange=, name='14国债09', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019410', exchange=, name='14国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019412', exchange=, name='14国债12', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019413', exchange=, name='14国债13', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019416', exchange=, name='14国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019417', exchange=, name='14国债17', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019421', exchange=, name='14国债21', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019424', exchange=, name='14国债24', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019425', exchange=, name='14国债25', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019426', exchange=, name='14国债26', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019427', exchange=, name='14国债27', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019429', exchange=, name='14国债29', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019502', exchange=, name='15国债02', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019503', exchange=, name='15国债03', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019505', exchange=, name='15国债05', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019507', exchange=, name='15国债07', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019508', exchange=, name='15国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019510', exchange=, name='15国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019511', exchange=, name='15国债11', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019514', exchange=, name='15国债14', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019516', exchange=, name='15国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019517', exchange=, name='15国债17', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019519', exchange=, name='15国债19', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019521', exchange=, name='15国债21', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019523', exchange=, name='15国债23', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019525', exchange=, name='15国债25', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019526', exchange=, name='15国债26', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019528', exchange=, name='15国债28', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019530', exchange=, name='16国债02', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019532', exchange=, name='16国债04', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019534', exchange=, name='16国债06', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019535', exchange=, name='16国债07', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019536', exchange=, name='16国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019538', exchange=, name='16国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019541', exchange=, name='16国债13', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019542', exchange=, name='16国债14', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019543', exchange=, name='16国债15', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019544', exchange=, name='16国债16', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019545', exchange=, name='16国债17', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019547', exchange=, name='16国债19', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019548', exchange=, name='16国债20', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019549', exchange=, name='16国债21', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019550', exchange=, name='16国债22', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019551', exchange=, name='16国债23', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019553', exchange=, name='16国债25', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019554', exchange=, name='16国债26', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019555', exchange=, name='17国债01', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019556', exchange=, name='17国债02', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019558', exchange=, name='17国债04', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019559', exchange=, name='17国债05', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019560', exchange=, name='17国债06', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019561', exchange=, name='17国债07', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019562', exchange=, name='17国债08', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019564', exchange=, name='17国债10', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019565', exchange=, name='17国债11', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019566', exchange=, name='17国债12', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019567', exchange=, name='17国债13', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019568', exchange=, name='17国债14', product=, size=10, pricetick=100, min_volume=100, stop_supported=False, net_position=True, history_data=False, option_strike=0, option_underlying='', option_type=None, option_expiry=None),\n",
- " ContractData(gateway_name='OES', symbol='019569', exchange=, name='17国债15', product=