diff --git a/.flake8 b/.flake8 index 5055f4c7..d5d16059 100644 --- a/.flake8 +++ b/.flake8 @@ -3,5 +3,3 @@ exclude = venv,build,__pycache__,__init__.py,ib,talib,uic ignore = E501 line too long, fixed by black W503 line break before binary operator - W293 blank line contains whitespace - W291 trailing whitespace diff --git a/examples/simple_rpc/test_client.py b/examples/simple_rpc/test_client.py index 77ba34f6..7a358951 100644 --- a/examples/simple_rpc/test_client.py +++ b/examples/simple_rpc/test_client.py @@ -7,7 +7,7 @@ from vnpy.rpc import RpcClient class TestClient(RpcClient): """ - Test RpcClient + Test RpcClient """ def __init__(self): diff --git a/vnpy/api/apex/fiddef.py b/vnpy/api/apex/fiddef.py index 97f2e730..66756ad2 100644 --- a/vnpy/api/apex/fiddef.py +++ b/vnpy/api/apex/fiddef.py @@ -1,2388 +1,2388 @@ -FID_BCZJYE = 501 # 本次资金余额 DT:C -FID_BFXJJ = 502 # 买风险金 DT:C -FID_BGHF = 503 # 买过户费 DT:C -FID_BJE = 504 # 买入金额 DT:C -FID_BJSF = 505 # 买经手费 DT:C -FID_BPGDH = 506 # 报盘股东号 DT:C -FID_CODE = 507 # 返回码 DT:C -FID_MESSAGE = 508 # 返回说明 DT:C -FID_BSL = 509 # 买入数量 DT:C -FID_BYHS = 510 # 买印花税 DT:C -FID_BZ = 511 # 币种 DT:C -FID_BZBM = 512 # 币种编码 DT:C -FID_BZGF = 513 # 买证管费 DT:C -FID_BZMC = 514 # 币种名称 DT:C -FID_CBBD = 515 # 成本变动 DT:R -FID_MENUID_HC = 516 # 互斥的菜单系统代码 DT:I -FID_HLJE = 517 # 红利金额 DT:R -FID_CDMC = 518 # 菜单名称 DT:C -FID_CDTIME = 519 # 菜单可用时间 DT:C -FID_CDTS = 520 # 菜单提示 DT:C -FID_CDWZID = 521 # 菜单位置ID DT:C -FID_CJBH = 522 # 成交编号 DT:C -FID_CJGY = 523 # 创建柜员 DT:C -FID_CJJE = 524 # 成交金额 DT:C -FID_CJJG = 525 # 成交价格 DT:C -FID_CJRQ = 526 # 成交日期 DT:C -FID_CJSJ = 527 # 成交时间 DT:C -FID_CJSL = 528 # 成交数量 DT:C -FID_CKLL = 529 # 存款利率 DT:C -FID_YKBD = 530 # 盈亏变动 DT:R -FID_CSZ = 531 # 参数值 DT:C -FID_DH = 532 # 电话 DT:C -FID_DJLB = 533 # 冻结类别 DT:C -FID_DH_SQCZR = 534 # 授权操作人电话 DT:C -FID_DZ_SQCZR = 535 # 授权操作人地址 DT:C -FID_MM_SQCZR = 536 # 授权操作人密码 DT:C -FID_QX_SQCZR = 537 # 授权操作人权限 DT:C -FID_XWID = 538 # 席位编号 DT:I -FID_XM_SQCZR = 539 # 授权操作人姓名 DT:C -FID_DRMCCJJE = 540 # 当日卖出成交金额 DT:C -FID_DRMCCJSL = 541 # 当日卖出成交数量 DT:C -FID_DRMCJDZJ = 542 # 当日卖出解冻资金 DT:C -FID_DRMCWTSL = 543 # 当日卖出委托数量 DT:C -FID_DRMRCJJE = 544 # 当日买入成交金额 DT:C -FID_DRMRCJSL = 545 # 当日买入成交数量 DT:C -FID_DRMRDJZJ = 546 # 当日买入冻结资金 DT:C -FID_DRMRWTSL = 547 # 当日买入委托数量 DT:C -FID_DRQS = 548 # 当日已成交的清算资金 DT:C -FID_DTB = 549 # 跌停板 DT:C -FID_DZ = 550 # 地址 DT:C -FID_DZLX = 551 # 待转利息 DT:C -FID_EMAIL = 552 # 电子邮件 DT:C -FID_EN_BZ = 553 # 可操作的币种 DT:C -FID_EN_JYS = 554 # 可操作的交易所 DT:C -FID_EN_KHH = 555 # 可操作的客户号 DT:C -FID_EN_KHQZ = 556 # 允许操作的客户群组 DT:C -FID_EN_YYB = 557 # 允许操作的营业部 DT:C -FID_EN_ZQLB = 558 # 可操作的证券类别 DT:C -FID_EX_KHH = 559 # 不可操作的客户号 DT:C -FID_EX_KHQZ = 560 # 禁止操作的客户群组 DT:C -FID_EX_YYB = 561 # 禁止操作的营业部 DT:C -FID_EX_ZQLB = 562 # 禁止证券类别范围 DT:C -FID_FATHERID = 563 # 父菜单 DT:C -FID_AUTOSAVE = 564 # 自动保存 DT:I -FID_FKEY = 565 # 加速键 DT:C -FID_FLDM = 566 # 数据字典分类代码 DT:C -FID_FLMC = 567 # 数据字典分类名称 DT:C -FID_FLTSL = 568 # 非流通数量 DT:C -FID_FSYYB = 569 # 发生营业部 DT:C -FID_FWXM = 570 # 服务项目 DT:C -FID_GDH = 571 # 股东号 DT:C -FID_GDLB = 572 # 股东类别 DT:C -FID_ZJBH_GDH = 573 # 股东证件编号 DT:C -FID_GDZDSX = 574 # 股东指定属性 DT:I -FID_GDXM = 575 # 股东姓名 DT:C -FID_GJDM = 576 # 国籍代码 DT:C -FID_GMRQ = 577 # 柜员更密日期 DT:C -FID_DATE = 578 # 当前日期 DT:C DT:YYYY.MM.DD -FID_HKEY = 579 # 热键 DT:C -FID_HKEYMASK = 580 # 组合键 DT:C -FID_SHZD = 581 # 自动发送上海指定 DT:I DT:0 不发送 -FID_IBM = 582 # 数字编码 DT:C -FID_JJR = 583 # 经纪人代码 DT:C -FID_JJRLB = 584 # 经纪人类别 DT:C -FID_JJRMM = 585 # 经纪人密码 DT:C -FID_JJRQX = 586 # 经纪人权限 DT:C -FID_JKP = 587 # 今开盘 DT:C -FID_JSDM = 588 # 角色代码 DT:C -FID_JSMC = 589 # 角色名称 DT:C -FID_JSRQ = 590 # 结束日期 DT:C -FID_JYDW = 591 # 交易单位 DT:C -FID_JYFL = 592 # 交易分类 DT:C -FID_JYFW = 593 # 交易范围 DT:C -FID_JYJW = 594 # 交易价位 DT:C -FID_JYLB = 595 # 交易类别编码 DT:C -FID_JYLBMC = 596 # 交易类别名称 DT:C -FID_JYLBXZ = 597 # 交易类别限制 DT:C -FID_JYMM = 598 # 交易密码 DT:C -FID_JYS = 599 # 交易所编码 DT:C -FID_JYSXH = 600 # 交易所序号 DT:I -FID_JYSJC = 601 # 交易所名称 DT:C -FID_JYSQC = 602 # 交易所全称 DT:C -FID_KCRQ = 603 # 开仓日期 DT:C -FID_KEYMASK = 604 # 菜单组合键 DT:C -FID_KHH = 605 # 客户号 DT:C -FID_KHJB = 606 # 客户级别 DT:C -FID_KHJL = 607 # 客户经理 DT:C -FID_KHLB = 608 # 客户类别 DT:C -FID_KHQC = 609 # 客户全称 DT:C -FID_KHQZ = 610 # 客户群组 DT:C -FID_KHRQ = 611 # 开户日期 DT:C -FID_KHSX = 612 # 客户属性 DT:C -FID_KHXM = 613 # 客户姓名 DT:C -FID_LSH_ZR = 614 # 转入业务操作流水号 DT:I -FID_KMCSL = 615 # 可卖出数量 DT:C -FID_KMRSL = 616 # 可买入数量 DT:C -FID_KQZJ = 617 # 可取资金 DT:C -FID_KSRQ = 618 # 开始日期 DT:C -FID_KYZJ = 619 # 可用资金 DT:C -FID_LL = 620 # 利率 DT:C -FID_YJLX = 621 # 预计利息 DT:R -FID_LXJS = 622 # 利息积数 DT:R -FID_LXS = 623 # 预计利息税 DT:R -FID_LXSL = 624 # 利息税率 DT:R -FID_MCJE = 625 # 卖出金额 DT:C -FID_MCJJ = 626 # 卖出均价 DT:C -FID_MCJS = 627 # 卖出基数 DT:C -FID_MCSL = 628 # 卖出数量 DT:C -FID_MENUID = 629 # 菜单的系统代码 DT:C -FID_MKBH = 630 # 模块编号 DT:C -FID_MM = 631 # 密码 DT:C -FID_MMXZ = 632 # 买卖限制 DT:C -FID_YKTZMS = 633 # 盈亏调整模式 DT:I DT:0 根据输入调整,1 自动调整 -FID_MRJE = 634 # 买入金额 DT:C -FID_JYMQZ = 635 # 交易码前缀 DT:C -FID_MRJJ = 636 # 买入均价 DT:C -FID_MRJS = 637 # 买入基数 DT:C -FID_MRSL = 638 # 买入数量 DT:C -FID_NBMC = 639 # 摘要内部名称 DT:C -FID_NEWMM = 640 # 新密码 DT:C -FID_NODE = 641 # 操作站点 DT:C -FID_NOTE = 642 # 说明 DT:C -FID_PYDM = 643 # 拼音代码 DT:C -FID_PZBZ = 644 # 是否打印凭证 DT:C -FID_ZJZH_ZR = 645 # 转入资金帐号 DT:C -FID_QSJE = 646 # 清算金额 DT:C -FID_QSZJ = 647 # 清算资金 DT:C -FID_QYBM = 648 # 区域编码 DT:C -FID_QZFW = 649 # 取值范围 DT:C -FID_QZMC = 650 # 群组名称 DT:C -FID_RQ = 651 # 日期 DT:C -FID_RZJE = 652 # 融资金额 DT:C -FID_RZLL = 653 # 融资利率 DT:C -FID_SFXJJ = 654 # 卖风险基金 DT:C -FID_SGHF = 655 # 卖过户费 DT:C -FID_SJCD = 656 # 数据长度 DT:C -FID_SJE = 657 # 卖出金额 DT:C -FID_SJJJR = 658 # 上级经纪人 DT:C -FID_SJSF = 659 # 卖经手费 DT:C -FID_SJYYB = 660 # 上级营业部 DT:C -FID_SLXZ = 661 # 数量限制 DT:C -FID_CZCS = 662 # 冲帐次数 DT:I -FID_SRZJYE = 663 # 上日资金余额 DT:C -FID_SSL = 664 # 卖出数量 DT:C -FID_SXLB = 665 # 属性类别 DT:C -FID_SYHS = 666 # 卖印花税 DT:C -FID_SZGF = 667 # 卖证管费 DT:C -FID_T0JS = 668 # 当日应交收资金 DT:C -FID_T1JS = 669 # T+1清算应交收资金 DT:C -FID_T2JS = 670 # T+2清算应交收资金 DT:C -FID_TBCBJ = 671 # 摊薄成本价 DT:C -FID_TBTS = 672 # 特别提示 DT:C -FID_TJFL = 673 # 统计分类 DT:C -FID_TZJS = 674 # 透支积数 DT:C -FID_TZLL = 675 # 透支利率 DT:C -FID_CBTZMS = 676 # 成本调整模式 DT:I DT:0 根据输入调整,1 自动调整 -FID_USERID = 677 # 柜员号 DT:C -FID_USERNAME = 678 # 柜员名称 DT:C -FID_VALUE = 679 # 属性值 DT:C -FID_WTFS = 680 # 委托方式 DT:C -FID_WTH = 681 # 委托号 DT:C -FID_WTJG = 682 # 委托价格 DT:C -FID_WTLB = 683 # 委托类别 DT:C -FID_WTSL = 684 # 委托数量 DT:C -FID_JSDM_HC = 685 # 权限互斥的角色代码 DT:C -FID_WTSX = 686 # 委托上限 DT:C -FID_WTXX = 687 # 委托下限 DT:C -FID_XHRQ = 688 # 销户日期 DT:C -FID_XLDM = 689 # 学历代码 DT:C -FID_XM = 690 # 姓名 DT:C -FID_GDZT = 691 # 股东状态 DT:I -FID_YHDM = 692 # 银行代码 DT:C -FID_YHZH = 693 # 银行帐号 DT:C -FID_YWKM = 694 # 业务科目 DT:C -FID_YWLB = 695 # 业务类别 DT:C -FID_YWMC = 696 # 业务名称 DT:C -FID_YYB = 697 # 营业部 DT:C -FID_KHH_ZR = 698 # 转入客户号 DT:C -FID_CLSJ = 699 # 处理时间 DT:C -FID_KHXM_ZR = 700 # 转入客户姓名 DT:C -FID_GYDM_ZP = 701 # 指派柜员代码 DT:C -FID_YZBM = 702 # 邮政编码 DT:C -FID_ZDBJ = 703 # 最低报价 DT:C -FID_ZDJ = 704 # 最低价 DT:R -FID_EN_WTH = 705 # 委托合同号范围 DT:C -FID_ZGBJ = 706 # 最高报价 DT:C -FID_ZGJ = 707 # 最高价 DT:R -FID_KHFLFS = 708 # 客户分类方式 DT:I -FID_ZHYE = 709 # 帐户余额 DT:C -FID_ZHZT = 710 # 帐户状态 DT:C -FID_ZJBH = 711 # 证件编号 DT:C -FID_YJDJCL = 712 # 佣金定价策略 DT:I -FID_ZJLB = 713 # 证件类别 DT:C -FID_ZJMM = 714 # 资金密码 DT:C -FID_ZJYE = 715 # 资金余额 DT:C -FID_ZJZH = 716 # 资金帐号 DT:C -FID_GDH_OLD = 717 # 原股东号 DT:C -FID_LJS1 = 718 # 累计佣金 DT:R -FID_ZQDM = 719 # 证券代码 DT:C -FID_ZQLB = 720 # 证券类别 DT:C -FID_ZQLBMC = 721 # 证券类别名称 DT:C -FID_ZQMC = 722 # 证券名称 DT:C -FID_ZQQC = 723 # 证券全称 DT:C -FID_ZQSL = 724 # 证券数量 DT:C -FID_ZSBH = 725 # 证书编号 DT:C -FID_ZSP = 726 # 昨收盘 DT:C -FID_ZZHBZ = 727 # 主帐户标志 DT:I -FID_ZTB = 728 # 涨停板 DT:C -FID_ZXJ = 729 # 最新价 DT:C -FID_ZY = 730 # 摘要 DT:C -FID_ZYDM = 731 # 职业代码 DT:C -FID_ZZFS = 732 # 转帐申请方式 DT:C -FID_ZZJE = 733 # 支汇票金额 DT:C -FID_ZZKZ = 734 # 转帐控制 DT:C -FID_MMLB = 735 # 密码类别 DT:C -FID_HTHQZ = 736 # 合同号前缀 DT:C -FID_NEWQZ = 737 # 新群组编号 DT:C -FID_EN_ZJZH = 738 # 可操作的资金帐号 DT:C -FID_LOGICAL = 739 # 逻辑判断操作(是、否) DT:C -FID_KHFW = 740 # 客户范围 DT:C -FID_SQFS = 741 # 申请方式 DT:I -FID_CKCS = 742 # 存款次数限制 DT:C -FID_CKZE = 743 # 存款总额限制 DT:C -FID_CKDBSX = 744 # 存款单笔限制 DT:C -FID_QKCS = 745 # 取款次数限制 DT:C -FID_QKZE = 746 # 取款总额限制 DT:C -FID_QKDBSX = 747 # 取款单笔限制 DT:C -FID_TBBBJ = 748 # 摊薄保本价 DT:C -FID_TBFDYK = 749 # 摊薄浮动盈亏 DT:C -FID_WTSJ = 750 # 委托时间 DT:C -FID_SBSJ = 751 # 申报时间 DT:C -FID_MMLBSM = 752 # 买卖类别说明 DT:C -FID_SBJG = 753 # 申报结果 DT:C -FID_SBJGSM = 754 # 申报结果说明 DT:C -FID_CXBZ = 755 # 撤销标志 DT:C -FID_DLSF = 756 # 登录身份 DT:C -FID_JCCL = 757 # 今持仓量 DT:C -FID_WJSSL = 758 # 未交收数量 DT:C -FID_CDCZDX = 759 # 菜单操作对象 DT:I -FID_ZXSZ = 760 # 最新市值 DT:C -FID_FDYK = 761 # 浮动盈亏 DT:C -FID_DGDHBZ = 762 # 是否允许登记多股东号 DT:I DT:0 允许,1 不允许 -FID_BROWINDEX = 763 # 起始历史记录索引值 DT:C -FID_DJZJ = 764 # 冻结资金 DT:C -FID_LOGINPWD = 765 # 用户登录密码 DT:C -FID_S1 = 766 # 佣金 DT:C -FID_S2 = 767 # 印花税 DT:C -FID_S3 = 768 # 过户费 DT:C -FID_S4 = 769 # 附加费 DT:C -FID_S5 = 770 # 结算费 DT:C -FID_S6 = 771 # 交易规费 DT:C -FID_YSJE = 772 # 应收金额 DT:C -FID_LXSR = 773 # 利息收入 DT:R -FID_LXFC = 774 # 利息付出 DT:R -FID_BZS1 = 775 # 标准佣金 DT:C -FID_BCZQSL = 776 # 本次股份余额 DT:C -FID_BRZQSL = 777 # 本日股份余额 DT:C -FID_BRZJYE = 778 # 本日资金余额 DT:C -FID_GDJG = 779 # 转帐勾对结果 -FID_CSID = 780 # 参数编号ID DT:I -FID_JMLX = 781 # 加密类型 DT:C -FID_SQLB = 782 # 申请类别 DT:C -FID_DLXH = 783 # 登录序号 DT:INT -FID_ZPJE = 784 # 支票金额 DT:C -FID_GPSZ = 785 # 股票市值 DT:C -FID_MMYZFS = 786 # 密码验证方式 DT:I -FID_FZYZFS = 787 # 辅助身份验证方式 DT:I -FID_COUNT = 788 # 笔数 DT:C -FID_GDHH = 789 # 股东号前缀 DT:C -FID_GDHL = 790 # 股东号长度 DT:C -FID_ZQDML = 791 # 证券代码长度 DT:C -FID_ENDWTH = 792 # 结束委托号 DT:C -FID_LOGINID = 793 # 登录ID DT:C -FID_ZHXM = 794 # 帐户姓名 DT:C -FID_JSZH = 795 # 结算帐户 DT:C -FID_FAX = 796 # 传真FAX DT:C -FID_LSH = 797 # 流水号 DT:C -FID_HOST = 798 # 主机地址 DT:C -FID_TZLX = 799 # 透支利息 DT:C -FID_GSFL = 800 # 公司级客户分类 DT:C -FID_SRFS = 801 # 输入方式 DT:C -FID_XJZC = 802 # 现金资产 DT:C -FID_SRYE = 803 # 上日余额 DT:C -FID_ZHSX = 804 # 帐户属性 DT:C -FID_WJSJE = 805 # 未交收金额 DT:C -FID_CQBZ = 806 # 存取标志 DT:C -FID_YZZZBZ = 807 # 银证转帐标志 DT:C -FID_FSJE = 808 # 发生金额 DT:C -FID_NEWKHJL = 809 # 迁入客户经理 DT:C -FID_SCZJYE = 810 # 上次资金余额 DT:C -FID_SQPCH = 811 # 申请批次号 DT:I -FID_DJRQ = 812 # 登记日期 DT:C -FID_EN_GSFL = 813 # 允许操作的客户公司分类 DT:C -FID_ITEM = 814 # 配置项 DT:C -FID_XGRQ = 815 # 修改日期 DT:C -FID_CSJB = 816 # 参数级别 DT:C -FID_SXMC = 817 # 属性名称 DT:C -FID_PZH2 = 818 # 凭证号2 DT:C -FID_LPID = 819 # 礼品ID号 DT:C -FID_LPBM = 820 # 礼品编码 DT:C -FID_LPMC = 821 # 礼品名称 DT:C -FID_LPJZ = 822 # 礼品价值 DT:C -FID_ZSFS = 823 # 赠送方式 DT:C -FID_ZCKZED = 824 # 资产控制额度 DT:C -FID_ZJKZED = 825 # 资金控制额度 DT:C -FID_DJJE = 826 # 冻结金额 DT:C -FID_YCDJJE = 827 # 异常冻结金额 DT:C -FID_QSDM = 828 # 券商代码 DT:C -FID_QSMC = 829 # 券商名称 DT:C -FID_JGSM = 830 # 结果说明 DT:C -FID_CLRQ = 831 # 处理日期 DT:I -FID_JGBM = 832 # 机构编码 DT:C -FID_JGMC = 833 # 机构名称 DT:C -FID_JGJC = 834 # 机构简称 DT:C -FID_CITY = 835 # 城市 DT:C -FID_PROVINCE = 836 # 省份 DT:C -FID_SJJG = 837 # 上级机构 DT:C -FID_SJJGLB = 838 # 上级机构类别 DT:I -FID_JGLB = 839 # 机构类别 DT:I -FID_EN_SJJGLB = 840 # 允许上级机构类别范围 DT:C -FID_EN_JYLB = 841 # 允许的交易类别 DT:C -FID_MRJG1 = 842 # 买入价格一 DT:C -FID_MRSL1 = 843 # 买入数量一 DT:C -FID_MRJG2 = 844 # 买入价格二 DT:C -FID_MRSL2 = 845 # 买入数量二 DT:C -FID_MRJG3 = 846 # 买入价格三 DT:C -FID_MRSL3 = 847 # 买入数量三 DT:C -FID_MRJG4 = 848 # 买入价格四 DT:C -FID_MRSL4 = 849 # 买入数量四 DT:C -FID_MCJG1 = 850 # 卖出价格一 DT:C -FID_MCSL1 = 851 # 卖出数量一 DT:C -FID_MCJG2 = 852 # 卖出价格二 DT:C -FID_MCSL2 = 853 # 卖出数量二 DT:C -FID_MCJG3 = 854 # 卖出价格三 DT:C -FID_MCSL3 = 855 # 卖出数量三 DT:C -FID_MCJG4 = 856 # 卖出价格四 DT:C -FID_MCSL4 = 857 # 卖出数量四 DT:C -FID_DYBL = 858 # 抵押比例 DT:R -FID_JJRXM = 859 # 经纪人姓名 DT:C -FID_TPBZ = 860 # 停牌标志 DT:C -FID_JSLX = 861 # 结算类型 DT:I -FID_HBXH = 862 # 回报序号 DT:C -FID_SBGDH = 863 # 三板股东号 DT:C -FID_WTGY = 864 # 委托柜员 DT:C -FID_FSSJ = 865 # 发生时间 DT:C -FID_WTZKXS = 866 # 委托折扣系数 DT:C -FID_CXZKXS = 867 # 查询折扣系数 DT:C -FID_QTZKXS = 868 # 前台折扣系数 DT:C -FID_ZQSZ = 869 # 证券市值 DT:C -FID_KYZJXE = 870 # 可用资金限额 DT:R -FID_XMLSH = 871 # 项目流水号 DT:I -FID_ZCZH = 872 # 转存帐号 DT:C -FID_ZCBL = 873 # 转存比例 DT:C -FID_SFFS = 874 # 收费方式 DT:C -FID_SFBZ = 875 # 收费标准 DT:C -FID_JFFS = 876 # 计费方式 DT:C -FID_JFQD = 877 # 计费起点 DT:C -FID_JFDW = 878 # 计费单位 DT:C -FID_CZSJ = 879 # 操作时间 DT:C -FID_CLJG = 880 # 处理结果 DT:C -FID_GYFL = 881 # 柜员分类 DT:C -FID_WBGYDM = 882 # 外部柜员代码 DT:C -FID_XQXZ = 883 # 星期限制 DT:C -FID_ZCXZ = 884 # 注册限制 DT:C -FID_SLSX = 885 # 数量上限 DT:C -FID_CDSL = 886 # 撤单数量 DT:C -FID_YJZKBL = 887 # 佣金折扣比例 DT:R -FID_FJFZKBL = 888 # 附加费折扣比例 DT:R -FID_BH = 889 # 编号 DT:C -FID_SHXYM = 890 # 审核校验码 DT:C -FID_ZLLB = 891 # 指令类别 DT:C -FID_CDJSP = 892 # 菜单JSP DT:C -FID_EN_NODE = 893 # 允许操作站点 DT:C -FID_EN_MYYYB = 894 # 允许漫游营业部范围 DT:C -FID_ZJGMRQ = 895 # 系统用户最近更密日期 DT:I -FID_JGSX = 896 # 机构属性 DT:I -FID_CDSX = 897 # 参数属性 DT:I -FID_BM = 898 # 数据字典编码 DT:I -FID_BMSM = 899 # 数据字典编码说明 DT:C -FID_CDDLL = 900 # 菜单DLL名称 DT:C -FID_SXZ = 901 # 属性值 DT:C -FID_YHSX = 902 # 银行属性 DT:C -FID_YHYW = 903 # 银行业务 DT:C -FID_ZQYW = 904 # 证券业务 DT:C -FID_ZJMMXY = 905 # 资金密码效验 DT:C -FID_JYMMXY = 906 # 交易买卖效验 DT:C -FID_YHMMXY = 907 # 银行买卖效验 DT:C -FID_YHMC = 908 # 银行名称 DT:C -FID_HBLB = 909 # 货币类别 DT:C -FID_WBZHMM = 910 # 外部帐户密码 DT:C -FID_DYBS = 911 # 转帐对应标识 DT:C -FID_SQH = 912 # 申请号 DT:C -FID_WBLSH = 913 # 外部流水号 DT:C -FID_BDDJJE = 914 # 本地冻结金额 DT:R -FID_CJBS = 915 # 成交笔数 DT:I -FID_SHLB = 916 # 审核类别 DT:C -FID_SHJG = 917 # 审核结果 DT:C -FID_YEGXSJ = 918 # 余额更新时间 DT:C -FID_QSMM = 919 # 券商密码 DT:C -FID_MMMY = 920 # 密码密钥 DT:C -FID_CSMY = 921 # 传输密钥 DT:C -FID_FJXX = 922 # 附加信息 DT:C -FID_WBCLJG = 923 # 外部处理结果 DT:C -FID_SQWD = 924 # 申请网点 DT:C -FID_XYBZ = 925 # 效验标志 DT:C -FID_CXSQH = 926 # 撤销申请号 DT:C -FID_JYBS = 927 # 交易标识 DT:C -FID_CLLB = 928 # 处理类别 DT:C -FID_ZHLB = 929 # 帐户类别 DT:C -FID_FQF = 930 # 发起方 DT:C -FID_HZBS = 931 # 汇总笔数 DT:C -FID_HZJE = 932 # 汇总金额 DT:C -FID_LY = 933 # 来源 DT:C -FID_WDH = 934 # 网点号 DT:C -FID_QD1 = 935 # 起点一 DT:C -FID_QD2 = 936 # 起点二 DT:C -FID_QD3 = 937 # 起点三 DT:C -FID_QD4 = 938 # 起点四 DT:C -FID_QD5 = 939 # 起点五 DT:C -FID_BL1 = 940 # 佣金一 DT:C -FID_BL2 = 941 # 佣金二 DT:C -FID_BL3 = 942 # 佣金三 DT:C -FID_BL4 = 943 # 佣金四 DT:C -FID_BL5 = 944 # 佣金五 DT:C -FID_KHJCGX = 945 # 客户继承关系 DT:C -FID_SYZH1 = 946 # 收益帐号一 DT:C -FID_SYZH2 = 947 # 收益帐号二 DT:C -FID_JSTS = 948 # 计算天数 DT:C -FID_TJJYR = 949 # 统计交易日 DT:C -FID_TJTS = 950 # 统计天数 DT:C -FID_FPBL = 951 # 分配比例 DT:C -FID_ZKFS = 952 # 折扣方式 DT:C -FID_ZJED = 953 # 资金额度 DT:C -FID_ZCED = 954 # 资产额度 DT:C -FID_GLF = 955 # 管理费 DT:C -FID_YJDX = 956 # 佣金底限 DT:C -FID_EX_JYLB = 957 # 禁止交易类别 DT:C -FID_BDSL = 958 # 变动数量 DT:C -FID_HZFS = 959 # 汇总方式 DT:C -FID_LPSL = 960 # 礼品数量 DT:C -FID_LXBJ = 961 # 利息报价 DT:C -FID_KLX = 962 # 卡类型 DT:C -FID_KMC = 963 # 卡名称 DT:C -FID_BSC = 964 # 标识串 DT:C -FID_BSCKSWZ = 965 # 标识串开始位置 DT:C -FID_FJC = 966 # 附加串 DT:C -FID_FJCKSWZ = 967 # 附加串开始位置 DT:C -FID_KHKSWZ = 968 # 卡号开始位置 DT:C -FID_KHCD = 969 # 卡号长度 DT:C -FID_EN_YWKM = 970 # 允许业务科目 DT:C -FID_ZRSZ = 971 # 昨日市值 DT:C -FID_NEXTDATA = 972 # 继续取数标志 DT:C -FID_SYL = 973 # 收益率 DT:C -FID_FHS1 = 974 # 已返还佣金 DT:C -FID_GJBM1 = 975 # 国籍编码一 DT:C -FID_GJBM2 = 976 # 国籍编码二 DT:C -FID_GJBM3 = 977 # 国籍编码三 DT:C -FID_GJMC = 978 # 国籍名称 DT:C -FID_EGJMC = 979 # 国籍英文名称 DT:C -FID_CCCB = 980 # 持仓成本 DT:C -FID_BDRQ = 981 # 变动日期 DT:C -FID_MMXYLX = 982 # 密码效验类型 DT:C -FID_XZSJ = 983 # 限制时间 DT:C -FID_KHDXLX = 984 # 客户对象类型 DT:C -FID_JYSXGX = 985 # 交易所相关性 DT:C -FID_BZXGX = 986 # 币种相关性 DT:C -FID_QZXGX = 987 # 群组相关性 DT:C -FID_EXFLG = 988 # 查询扩展信息标志 DT:C -FID_MAX_D = 989 # 最大值(浮点) DT:C -FID_MIN_D = 990 # 最小值(浮点) DT:C -FID_MAX_L = 991 # 最大值(整型) DT:C -FID_MIN_L = 992 # 最小值(整型) DT:C -FID_GYFJQX = 993 # 柜员附加权限 DT:C -FID_ZHTZE = 994 # 帐户投资额 DT:C -FID_QSJE_B = 995 # 回报买清算资金 DT:C -FID_QSJE_S = 996 # 回报卖清算资金 DT:C -FID_FDYK_TB = 997 # 摊薄浮动盈亏 DT:C -FID_LLCSLB = 998 # 利率参数类别 DT:C -FID_EX_JJR = 999 # 禁止经纪人 DT:C -FID_FHFS = 1000 # 佣金返还方式 DT:C -FID_BZ_FH = 1001 # 佣金返还币种 DT:C -FID_HBDHBL = 1002 # 货币兑换比例 DT:C -FID_SYZH3 = 1003 # 收益帐户3 DT:C -FID_SYBL1 = 1004 # 收益比例1 DT:C -FID_SYBL2 = 1005 # 收益比例2 DT:C -FID_SYBL3 = 1006 # 收益比例3 DT:C -FID_GDKZSX = 1007 # 股东控制属性 DT:I -FID_RCKHH = 1008 # 容错客户号标志 DT:I -FID_RQ2 = 1009 # 日期2 DT:C -FID_EN_YXZZDM = 1010 # 营销组织代码范围 DT:C -FID_SBWTH = 1011 # 申报委托号 DT:C -FID_CITYID = 1012 # 城市ID DT:C -FID_DDLX = 1013 # 订单类型 DT:I -FID_SECTIONID = 1014 # 辖区ID DT:C -FID_SECTION = 1015 # 辖区名称 DT:C -FID_SFZQ = 1016 # 收费周期 DT:C -FID_WTPCH = 1017 # 委托批次号 DT:I -FID_KXDLSF = 1018 # 可选登录身份 DT:I -FID_EN_YWLB = 1019 # 业务类别范围 DT:C -FID_BZDM = 1020 # 标准代码 DT:C -FID_WBDM = 1021 # 外部代码 DT:C -FID_CSDM = 1022 # 参数代码 DT:C -FID_CSMC = 1023 # 参数名称 DT:C -FID_QZSM = 1024 # 取值说明 DT:C -FID_EN_FJBZ = 1025 # 允许的附加标志 DT:C -FID_HYMC = 1026 # 行业名称 DT:C -FID_JSJG = 1027 # 结算机构 DT:C -FID_CWLX = 1028 # 错误类型 DT:C -FID_CWDM = 1029 # 错误类型 DT:C -FID_CWSM = 1030 # 错误类型 DT:C -FID_ZXZS = 1031 # 最新指数 DT:C -FID_TZEBZ = 1032 # 投资额标志 DT:C -FID_KBBZ = 1033 # 佣金捆绑标志 DT:C -FID_KHTZFL = 1034 # 客户投资分类(X DT:DM.KH DT:ZFL) -FID_ZJZR = 1035 # 转入资金 DT:C -FID_ZJZC = 1036 # 转出资金 DT:C -FID_SZZR = 1037 # 转入市值 DT:C -FID_SZZC = 1038 # 转出市值 DT:C -FID_MKKZ = 1039 # 卖空控制 DT:I -FID_MFCS = 1040 # 免费登录次数 DT:C -FID_XZCS = 1041 # 限制登录次数 DT:C -FID_SJSX_A = 1042 # 每日使用总时间上限 DT:C -FID_SJSX_S = 1043 # 每日使用单站点时间上限 DT:C -FID_MMCSCS = 1044 # 密码尝试次数 DT:C -FID_ZDJDTS = 1045 # 自动解冻天数 DT:C -FID_MFHQCS = 1046 # 免费查询行情次数 DT:C -FID_HQSFSX = 1047 # 行情收费上限 DT:C -FID_HKSFSX = 1048 # 划卡收费上限 DT:C -FID_SJSFSX = 1049 # 使用时间收费上限 DT:C -FID_ZSFSX = 1050 # 总收费上限 DT:C -FID_DBYJXX = 1051 # 单笔佣金下限 DT:C -FID_DBYJSX = 1052 # 单笔佣金上限 DT:C -FID_ZCJJE = 1053 # 总成交金额 DT:R -FID_YJDJFS = 1054 # 佣金定价方式XTDM.YJDJFS DT:C -FID_FHGY = 1055 # 复核柜员 DT:C -FID_TJZQLB = 1056 # 统计证券类别 DT:C -FID_DJJSFS = 1057 # 佣金定价结算方式 DT:I -FID_FDBH = 1058 # 分段编号 DT:C -FID_CFCDBZ = 1059 # 是否允许重复撤单 DT:I DT:0 不允许;1 允许 -FID_ZHDM = 1060 # 专户代码 DT:C -FID_TZDW = 1061 # 投资单位 DT:C -FID_TZXX = 1062 # 投资下限 DT:C -FID_SYZKXS = 1063 # 收益折扣系统 DT:C -FID_SYTZFS = 1064 # 收益投资方式 DT:C -FID_TZJESX = 1065 # 投资金额上限 DT:C -FID_ZJLCDS = 1066 # 资金留存底数 DT:C -FID_TZBDJE = 1067 # 投资额变更数 DT:C -FID_ZHKHH = 1068 # 专户客户号 DT:C -FID_ZHZJZH = 1069 # 专户资金账户 DT:C -FID_LCJZJE = 1070 # 理财集中金额 DT:C -FID_LCFHJE = 1071 # 理财返还金额 DT:C -FID_SYZTZBZ = 1072 # 理财收益再投资标志 DT:C -FID_SYZTZZQ = 1073 # 收益再投资周期 DT:C -FID_LCZSY = 1074 # 理财总收益 DT:C -FID_SYZCJE = 1075 # 理财收益转存金额 DT:C -FID_SYZTZE = 1076 # 收益再投资金额 DT:C -FID_XYBH = 1077 # 协议编号 DT:C -FID_LCTZJE = 1078 # 理财投资金额 DT:C -FID_SGDM = 1079 # 专户申购代码 DT:C -FID_CLBZ = 1080 # 处理标志 DT:C -FID_FPSY = 1081 # 分配收益 DT:C -FID_GBZQL = 1082 # 公布中签率 DT:C -FID_SGSL = 1083 # 申购数量 DT:C -FID_SGJG = 1084 # 申购价格 DT:C -FID_SSRQ = 1085 # 上市日期 DT:C -FID_HKRQ = 1086 # 还款日期 DT:C -FID_SSDM = 1087 # 上市代码 DT:C -FID_PHDM = 1088 # 配号代码 DT:C -FID_HKDM = 1089 # 还款代码 DT:C -FID_SGRQ = 1090 # 申购日期 DT:C -FID_JEBL = 1091 # 金额比率 DT:C -FID_LCJZQTJE = 1092 # 理财集中金额 DT:C -FID_HZGDH = 1093 # 合作股东号 DT:C -FID_SYDX = 1094 # 适用对象 DT:C -FID_JYLJSFS = 1095 # 交易量计算方式 DT:C -FID_JYLLJZQ = 1096 # 交易量累计周期 DT:C -FID_DJFS = 1097 # 定价方式 DT:C -FID_BBJ = 1098 # 保本价 DT:C -FID_HZLB = 1099 # 合作帐户类别 DT:C -FID_FSJE_LCBJ = 1100 # 本金发生金额 DT:C -FID_BCYE_LCBJ = 1101 # 本次本金余额 DT:C -FID_FSJE_SY = 1102 # 收益发生金额 DT:C -FID_BCYE_SY = 1103 # 待转收益余额 DT:C -FID_FSJE_BZJ = 1104 # 保证金发生额 DT:C -FID_BCYE_BZJ = 1105 # 保证金帐户余额 DT:C -FID_HZLBMC = 1106 # 合作类别名称 DT:C -FID_KSFW = 1107 # 起始范围 DT:C -FID_JSFW = 1108 # 结束范围 DT:C -FID_ZDKZBZ = 1109 # 指定控制标志 DT:I -FID_KHS = 1110 # 开户户数 DT:C -FID_XHS = 1111 # 销户户数 DT:C -FID_ZHS = 1112 # 总户数 DT:C -FID_ZDGDHS = 1113 # 指定股东户数 DT:C -FID_CXZDHS = 1114 # 撤销股东户数 DT:C -FID_CCGDHS = 1115 # 持仓股东户数 DT:C -FID_TJZJYE = 1116 # 统计资金余额 DT:C -FID_TJZJCK = 1117 # 统计增加存款 DT:C -FID_TJZJQK = 1118 # 统计增加取款 DT:C -FID_TJZJGP = 1119 # 统计增加市值 DT:C -FID_TJJSGP = 1120 # 统计减少市值 DT:C -FID_TJGPSZ = 1121 # 统计股票市值 DT:C -FID_TJZZC = 1122 # 统计总资产 DT:C -FID_FDB1 = 1123 # 统计分段开始1 DT:C -FID_FDE1 = 1124 # 统计分段结束1 DT:C -FID_FDB2 = 1125 # 统计分段开始2 DT:C -FID_FDE2 = 1126 # 统计分段结束2 DT:C -FID_FDB3 = 1127 # 统计分段开始3 DT:C -FID_FDE3 = 1128 # 统计分段结束3 DT:C -FID_FDB4 = 1129 # 统计分段开始4 DT:C -FID_FDE4 = 1130 # 统计分段结束4 DT:C -FID_FDB5 = 1131 # 统计分段开始5 DT:C -FID_FDE5 = 1132 # 统计分段结束5 DT:C -FID_FDB6 = 1133 # 统计分段开始6 DT:C -FID_FDE6 = 1134 # 统计分段结束6 DT:C -FID_TJJGGS = 1135 # 统计结果个数 DT:C -FID_TJJGSJ = 1136 # 统计结果数据 DT:C -FID_QSBZ = 1137 # 实时清算标志 DT:C -FID_TZJE = 1138 # 透支金额 DT:C -FID_WJSZJ = 1139 # 未交收资金 DT:C -FID_ZJDJLSH = 1140 # 资金冻结流水号 DT:I -FID_YDZD = 1141 # 应答字段 DT:C -FID_YDZDSM = 1142 # 应答字段说明 DT:C -FID_YDSJ = 1143 # 应答数据 DT:C -FID_JCJJE = 1144 # 净成交金额 DT:C -FID_YXHS = 1145 # 有效户数 DT:C -FID_CJSLBL = 1146 # 成交数量比例 DT:C -FID_CJJEBL = 1147 # 成交金额比例 DT:C -FID_S1BL = 1148 # 佣金收入比例 DT:C -FID_ZZCBL1 = 1149 # 营业部的资产比例 DT:C -FID_ZZCBL2 = 1150 # 总公司的资产比例 DT:C -FID_ZSLBL1 = 1151 # 营业部的数量比例 DT:C -FID_ZSLBL2 = 1152 # 总公司的数量比例 DT:C -FID_ZHSBL1 = 1153 # 营业部的户数比例 DT:C -FID_ZHSBL2 = 1154 # 总公司的户数比例 DT:C -FID_JEXX = 1155 # 金额下限 DT:C -FID_ZQDJLSH = 1156 # 证券冻结流水号 DT:I -FID_WTSB = 1157 # 银证转帐参数的申报状态 DT:C -FID_QDBZ = 1158 # 银证转帐参数的签到标志 DT:C -FID_WBZH = 1159 # 外部帐号 DT:C -FID_SQBH = 1160 # 业务申请编号 DT:C -FID_WBCKKY = 1161 # 外部帐户参考可用余额 DT:C -FID_WBCKKQ = 1162 # 外部帐户参考可取资金余额 DT:C -FID_WBDJJE = 1163 # 外部帐户参考冻结金额 DT:C -FID_JYXZ = 1164 # 银证通交易限制 DT:C -FID_ZJXYFS = 1165 # 银证通资金校验方式 DT:C -FID_HBBZ = 1166 # 银证通资料回报类型 DT:C -FID_ZJHZFS = 1167 # 银证通资金回转方式 DT:C -FID_DRQKJE = 1168 # 当日取款金额 DT:R -FID_JGKZBZ = 1169 # 价格控制标志 DT:I -FID_ZZJSSJ = 1170 # 银证转帐停止正常转帐交易的时间 DT:C -FID_CZDRZXBZ = 1171 # 撤指当日是否允许注销 DT:I DT:0 不允许,1 允许 -FID_LSH_LXS = 1172 # 收取利息税的业务流水号 DT:I -FID_LX = 1173 # 利息 DT:R -FID_ZJMXLSH = 1174 # 资金明细流水号 DT:I -FID_YSSL = 1175 # 应收数量 DT:I -FID_BBYK = 1176 # 本笔盈亏 DT:R -FID_JYSFY = 1177 # 交易所费用 DT:R -FID_BCJKYE = 1178 # 本次借款余额 DT:R -FID_KSGSL = 1179 # 可申购数量 DT:I -FID_ZSZBL1 = 1180 # 营业部的市值比例 DT:C -FID_ZSZBL2 = 1181 # 总公司的市值比例 DT:C -FID_QCKHS = 1182 # 期初客户数 DT:C -FID_QMKHS = 1183 # 期末客户数 DT:C -FID_KSHSL = 1184 # 可赎回数量 DT:I -FID_EN_ZQDM = 1185 # 证券代码范围 DT:C -FID_XCMRJ = 1186 # 现钞买入价 DT:C -FID_XCMCJ = 1187 # 现钞卖出价 DT:C -FID_XHMRJ = 1188 # 现汇买入价 DT:C -FID_XHMCJ = 1189 # 现汇卖出价 DT:C -FID_GSBL = 1190 # 估算比例 DT:C -FID_HLBZ = 1191 # 汇率标志 DT:C -FID_DRCKJE = 1192 # 当日帐户存款金额 DT:C -FID_TZCKJE = 1193 # 当日通知存款金额 DT:C -FID_JGMC_E = 1194 # 机构英文名称 DT:C -FID_FRDB = 1195 # 法人代表 DT:C -FID_WTQR = 1196 # 委托确认库 DT:C -FID_HYLB = 1197 # 行业类别 DT:C -FID_YWFW = 1198 # 业务范围 DT:C -FID_ZCDZ = 1199 # 注册地址 DT:C -FID_ZCZB = 1200 # 注册资本 DT:C -FID_ZCYE = 1201 # 资产余额 DT:C -FID_FZYE = 1202 # 负债余额 DT:C -FID_YSZC = 1203 # 原始资产 DT:C -FID_CXWTH = 1204 # 撤单撤销委托号 DT:I -FID_YWXZ = 1205 # 业务限制 DT:C -FID_SJXM = 1206 # 审计项目 DT:C -FID_SJMC = 1207 # 审计名称 DT:C -FID_JS = 1208 # 债券增值积数 DT:C -FID_CCJJ = 1209 # 持仓均价 DT:C -FID_LJYK = 1210 # 累计盈亏 DT:C -FID_PGSL = 1211 # 配股数量 DT:C -FID_BL = 1212 # 比例 DT:C -FID_CSLB = 1213 # 参数类别 DT:C -FID_FJBZ = 1214 # 附加标识 DT:C -FID_QZQKBZ = 1215 # 强制取款标志 DT:C -FID_SBRQ = 1216 # 委托申报日期 DT:I -FID_ZCXX = 1217 # 资产下限 DT:C -FID_ZCSX = 1218 # 资产上限 DT:C -FID_TIME = 1219 # 操作时间 DT:C -FID_PGJE = 1220 # 配股金额 DT:C -FID_TGZH = 1221 # 债券系统托管帐户 DT:C -FID_GZQX = 1222 # 国债期限 DT:C -FID_HGTS = 1223 # 回购天数 DT:C -FID_GZJYSX = 1224 # 国债交易属性 DT:C -FID_ISLOGIN = 1225 # 是否登录标志 DT:I -FID_GZNBDM = 1226 # 债券内部代码 DT:C -FID_GZFJSX = 1227 # 国债附加属性 DT:C -FID_GZMZSX = 1228 # 面值属性 DT:C -FID_GZJXTS = 1229 # 国债计息天数 DT:C -FID_FXJG = 1230 # 债券发行价格 DT:C -FID_TGBH = 1231 # 托管编号 DT:C -FID_DYSL = 1232 # 抵押数量 DT:C -FID_TGRQ = 1233 # 托管日期 DT:C -FID_SXF = 1234 # 手续费 DT:C -FID_DJSL = 1235 # 冻结数量 DT:C -FID_CQDJ = 1236 # 长期冻结 DT:C -FID_JYFY = 1237 # 交易费用 DT:C -FID_DQBX = 1238 # 债券到期本息 DT:C -FID_GZLL = 1239 # 国债利率 DT:C -FID_DQRQ = 1240 # 到期(兑付日期) DT:C -FID_JXRQ = 1241 # 开始记息日期 DT:C -FID_LTRQ = 1242 # 开始流通日期 DT:C -FID_FXZQDJR = 1243 # 派息登记日 DT:C -FID_ZQFXRQ = 1244 # 派息日 DT:C -FID_DFZQDJR = 1245 # 兑付登记日 DT:C -FID_BRLX = 1246 # 记账式债券单位(100)本日利息 DT:C -FID_HGJG = 1247 # 回购价格 DT:C -FID_GHJG = 1248 # 购回价格 DT:C -FID_KTBZ = 1249 # 开通标志 DT:C -FID_HGSL = 1250 # 回购数量 DT:C -FID_HGRQ = 1251 # 回购日期 DT:C -FID_GHRQ = 1252 # 购回日期 DT:C -FID_ZRTGZH = 1253 # 转入托管帐户 DT:C -FID_QTZC = 1254 # 其他资产 DT:C -FID_ZZC = 1255 # 总资产 DT:C -FID_WQSZJ = 1256 # 未清算资金 DT:C -FID_JGDM = 1257 # 机构代码 DT:C -FID_DFSXFL = 1258 # 兑付手续费率 DT:C -FID_DFLXSL = 1259 # 兑付利息税率 DT:C -FID_JXFS = 1260 # 计息方式 DT:C -FID_CSSM = 1261 # 参数说明 DT:C -FID_SZSM = 1262 # 参数设置说明 DT:C -FID_XGGY = 1263 # 修改柜员 DT:C -FID_LOGINNAME = 1264 # 登录用户名称 DT:C -FID_MRDLSF = 1265 # 默认登录身份 DT:I -FID_MGZC = 1266 # 每股资产 DT:R -FID_SNMGSY = 1267 # 上年每股收益 DT:R -FID_XZJB = 1268 # 限制级别 DT:I -FID_EN_MCQZ = 1269 # 名称前缀范围 DT:C -FID_BDZQDM = 1270 # 本地证券代码 DT:C DT:买断式回购本地债券代码 -FID_LYJBL = 1271 # 履约金比例 DT:R -FID_RQWGHZJ = 1272 # 融券未购回资金(权益) DT:R -FID_RZWGHZJ = 1273 # 融资未购回资金(负债) DT:R -FID_BWJSZJ = 1274 # 买入未交收资金 DT:R -FID_SWJSZJ = 1275 # 卖出未交收资金 DT:R -FID_YSYXYED = 1276 # 已使用信用额度 DT:R -FID_DJWTK = 1277 # 登记委托库 DT:C -FID_DJHBK = 1278 # 登记回报库 DT:C -FID_CDSB = 1279 # 撤单申报库 DT:C -FID_CDQR = 1280 # 撤单确认库 DT:C -FID_WTQRNO = 1281 # 委托确认笔数 DT:I -FID_CDQRNO = 1282 # 撤单确认笔数 DT:I -FID_TYPE_BF = 1283 # 备份通道类型 DT:I -FID_MODULE_BF = 1284 # 备份申报模块 DT:C -FID_HOST_BF = 1285 # 备份申报主机地址 DT:C -FID_WTSB_BF = 1286 # 备份委托申报库 DT:C -FID_WTQR_BF = 1287 # 备份委托确认库 DT:C -FID_CDSB_BF = 1288 # 备份撤单申报库 DT:C -FID_CDQR_BF = 1289 # 备份撤单确认库 DT:C -FID_WTQRNO_BF = 1290 # 备份通道委托申报确认笔数 DT:I -FID_CDQRNO_BF = 1291 # 备份通道撤单确认笔数 DT:I -FID_TDBH = 1292 # 通道编号 DT:I -FID_EN_TDBH = 1293 # 通道编号范围 DT:C -FID_LTXW = 1294 # 联通席位 DT:C -FID_YYBXZMS = 1295 # 营业部限制模式 DT:I -FID_ZQLBXZMS = 1296 # 证券类别限制模式 DT:I -FID_SBBS = 1297 # 申报笔数 DT:I -FID_SBBS_S = 1298 # 单次轮询最大申报笔数 DT:I -FID_JGSJ = 1299 # 间隔时间 DT:I -FID_YXHSBL1 = 1300 # 营业部有效户数比例 DT:C -FID_YXHSBL2 = 1301 # 总部有效户数比例 DT:C -FID_ENDKHH = 1302 # 结束客户号 DT:C -FID_FILESIZE = 1303 # 文件大小 DT:C -FID_FILETRANSIZE = 1304 # 文件传送时的大小 DT:比如:压缩后 DT:C -FID_YJXX = 1305 # 最低佣金 DT:C -FID_YJSX = 1306 # 最高佣金 DT:C -FID_YHSL = 1307 # 印花税率 DT:C -FID_GHFL = 1308 # 过户费率 DT:C -FID_GHFXX = 1309 # 最低过户费 DT:C -FID_GHFSX = 1310 # 最高过户费 DT:C -FID_FJF = 1311 # 附加费 DT:C -FID_JSFL = 1312 # 结算费率 DT:R -FID_JSFXX = 1313 # 最低结算费 DT:C -FID_JSFSX = 1314 # 最高结算费 DT:C -FID_JYGFL = 1315 # 交易规费率 DT:C -FID_JYGFXX = 1316 # 交易规费下限 DT:C -FID_JYGFSX = 1317 # 交易规费上限 DT:C -FID_QTFL = 1318 # 其它费率 DT:C -FID_QTFXX = 1319 # 最低其他费用 DT:C -FID_QTFSX = 1320 # 最高其他费用 DT:C -FID_FID = 1321 # FIX包中的FID编号 DT:I -FID_EN_XWH = 1322 # 席位号范围 DT:C -FID_FWDM = 1323 # 客户服务代码 DT:C -FID_FWMC = 1324 # 客户服务名称 DT:C -FID_FWLX = 1325 # 客户服务类型 DT:C -FID_SLZ = 1326 # 客户服务受理主体 DT:C -FID_CLFS = 1327 # 客户服务处理方式 DT:C -FID_FILE = 1328 # 文件名 DT:C -FID_FILE2 = 1329 # 文件名二 DT:C -FID_PROCNAME = 1330 # 过程名 DT:C -FID_CSXH = 1331 # 参数序号 DT:C -FID_TYPE = 1332 # 参数类型 DT:C -FID_QSZ = 1333 # 缺省值 DT:C -FID_CJHB = 1334 # 成交回报库 DT:C -FID_CS1 = 1335 # 参数1 DT:C -FID_CS2 = 1336 # 参数2 DT:C -FID_CS3 = 1337 # 参数3 DT:C -FID_CS4 = 1338 # 参数4 DT:C -FID_CS5 = 1339 # 参数5 DT:C -FID_CS6 = 1340 # 参数6 DT:C -FID_CS7 = 1341 # 参数7 DT:C -FID_CS8 = 1342 # 参数8 DT:C -FID_CS9 = 1343 # 参数9 DT:C -FID_CS10 = 1344 # 参数10 DT:C -FID_CS11 = 1345 # 参数11 DT:C -FID_CS12 = 1346 # 参数12 DT:C -FID_CS13 = 1347 # 参数13 DT:C -FID_CS14 = 1348 # 参数14 DT:C -FID_CS15 = 1349 # 参数15 DT:C -FID_OPTERATOR = 1350 # 核心开户操作类型 DT:C -FID_OPTION = 1351 # 核心开户参数1 DT:C -FID_PACKINDEX = 1352 # 数据包序列号 DT:C -FID_GYDM = 1353 # 柜员代码 DT:C -FID_JYJS = 1354 # 交易基数 DT:C -FID_QTSX = 1355 # 其他属性 DT:C -FID_TDJY = 1356 # 替代交易 DT:C -FID_MRJG5 = 1357 # 买入价格5 DT:C -FID_MRSL5 = 1358 # 买入数量5 DT:C -FID_MCJG5 = 1359 # 卖出价格5 DT:C -FID_MCSL5 = 1360 # 卖出数量5 DT:C -FID_ZQSZ_RMB = 1361 # 人民币证券市值 DT:C -FID_ZQSZ_USD = 1362 # 美元证券市值 DT:C -FID_ZQSZ_HKD = 1363 # 港币证券市值 DT:C -FID_ZQSZ_ZSRMB = 1364 # 总证券市值折算人民币 DT:C -FID_ZJYE_RMB = 1365 # 人民币资金余额 DT:C -FID_ZJYE_USD = 1366 # 美元资金余额 DT:C -FID_ZJYE_HKD = 1367 # 港币资金余额 DT:C -FID_ZJYE_ZSRMB = 1368 # 总资金余额折算人民币 DT:C -FID_QTZC_RMB = 1369 # 人民币其他资产 DT:C -FID_QTZC_USD = 1370 # 美元其他资产 DT:C -FID_QTZC_HKD = 1371 # 港币其他资产 DT:C -FID_QTZC_ZSRMB = 1372 # 总其他资产折算人民币 DT:C -FID_LASTRECNO = 1373 # 最近回报记录号 DT:I -FID_HTHQZFW = 1374 # 合同号前缀范围 DT:C -FID_TZZHDM = 1375 # 投资组合代码 DT:C -FID_TZZHMC = 1376 # 投资组合代码 DT:C -FID_TZZHQZ = 1377 # 投资组合代码 DT:C -FID_TZZHLB = 1378 # 投资组合代码 DT:C -FID_HTHQJ = 1379 # 合同号区间 DT:C -FID_FWLB = 1380 # 服务类别 DT:C -FID_XMZX = 1381 # 项目子项 DT:C -FID_DZLB = 1382 # 主动推送允许地址类别 DT:C -FID_QSDZLB = 1383 # 主动推送缺省地址类别 DT:C -FID_SJFY = 1384 # 手机短信方式的服务收费标准 DT:C -FID_YJFY = 1385 # EMAIL方式的服务收费标准 DT:C -FID_ZF = 1386 # 涨幅 DT:C -FID_DF = 1387 # 跌幅 DT:C -FID_FSCS = 1388 # 发送次数 DT:C -FID_HQNR = 1389 # 行情点播内容 DT:C -FID_ZDSJ = 1390 # 行情点播允许发送指定时间点 DT:C -FID_SJQJ = 1391 # 行情点播允许发送时间区间 DT:C -FID_XWZBH = 1392 # 席位组编号 DT:I -FID_XJDM = 1393 # 现金代码(ETF) DT:C -FID_RGDM = 1394 # 认购代码(ETF) DT:C -FID_RGQRDM = 1395 # 认购确认代码 DT:C -FID_XWZMC = 1396 # 席位组名称 DT:C -FID_RIGH = 1397 # 坐席用户权限 DT:C -FID_MGSY = 1398 # 每股收益 DT:C -FID_SHDM = 1399 # 上海市场股票代码(配售) DT:C -FID_SZDM = 1400 # 深圳市场股票代码(配售) DT:C -FID_GSHY = 1401 # 上市公司行业 DT:C -FID_GSMC = 1402 # 上市公司名称 DT:C -FID_FXZL = 1403 # 发行总量 DT:C -FID_FILEWRITETIME = 1404 # 文件修改时间 DT:C -FID_DHXL = 1405 # 单户申购限量 DT:C -FID_BLFM = 1406 # 比例分母 DT:配股、送股等 DT:C -FID_BLFZ = 1407 # 比例分子 DT:配股、送股等 DT:C -FID_ZQL = 1408 # 中签率 DT:C -FID_SSGJ = 1409 # 上市估价 DT:C -FID_FXRQ = 1410 # 发行日期 DT:C -FID_ZQYHRQ = 1411 # 中签摇号日期 DT:C -FID_CQRQ = 1412 # 除权日期 DT:C -FID_JKQSRQ = 1413 # 缴款起始日期 DT:C -FID_JKJSRQ = 1414 # 缴款结束日期 DT:C -FID_TSXX = 1415 # 特别提示信息 DT:C -FID_ZGB = 1416 # 上市公司总股本 DT:C -FID_MGGJJ = 1417 # 每股资本公积金 DT:R -FID_MGWFPLR = 1418 # 每股未分配利润 DT:R -FID_CLMC = 1419 # 佣金定价策略名称 DT:C -FID_EN_FLLB = 1420 # 费率类别范围 DT:C -FID_GHFZKL = 1421 # 过户费折扣率 DT:R -FID_LJJS = 1422 # 累计计数 DT:I -FID_LJZQ = 1423 # 累计周期 DT:I -FID_ZCJSFS = 1424 # 资产计算方式 DT:I -FID_ZSYJL = 1425 # 折算佣金率 DT:I -FID_JYLFDBH = 1426 # 交易量分段编号 DT:I -FID_ZCFDBH = 1427 # 资产分段编号 DT:I -FID_JYLXX = 1428 # 交易量下限 DT:R -FID_JYLSX = 1429 # 交易量上限 DT:R -FID_GHJE = 1430 # 归还金额 DT:R -FID_FZYWDM = 1431 # 复制业务代码 DT:C -FID_LOGIN_ENABLE = 1432 # 登录允许状态 DT:I DT:0 禁止;1 允许 -FID_ZQJY_ENABLE = 1433 # 证券交易允许状态 DT:I DT:0 禁止;1 允许 -FID_ZJYW_ENABLE = 1434 # 资金业务允许状态 DT:I DT:0 禁止;1 允许 -FID_LSCXYW_ENABLE = 1435 # 历史查询业务状态 DT:I DT:0 禁止;1 允许 -FID_OFS_ENABLE = 1436 # 开放式基金允许状态 DT:I DT:0 禁止;1 允许 -FID_KHYW_ENABLE = 1437 # 客户业务允许状态 DT:I DT:0 禁止;1 允许 -FID_SFYG = 1438 # 是否内部员工 DT:I -FID_XZYS = 1439 # 限制月数 DT:I -FID_FUNCID = 1440 # 函数功能号 DT:I -FID_CXJE = 1441 # 撤销金额 DT:R -FID_ZJLY = 1442 # 资金来源 DT:C DT:银行、交易所... -FID_WTSF = 1443 # 委托收费金额 DT:R -FID_CDSF = 1444 # 撤单收费金额 DT:R -FID_XYSYBZ = 1445 # 信用使用标志 DT:I -FID_LSCLMS = 1446 # 冲销资金业务原流水处理模式 DT:I DT:0 保留,1 删除原流水 -FID_JLLSBZ = 1447 # 是否记录流水标志 DT:I DT:0 默认 -FID_TZMS = 1448 # 调整模式 DT:I DT:0 直接调整,1 累加 -FID_DOMAIN1 = 1449 # 查询域 DT:C DT:全体查询当前数据所在的域 -FID_REGLOG = 1450 # 是否记录日志 DT:I DT:0 记录,1 不记录 -FID_SLTSFS = 1451 # 数量提示方式 DT:C -FID_OWNER_KH = 1452 # 允许拥有客户 DT:I -FID_OWNER_JJR = 1453 # 允许拥有经纪人 DT:I -FID_KZFS_KHQX = 1454 # 客户权限控制方式 DT:I -FID_KZFS_YHQX = 1455 # 用户权限控制方式 DT:I -FID_KZFS_CSQX = 1456 # 参数权限控制方式 DT:I -FID_KZFS_KHFL = 1457 # 客户分类控制方式 DT:I -FID_YXRQ = 1458 # 有效日期 DT:I -FID_WJLX = 1459 # 文件类型 DT:I -FID_WJLJ = 1460 # 文件路径 DT:C -FID_SYFW = 1461 # 适用范围 DT:I -FID_ZJDZ = 1462 # 证件上的地址 DT:C -FID_FXJB = 1463 # 风险级别 DT:I -FID_SQCZRH = 1464 # 授权操作人编号 DT:C -FID_ZHGLJG = 1465 # 帐户管理机构 DT:C -FID_ZJDZ_FRDB = 1466 # 法人代表的证件地址 DT:C -FID_XM_JBR = 1467 # 机构经办人姓名 DT:C -FID_ZJLB_JBR = 1468 # 机构经办人证件类别 DT:I -FID_ZJBH_JBR = 1469 # 机构经办人证件编号 DT:C -FID_ZCFZ = 1470 # 资产分组 DT:C -FID_EN_ZCFZ = 1471 # 资产分组范围 DT:C -FID_XJYE = 1472 # 现金余额 DT:R -FID_RZRQ = 1473 # 入帐日期 DT:I -FID_TXXS = 1474 # 是否显示图像 DT:I -FID_CDWZID_NEW = 1475 # 新菜单位置代码 DT:I -FID_KZYWDM = 1476 # 扩展业务代码 DT:C -FID_KZYWMC = 1477 # 扩展业务名称 DT:C -FID_KZYWSM = 1478 # 扩展业务说明 DT:C -FID_KZYWZT = 1479 # 扩展业务状态 DT:I -FID_ZZXY = 1480 # 自助协议 DT:C -FID_NZZCJE = 1481 # 内转转出金额 DT:R -FID_NZZRJE = 1482 # 内转转入金额 DT:R -FID_QTCKJE = 1483 # 其它存款金额 DT:R -FID_QTQKJE = 1484 # 其它取款金额 DT:R -FID_ZPCKJE = 1485 # 支票存款金额 DT:R -FID_ZPQKJE = 1486 # 支票取款金额 DT:R -FID_ZZZCJE = 1487 # 银证转帐转出金额 DT:R -FID_ZZZRJE = 1488 # 银证转帐转入金额 DT:R -FID_HCJE = 1489 # 红冲金额 DT:R -FID_LBJE = 1490 # 兰补金额 DT:R -FID_TJZQ = 1491 # 统计周期 DT:I DT:0 按天;1 按月;2 按年 -FID_TJDW = 1492 # 统计单位 DT:C -FID_TGZRHS = 1493 # 转托管转入户数 DT:I -FID_TGZCHS = 1494 # 转托管转出户数 DT:I -FID_TGZRSZ = 1495 # 转托管转入市值 DT:R -FID_TGZCSZ = 1496 # 转托管转出市值 DT:R -FID_ZDZRSZ = 1497 # 指定转入市值 DT:R -FID_CZZCSZ = 1498 # 撤指转出市值 DT:R -FID_JGLBMC = 1499 # 机构类别名称 DT:C -FID_FXLB = 1500 # 发行类别 DT:I -FID_FXRDM = 1501 # 发行人代码 DT:C -FID_QZDM = 1502 # 权证代码 DT:C -FID_QZLX = 1503 # 权证类型 DT:I -FID_XQBL = 1504 # 行权比例 DT:R -FID_FILEDATA = 1505 # 文件数据 DT:C -FID_FILEZIP = 1506 # 文件是否压缩传送(由服务端决定) DT:C -FID_FILECOMPANYNAME = 1507 # 文件的公司名称 DT:C -FID_FILEPRODUCTNAME = 1508 # 文件的相关产品名称 DT:C -FID_FILEDIR = 1509 # 文件所存放目录 DT:C -FID_FILENEW = 1510 # 是新文件,强制用户更新 DT:C -FID_FILERELATION = 1511 # 上传数据块与已存在的文件的关系 DT:C -FID_FILEPOSITION = 1512 # 文件中相对于文件头的偏移 DT:C -FID_FILETYPE = 1513 # 文件的业务类型 DT:C -FID_XQDM = 1514 # 行权代码 DT:C -FID_XQFS = 1515 # 行权方式 DT:I -FID_XQJG = 1516 # 行权价格 DT:R -FID_ZCLB = 1517 # 资产类别 DT:I -FID_DBXS = 1518 # 担保系数 DT:R -FID_SJZD = 1519 # 数据字典 DT:C -FID_SRKJLX = 1520 # 输入控件类型 DT:I -FID_DZFS = 1521 # 客户对帐单寄送方式 DT:I -FID_CXSL = 1522 # 撤销数量 DT:I -FID_BLSFUNC = 1523 # 对应的BLS功能码 DT:I -FID_QSFY = 1524 # 清算费用 DT:R -FID_RGRQ = 1525 # 认购日期 DT:I -FID_JGRQ = 1526 # 交割日期 DT:I -FID_JYSCPFL = 1527 # 交易所产品分类 DT:C -FID_JYSCPZL = 1528 # 交易所产品子类 DT:C -FID_DDLXXZ = 1529 # 订单类型限制 DT:C -FID_BSDDZXSL = 1530 # 冰山订单最小商量 DT:I -FID_BSDDZXPLSL = 1531 # 冰山订单最小披露数量 DT:I -FID_JYQX = 1532 # 交易权限 DT:I -FID_SBJB = 1533 # 申报级别 DT:I -FID_ZSXJ = 1534 # 止损限价 DT:R -FID_ISIN = 1535 # ISIN代码 DT:C -FID_DDYXRQ = 1536 # 订单有效日期 DT:I -FID_DDSXXZ = 1537 # 订单时效限制 DT:I -FID_DDJYXZ = 1538 # 订单交易限制 DT:I -FID_JYSDDBH = 1539 # 交易所订单编号 DT:C -FID_BRCJSL = 1540 # 本日成交数量 DT:I -FID_BRCJJE = 1541 # 本日成交金额 DT:R -FID_EN_SBJB = 1542 # 申报级别范围 DT:C -FID_DZXXBZ = 1543 # 多值信息标志 DT:I DT:0 单值,1 多值 -FID_DXLX = 1544 # 对象类型 DT:I -FID_EN_LOGINID = 1545 # 登录ID范围 DT:C -FID_EN_JSDM = 1546 # 角色代码 DT:C -FID_JYBWFL = 1547 # 交易备忘分类 DT:I -FID_QRSMJG = 1548 # 确认扫描间隔 DT:I -FID_HBSMJG = 1549 # 回报扫描间隔 DT:I -FID_NONTRADINGORDTYPE = 1550 # NGTS非交易订单类型 DT:C -FID_ORDTYPE = 1551 # NGTS接口订单类型 DT:C -FID_SIDE = 1552 # NGTS买卖方向 DT:C -FID_TIMEINFORCE = 1553 # NGTS时效限制 DT:C -FID_TRADINGSESSIO = 1554 # NGTS交易限制 DT:C -FID_XTCSBZ = 1555 # 系统测试标志 DT:I -FID_ZJJRBZ = 1556 # 主经纪人标志 DT:I -FID_PJZC = 1557 # 平均资产 DT:R -FID_KHMMSQ = 1558 # 客户密码授权 DT:I DT:客户是否将密码授权给其代理人 -FID_TJRQ = 1559 # 统计日期 DT:I -FID_BCDJSL = 1560 # 本地冻结数量 DT:I -FID_TQSL = 1561 # 透券数量 DT:I -FID_EN_SQLB = 1562 # 申请类别范围 DT:C -FID_RGJG = 1563 # 认购价格 DT:R -FID_RGSL = 1564 # 认购数量 DT:I -FID_CGLB = 1565 # 存管类别 DT:I -FID_CGZH = 1566 # 存管帐号 DT:C -FID_CGYHDM = 1567 # 存管银行代码 DT:C -FID_CGYHZH = 1568 # 存管银行帐户 DT:C -FID_CGCLJG = 1569 # 存管行处理结果 DT:I -FID_CGJGSM = 1570 # 存管行结果说明 DT:C -FID_CGCLRQ = 1571 # 存管行处理日期 DT:I -FID_CGCLSJ = 1572 # 存管行处理时间 DT:C -FID_CGWBCLJG = 1573 # 存管行外部处理结果 DT:C -FID_CXWBLSH = 1574 # 撤销外部流水号 DT:C -FID_YHYE = 1575 # 银行余额 DT:R DT:存管银行端资金管理帐户余额 -FID_ZBYH = 1576 # 存管主办银行 DT:I DT:0 协办行,1 主办行 -FID_CGJGDM = 1577 # 存管机构代码 DT:C DT:在银行端保存的营业部编码 -FID_MRSL6 = 1578 # 买入数量6 DT:I -FID_MRSL7 = 1579 # 买入数量7 DT:I -FID_MRSL8 = 1580 # 买入数量8 DT:I -FID_MRSL9 = 1581 # 买入数量9 DT:I -FID_MRSL10 = 1582 # 买入数量10 DT:I -FID_MCSL6 = 1583 # 卖出数量6 DT:I -FID_MCSL7 = 1584 # 卖出数量7 DT:I -FID_MCSL8 = 1585 # 卖出数量8 DT:I -FID_MCSL9 = 1586 # 卖出数量9 DT:I -FID_MCSL10 = 1587 # 卖出数量10 DT:I -FID_MRJG6 = 1588 # 买入价格6 DT:R -FID_MRJG7 = 1589 # 买入价格7 DT:R -FID_MRJG8 = 1590 # 买入价格8 DT:R -FID_MRJG9 = 1591 # 买入价格9 DT:R -FID_MRJG10 = 1592 # 买入价格10 DT:R -FID_MCJG6 = 1593 # 卖出价格6 DT:R -FID_MCJG7 = 1594 # 卖出价格7 DT:R -FID_MCJG8 = 1595 # 卖出价格8 DT:R -FID_MCJG9 = 1596 # 卖出价格9 DT:R -FID_MCJG10 = 1597 # 卖出价格10 DT:R -FID_PCDWBL = 1598 # 平仓到位比例 DT:R -FID_MRJG = 1599 # 买入价格 DT:R -FID_TOKEN = 1600 # 客户登录令牌 DT:C -FID_XYDJ = 1601 # 信用等级 DT:C -FID_CCSLXZ = 1602 # 持仓数量限制 DT:C -FID_YJBL = 1603 # 预警比例 DT:C -FID_PCBL = 1604 # 平仓比例 DT:C -FID_LTSL = 1605 # 流通数量 DT:C -FID_TABLENAME = 1606 # 表名 DT:C -FID_FIELDNAME = 1607 # 字段名 DT:C -FID_JDBZ = 1608 # 借贷标志 DT:C -FID_HYZ = 1609 # 合约状态 DT:C -FID_HYB = 1610 # 合约标题 DT:C -FID_JKHH = 1611 # 借方客户号 DT:C -FID_DKHH = 1612 # 贷方客户号 DT:C -FID_JYYB = 1613 # 借方营业部 DT:C -FID_DYYB = 1614 # 贷方营业部 DT:C -FID_ZCKZDX = 1615 # 资产控制底线 DT:C -FID_HYH = 1616 # 合约号 DT:C -FID_HYJE = 1617 # 合约金额 DT:C -FID_ZJZHBH = 1618 # 资金账户编号 DT:C -FID_RZLV = 1619 # 融资利率 DT:C -FID_JQRQ = 1620 # 结清日期 DT:C -FID_ZHYH = 1621 # 子合约号 DT:C -FID_JZJZH = 1622 # 借方资金账号 DT:C -FID_DZJZH = 1623 # 贷方资金账号 DT:C -FID_JZJYYB = 1624 # 借方资金营业部 DT:C -FID_DZJYYB = 1625 # 贷方资金营业部 DT:C -FID_EN_JYYB = 1626 # 借方营业部 DT:C -FID_EN_DYYB = 1627 # 贷方营业部 DT:C -FID_EN_JZJYYB = 1628 # 借方资金营业部 DT:C -FID_EN_DZJYYB = 1629 # 贷方资金营业部 DT:C -FID_DJGY = 1630 # 登记柜员 DT:C -FID_SHGY = 1631 # 审核柜员 DT:C -FID_JKHXM = 1632 # 借方客户姓名 DT:C -FID_DKHXM = 1633 # 贷方客户姓名 DT:C -FID_EN_BH = 1634 # 资金编号 DT:C -FID_EN_ZBH = 1635 # 资金子编号 DT:C -FID_ZHDYCS = 1636 # 帐户抵押次数 DT:I -FID_ZBH = 1637 # 资金子编号 DT:C -FID_ZHMC = 1638 # 帐户名称 DT:C -FID_JZHYE = 1639 # 借方帐户余额 DT:C -FID_DZHYE = 1640 # 贷方帐户余额 DT:C -FID_JZXSZ = 1641 # 借方最新市值 DT:C -FID_DZXSZ = 1642 # 贷方最新市值 DT:C -FID_JZCZZ = 1643 # 借方资产总值 DT:C -FID_DZCZZ = 1644 # 贷方资产总值 DT:C -FID_SHTG = 1645 # 审核是否通过 DT:C -FID_JQHYJE = 1646 # 已结清合约金额 DT:C -FID_EN_KHYYB = 1647 # 客户营业部 DT:C -FID_EN_ZJYYB = 1648 # 资金营业部 DT:C -FID_SRYE2 = 1649 # 上日余额2 DT:C -FID_ZHYE2 = 1650 # 帐户余额2 DT:C -FID_ZPJE2 = 1651 # 支票金额2 DT:C -FID_DJJE2 = 1652 # 冻结金额2 DT:C -FID_YCDJJE2 = 1653 # 异常冻结金额2 DT:C -FID_ZJCQDJ2 = 1654 # 资金长期冻结2 DT:C -FID_WJSJE2 = 1655 # 未交收金额2 DT:C -FID_KYZJ2 = 1656 # 可用资金2 DT:C -FID_KQZJ2 = 1657 # 可取资金2 DT:C -FID_XJZC2 = 1658 # 现金资产2 DT:C -FID_GPSZ2 = 1659 # 股票市值2 DT:C -FID_LX2 = 1660 # 预计利息2 DT:C -FID_LXS2 = 1661 # 预计利息税2 DT:C -FID_TZLX2 = 1662 # 透支利息2 DT:C -FID_RZJE2 = 1663 # 融资金额2 DT:C -FID_QSJE_B2 = 1664 # 回报买清算资金2 DT:C -FID_QSJE_S2 = 1665 # 回报卖清算资金2 DT:C -FID_DRCKJE2 = 1666 # 当日帐户存款金额2 DT:C -FID_TZCKJE2 = 1667 # 当日通知存款金额2 DT:C -FID_HAVE_ZCXX = 1668 # 是否查询资产信息 DT:C -FID_HAVE_JKCS = 1669 # 是否查询融资监控参数 DT:C -FID_XZDJ = 1670 # 限制等级 DT:C -FID_CCBLXZ = 1671 # 持仓比例限制 DT:C -FID_ZHYJE = 1672 # 总合约金额 DT:C -FID_RZJEBL = 1673 # 融资金额比例 DT:C -FID_RZBLSX = 1674 # 融资金额比例限制 DT:C -FID_SHQD = 1675 # 业务审核起点 DT:R -FID_YWDM = 1676 # 业务代码 DT:C -FID_SHFS = 1677 # 审核方式 DT:I -FID_SHJS = 1678 # 审核级数 DT:I -FID_LCMC = 1679 # 流程名称 DT:C -FID_SHJB = 1680 # 审核级别 DT:I -FID_LGFH = 1681 # 临柜复核 DT:I -FID_HTSH = 1682 # 后台审核 DT:I -FID_LGFHJSDM = 1683 # 临柜复核角色代码 DT:C -FID_JKYWDM = 1684 # 接口业务代码 DT:C -FID_SFJYLX = 1685 # 身份校验类型 DT:I -FID_MBMC = 1686 # 模板名称 DT:C -FID_XSBQ = 1687 # 显示标签 DT:C -FID_FLLB = 1688 # 费率类别 DT:I -FID_GFBDFX = 1689 # 股份变动方向 DT:I -FID_GFJSTS = 1690 # 股份交收天数 DT:I -FID_JHJJKS = 1691 # 集合竞价开始时间 DT:C -FID_JHJJJS = 1692 # 集合竞价结束时间 DT:C -FID_JJJYBZ = 1693 # 净价交易标志 DT:I -FID_JSFBZ = 1694 # 经手费标志 DT:I -FID_JYZT = 1695 # 交易状态 DT:I -FID_JYKZ = 1696 # 交易控制 DT:I -FID_QSDZ = 1697 # 券商地址 DT:C -FID_SHSBBZ = 1698 # 上海申报标志 DT:C -FID_SZSBBZ = 1699 # 深圳申报标志 DT:C -FID_SZCDBZ = 1700 # 深圳撤单标志 DT:C -FID_SWKSSJ = 1701 # 上午开市时间 DT:C -FID_SWBSSJ = 1702 # 上午闭市时间 DT:C -FID_XWKSSJ = 1703 # 下午开市时间 DT:C -FID_XWBSSJ = 1704 # 下午闭市时间 DT:C -FID_SJXZ = 1705 # 时间限制 DT:I -FID_XJFS = 1706 # 限价方式 DT:I -FID_ZJBDFX = 1707 # 资金变动方向 DT:I -FID_ZJJSTS = 1708 # 资金交收天数 DT:I -FID_XGDM = 1709 # 相关代码 DT:C -FID_PCKZ = 1710 # 平仓控制 DT:C -FID_JSFS = 1711 # 结算方式 DT:C -FID_XWLX = 1712 # 席位类型 DT:C -FID_JGDW = 1713 # 价格单位 DT:C -FID_MCJG = 1714 # 卖出价格 DT:R -FID_KCDW = 1715 # 开仓单位 DT:C -FID_JYBM = 1716 # 交易编码 DT:C -FID_TZLB = 1717 # 投资类别 DT:C -FID_KPBZ = 1718 # 开平标志 DT:C -FID_RQJEBL = 1719 # 融券金额比例 DT:R -FID_BZJ = 1720 # 保证金 DT:C -FID_JYSBZJ = 1721 # 交易所保证金 DT:C -FID_JGSL = 1722 # 交割数量 DT:C -FID_LJZK = 1723 # 累计折扣 DT:C -FID_FXL = 1724 # 风险率 DT:C -FID_ZFXL = 1725 # 昨风险率 DT:C -FID_PCSL = 1726 # 平仓数量 DT:C -FID_PCYK = 1727 # 平仓盈亏 DT:C -FID_PCRQ = 1728 # 平仓日期 DT:C -FID_CCWTH = 1729 # 持仓委托号 DT:C -FID_GSDM = 1730 # 公司代码 DT:C -FID_SBJLH = 1731 # 申报记录号 DT:C -FID_ZKFY = 1732 # 折扣费用 DT:C -FID_FHJE = 1733 # 返还金额 DT:C -FID_CJJJ = 1734 # 成交均价 DT:C -FID_DJBZJ = 1735 # 冻结保证金 DT:C -FID_SBGY = 1736 # 申报柜员 DT:C -FID_BDJE = 1737 # 变动金额 DT:C -FID_BCDJ = 1738 # 本次冻结 DT:C -FID_BDSJ = 1739 # 变动时间 DT:C -FID_CCSL = 1740 # 持仓数量 DT:C -FID_BZJBL = 1741 # 保证金比例 DT:C -FID_DWBZJ = 1742 # 单位保证金 DT:C -FID_JYSBZJBL = 1743 # 交易所保证金比例 DT:C -FID_JYSDWBZJ = 1744 # 交易所单位保证金 DT:C -FID_LJFH = 1745 # 累计返还 DT:C -FID_BRSXF = 1746 # 本日手续费 DT:C -FID_BRPCYK = 1747 # 本日平仓盈亏 DT:C -FID_JYSBRSXF = 1748 # 交易所本日手续费 DT:C -FID_JYSCCXE = 1749 # 交易所持仓限额 DT:C -FID_KHCCXE = 1750 # 客户持仓限额 DT:C -FID_SQCZBZ = 1751 # 授权操作标志 DT:I -FID_JSLB = 1752 # 角色类别 DT:I -FID_QXLB = 1753 # 用户权限类别 DT:I -FID_SHBZ = 1754 # 审核标志 DT:I -FID_AZRQ = 1755 # 安装日期 DT:I -FID_CPDM = 1756 # 产品代码 DT:C -FID_CPMC = 1757 # 产品名称 DT:C -FID_DFRQ = 1758 # 兑付日期 DT:I -FID_XLH = 1759 # 序列号 DT:C -FID_YXXG = 1760 # 是否允许修改 DT:I -FID_ZJSQRQ = 1761 # 最近授权日期 DT:I -FID_CWJB = 1762 # 错误级别 DT:I -FID_JKLB = 1763 # 接口类别 DT:I -FID_JKCWDM = 1764 # 接口错误代码 DT:C -FID_CWLY = 1765 # 错误来源 DT:C -FID_KSKHH = 1766 # 开始客户号 DT:C -FID_JSKHH = 1767 # 结束客户号 DT:C -FID_KYKHH = 1768 # 可用客户号 DT:C -FID_SJKZFS = 1769 # 时间控制方式 DT:I -FID_CPXM = 1770 # 产品项目 DT:C -FID_SJXZ_SQCZR = 1771 # 授权操作人时间期限限制 DT:I -FID_TBTS_SQCZR = 1772 # 授权操作人特别提示 DT:C -FID_ZJBH_SQCZR = 1773 # 授权操作人证件编号 DT:C -FID_ZJLB_SQCZR = 1774 # 授权操作人证件类别 DT:I -FID_JFQSRQ = 1775 # 积分起始日期 DT:I -FID_JGBZ = 1776 # 机构帐户标志 DT:I -FID_KHJF = 1777 # 客户积分 DT:I -FID_KHKH = 1778 # 客户卡号 DT:C -FID_MOBILE = 1779 # 移动电话 DT:C -FID_TZZFL = 1780 # 投资者分类 DT:I -FID_YXZZDM = 1781 # 营销组织代码 DT:C -FID_ZDXM = 1782 # 帐单项目 DT:C -FID_ZDZQ = 1783 # 帐单周期 DT:I -FID_ZJDLRQ = 1784 # 最近登录日期 DT:I -FID_SXDM = 1785 # 附加属性代码 DT:C -FID_LQRQ = 1786 # 领取日期 DT:I -FID_JGXZ = 1787 # 机构性质 DT:I -FID_ZJLB_FRDB = 1788 # 证件类别(法人代表) DT:I -FID_ZJBH_FRDB = 1789 # 证件编号(法人代表) DT:C -FID_ZCSJ = 1790 # 注册时间 DT:I -FID_KHJLXM = 1791 # 客户经理姓名 DT:C -FID_BZ1 = 1792 # 币种1 DT:C -FID_BZ2 = 1793 # 币种2 DT:C -FID_MBBH = 1794 # 模板编号 DT:I -FID_TABLE = 1795 # 数据表 DT:C -FID_ACT = 1796 # 动作 DT:I -FID_XZLB = 1797 # 限制类别 DT:I -FID_KHQZFW1 = 1798 # 客户群组范围 DT:C -FID_SJYWKM = 1799 # 上级业务科目 DT:C -FID_LLLX = 1800 # 利率类型 DT:I -FID_RZJESX = 1801 # 融资金额上限 DT:R -FID_RQSLSX = 1802 # 融券数量上限 DT:I -FID_RZED = 1803 # 融资额度 DT:R -FID_RQED = 1804 # 融券额度 DT:R -FID_RZFDLL = 1805 # 融资浮动利率 DT:R -FID_RQFDLL = 1806 # 融券浮动利率 DT:R -FID_RZXYLL = 1807 # 融资信用利率 DT:R -FID_RQXYLL = 1808 # 融券信用利率 DT:R -FID_RQLL = 1809 # 融券利率 DT:R -FID_WYLB = 1810 # 违约类别 DT:I -FID_SQL = 1811 # DT:C -FID_FILENAME = 1812 # 文件名称 DT:C -FID_FILEVERSION = 1813 # 文件版本 DT:C -FID_ZJLB_GDH = 1814 # 股东证件类别 DT:I -FID_MEMHEAD = 1815 # DT:C -FID_MEMDATA = 1816 # DT:C -FID_MEMCOUNT = 1817 # DT:C -FID_MEMSIZE = 1818 # DT:C -FID_GQZH_ZR = 1819 # 转入股权帐号 DT:C -FID_PCCL = 1820 # 平仓策略 DT:I -FID_RZXYED = 1821 # 融资信用额度 DT:R -FID_RQXYED = 1822 # 融券信用额度 DT:R -FID_RQJE = 1823 # 融券金额 DT:R -FID_YQSL = 1824 # 余券数量 DT:I -FID_RZSL = 1825 # 融资数量 DT:I -FID_RQSL = 1826 # 融券数量 DT:I -FID_RZWTSL = 1827 # 融资委托数量 DT:I -FID_RQWTSL = 1828 # 融券委托数量 DT:I -FID_RZWTJE = 1829 # 融资委托金额 DT:R -FID_RQWTJE = 1830 # 融券委托金额 DT:R -FID_RZCJSL = 1831 # 融资成交数量 DT:I -FID_RQCJSL = 1832 # 融券成交数量 DT:I -FID_RZCJJE = 1833 # 融资成交金额 DT:R -FID_RQCJJE = 1834 # 融券成交金额 DT:R -FID_YQWTSL = 1835 # 余券委托数量 DT:I -FID_YQCJSL = 1836 # 余券成交数量 DT:I -FID_HQWTSL = 1837 # 还券委托数量 DT:I -FID_HQCJSL = 1838 # 还券成交数量 DT:I -FID_RZLLXX = 1839 # 融资利率下限 DT:R -FID_RQLLXX = 1840 # 融券利率下限 DT:R -FID_RZXYJS = 1841 # 融资占用利息基数 DT:R -FID_RQXYJS = 1842 # 融券占用利息基数 DT:R -FID_RZXYLX = 1843 # 融资占用利息 DT:R -FID_RQXYLX = 1844 # 融券占用利息 DT:R -FID_RZYJLX = 1845 # 融资预计利息 DT:R -FID_RQYJLX = 1846 # 融券预计利息 DT:R -FID_FZJE = 1847 # 负债金额 DT:R -FID_FZSL = 1848 # 负债数量 DT:I -FID_MARGIN_ENABLE = 1849 # 融资融券允许状态 DT:I -FID_KQBZ = 1850 # 开启标志 DT:I -FID_KSSJ1 = 1851 # 开始时间1 DT:C -FID_JSSJ1 = 1852 # 结束时间1 DT:C -FID_KSSJ2 = 1853 # 开始时间2 DT:C -FID_JSSJ2 = 1854 # 结束时间2 DT:C -FID_WXWTFBZ = 1855 # 无效委托标志 DT:I -FID_MFCXCS = 1856 # 免费查询次数 DT:I -FID_KYXYED = 1857 # 可用信用额度 DT:R -FID_XYED = 1858 # 信用额度 DT:R -FID_RZFY = 1859 # 融资费用 DT:R -FID_RQFY = 1860 # 融券费用 DT:R -FID_BDKYZJ = 1861 # 外部帐户本地可用资金 DT:R -FID_SHLX = 1862 # 税后利息 DT:R -FID_JCFL = 1863 # 基础分类 DT:I -FID_YSJYBZ = 1864 # 夜市交易标志 DT:I -FID_YSKSSJ = 1865 # 夜市开市时间 DT:C -FID_YSBSSJ = 1866 # 夜市闭市时间 DT:C -FID_JYSSXF = 1867 # 交易所手续费 DT:R -FID_YJL = 1868 # 佣金率 DT:R -FID_YJLXX = 1869 # 最低佣金率 DT:R -FID_SLXX = 1870 # 数量下限 DT:I -FID_XMDM = 1871 # 项目代码 DT:C -FID_DAID = 1872 # 档案ID DT:I -FID_INSINDEX = 1873 # 插入索引 DT:C -FID_MODINDEX = 1874 # 回写索引 DT:C -FID_LSHMC = 1875 # 流水号名称 DT:C -FID_TRANPORT = 1876 # 传输服务端口 DT:I -FID_DATABASE = 1877 # 数据库名 DT:C -FID_DUMPPATH = 1878 # DUMP文件路径 DT:C -FID_DUMPTYPE = 1879 # DUMP类型 0全备,1差备 DT:I -FID_DUMPNOTE = 1880 # DUMP描述名 DT:C -FID_UPDATEITEM = 1881 # UPDATE的字段名 DT:C -FID_IDENTITY = 1882 # 是否自增列 DT:I -FID_LOWPAR = 1883 # LARGE_INTEGER型的低位部分 DT:C -FID_HIGHPAR = 1884 # LARGE_INTEGER型的高位部分 DT:C -FID_CZYBH = 1885 # 操作员编号 DT:C -FID_KHDDH = 1886 # 开户点代号 DT:C -FID_QYLB = 1887 # 股东性质 DT:C -FID_TZRXM = 1888 # 投资人名称 DT:C -FID_TZRLB = 1889 # 投资人类别 DT:C -FID_JZJ = 1890 # 基准价类型 DT:I -FID_GDXM_OLD = 1891 # 原股东姓名/单位全称 DT:C -FID_QQLB = 1892 # 请求类别 DT:C -FID_GDJC = 1893 # 股东简称 DT:C -FID_GFXZ = 1894 # 股份性质 DT:C -FID_PGDM = 1895 # 配股代码 DT:C -FID_XJFSMC = 1896 # 限价方式名称 DT:C -FID_XJLB = 1897 # 限价类别 DT:I -FID_WTRQ = 1898 # 委托日期 DT:C -FID_DYBZ = 1899 # 打印标志 DT:C -FID_BZXX = 1900 # 备注信息 DT:C -FID_TZRMC = 1901 # 股东姓名/单位全称 DT:C -FID_ZJBH_OLD = 1902 # 原证件编号 DT:C -FID_TZRMC_OLD = 1903 # 原股东姓名/单位全称 DT:C -FID_SBBZ = 1904 # 申报标志 DT:C -FID_CLSM = 1905 # 处理说明 DT:C -FID_CXLB = 1906 # 查询类别 DT:C -FID_XWH = 1907 # 席位号 DT:C -FID_KHHY = 1908 # 开户会员 DT:C -FID_SXZ_OLD = 1909 # 原属性值 DT:C -FID_TZRJC = 1910 # 投资人简称 DT:C -FID_XB = 1911 # 性别 DT:C -FID_DMQZ = 1912 # 代码前缀 DT:C -FID_CSRQ = 1913 # 出生日期 DT:C -FID_MCQZ = 1914 # 名称前缀 DT:C -FID_FRLB = 1915 # 法人类别 DT:C -FID_HYDM = 1916 # 行业代码 DT:C -FID_JSHY = 1917 # 结算会员 DT:C -FID_SDSL_GR = 1918 # 个人所得税率 DT:R -FID_SDSL_JG = 1919 # 机构所得税率 DT:R -FID_SRGDH = 1920 # 受让方股东号 DT:C -FID_SRXWH = 1921 # 受让席位号 DT:C -FID_HBRQ = 1922 # 回报日期 DT:C -FID_YWLX = 1923 # 业务类型 DT:C -FID_WWMC = 1924 # 外文名称 DT:C -FID_TJSL = 1925 # 统计数量 DT:C -FID_SFJE = 1926 # 收费金额 DT:C -FID_DJGSSF = 1927 # 登记公司收费 DT:C -FID_DLJGSF = 1928 # 代理机构收费 DT:C -FID_SRZJBH = 1929 # 受让股东证件编号 DT:C -FID_SRGDXM = 1930 # 受让股东姓名 DT:C -FID_SRDZ = 1931 # 受让方通讯地址 DT:C -FID_SRDH = 1932 # 受让方电话号码 DT:C -FID_SRYZBM = 1933 # 受让方邮政编码 DT:C -FID_SRGFXZ = 1934 # 受让股份性质 DT:C -FID_DFXW = 1935 # 对方席位号 DT:C -FID_DFGDH = 1936 # 对方股东号 DT:C -FID_DFXZ = 1937 # 对方性质 DT:C -FID_QRBZ = 1938 # 确认标志 DT:C -FID_QQSL = 1939 # 确权数量 DT:I -FID_ZBQS = 1940 # 主办券商代码 DT:C -FID_GHSL = 1941 # 过户数量 DT:I -FID_DBQS = 1942 # 代码券商代码 DT:C -FID_GFXZSM = 1943 # 股份性质说明 DT:C -FID_QSLB = 1944 # 券商类别 DT:I -FID_QQSF_GR = 1945 # 个人确权收费 DT:C -FID_QQSF_JG = 1946 # 机构确权收费 DT:C -FID_QYZL = 1947 # 权益总量 DT:I -FID_ZBQSMC = 1948 # 主办券商名称 DT:C -FID_DYZQDM = 1949 # 抵押证券代码 DT:C -FID_GHTS = 1950 # 购回天数 DT:I -FID_JXTS = 1951 # 记息天数 DT:I -FID_CLEARFEE = 1952 # 结算费率 DT:R -FID_FXJJFL = 1953 # 风险基金费率 DT:R -FID_ZGFL = 1954 # 证管费率 DT:R -FID_QTFLXX = 1955 # 其它费用下限 DT:R -FID_QTFLSX = 1956 # 其它费用上限 DT:R -FID_CJJEQD = 1957 # 成交金额起点 DT:R -FID_SFQD = 1958 # 收费起点 DT:R -FID_FJYRBS = 1959 # 非交易日标识 DT:I -FID_YEAR = 1960 # 年份 DT:C -FID_MBLB = 1961 # 模板类别 DT:I -FID_ZJDS = 1962 # 资金底数 DT:R -FID_ZCDS = 1963 # 资产底数 DT:R -FID_DJYHZHS = 1964 # 单户允许登记的银行帐户数 DT:I -FID_FJXYXX = 1965 # 附加校验信息 DT:C -FID_FJYRZZBZ = 1966 # 非交易日是否允许转帐 DT:I -FID_PGJG = 1967 # 配股价格 DT:R -FID_GSKYE = 1968 # 公司卡余额 DT:R -FID_JCGSKYE = 1969 # 是否检查公司卡余额 DT:I -FID_LXCZCS = 1970 # 连续冲正次数 DT:I -FID_QDSJ = 1971 # 签到时间 DT:C -FID_QYZZBS = 1972 # 是否启用转帐标识 DT:I -FID_ZJQDRQ = 1973 # 最近签到日期 DT:I -FID_KSWTH = 1974 # 开始委托号 DT:C -FID_JSWTH = 1975 # 结束委托号 DT:C -FID_KYWTH = 1976 # 可用委托号 DT:C -FID_SQXQ = 1977 # 申请详情 DT:T -FID_SHZT = 1978 # 审核状态 DT:I -FID_SQGY = 1979 # 申请柜员 DT:C -FID_SQRQ = 1980 # 申请日期 DT:I -FID_SQSJ = 1981 # 申请时间 DT:C -FID_HKQX = 1982 # 还款期限(天) DT:I -FID_MXTS = 1983 # 免息天数 DT:I -FID_YWSQH = 1984 # 业务申请号 DT:I -FID_SHRQ = 1985 # 审核日期 DT:I -FID_SHSJ = 1986 # 审核时间 DT:C -FID_YMBBH = 1987 # 原模板编号 DT:I -FID_XSXH = 1988 # 显示序号 DT:I -FID_MMTB = 1989 # 密码同步标志 DT:I -FID_EN_GYDM = 1990 # 允许柜员代码范围 DT:C -FID_KHYYB = 1991 # 客户所属营业部 DT:C -FID_NEWJJR = 1992 # 新经纪人 DT:C -FID_ZPKZBZ = 1993 # 支票余额控制标志 DT:I -FID_DRCKKZ = 1994 # 当日存款金额控制标志 DT:I -FID_XML = 1995 # XML域 DT:C -FID_QYDM = 1996 # 权益代码 DT:C -FID_QYSL = 1997 # 权益数量 DT:I -FID_QYJE = 1998 # 权益金额 DT:R -FID_JYRBS = 1999 # 交易日标识 DT:I -FID_TIME_INIT = 2000 # 初始化时间 DT:C DT:YYYYMMDD HH:MM:SS -FID_TIME_CLOSE = 2001 # 收盘时间 DT:C DT:YYYYMMDD HH:MM:SS -FID_GQDJLSH = 2002 # 股权冻结流水号 DT:I -FID_LDSMJG = 2003 # 漏单扫描间隔 DT:I -FID_XCXZBS = 2004 # 写出限制笔数 DT:I -FID_EN_WTLB = 2005 # 委托类别范围 DT:C -FID_FXJ = 2006 # 发行价 DT:R -FID_GQDM = 2007 # 股权代码 DT:C -FID_GQLB = 2008 # 股权类别 DT:C -FID_GQLBMC = 2009 # 股权类别名称 DT:C -FID_GQMC = 2010 # 股权名称 DT:C -FID_GQSL = 2011 # 股权数量 DT:I -FID_GQZH = 2012 # 股权帐号 DT:C -FID_JMC_ZDCGSL = 2013 # 净卖出最低持股数量 DT:I -FID_KSGQZH = 2014 # 开始股权帐号 DT:C -FID_KYGQZH = 2015 # 可用股权帐号 DT:C -FID_KZSX = 2016 # 控制属性 DT:I -FID_SDLX = 2017 # 时段类型 DT:I -FID_ROWNUM = 2018 # 记录行号 DT:I -FID_ZDCGSL = 2019 # 最低持股数量 DT:I -FID_ZSBJFD = 2020 # 做市期间报价幅度 DT:R -FID_ZSQBJFD = 2021 # 做市前报价幅度 DT:R -FID_EN_GQDM = 2022 # 股权代码范围 DT:C -FID_EN_GQLB = 2023 # 股权类别范围 DT:C -FID_GZMZ = 2024 # 面值 DT:R -FID_FXDS = 2025 # 发行底数 DT:R -FID_MRED = 2026 # 买入额度 DT:R -FID_MCED = 2027 # 卖出额度 DT:R -FID_PXCS = 2028 # 派息次数 DT:I -FID_URL = 2029 # 网址 DT:C -FID_ZSR = 2030 # 报告期总收入 DT:R -FID_ZLR = 2031 # 报告期总利润 DT:R -FID_JLR = 2032 # 报告期净利润 DT:R -FID_MGFH = 2033 # 每股分红 DT:R -FID_FHHJZC = 2034 # 分红后净资产 DT:R -FID_MGJZC = 2035 # 每股净资产 DT:R -FID_PAY = 2036 # 年薪 DT:R -FID_DZ_OFFICE = 2037 # 办公地址 DT:C -FID_ZZJGDM = 2038 # 组织机构代码 DT:C -FID_SFJE_GR = 2039 # 个人收费金额 DT:R -FID_SFJE_JG = 2040 # 机构收费金额 DT:R -FID_KHH_YJ = 2041 # 一级客户号 DT:C -FID_GQZH_YJ = 2042 # 一级股权帐号 DT:C -FID_SXF_ZR = 2043 # 转入手续费 DT:R -FID_ZDHBSL = 2044 # 最低合并数量 DT:最低子基金申报合并数量 -FID_ZDCFSL = 2045 # 最低拆分数量 DT:最低主基金申报拆分数量 -FID_RZSYLLFD = 2046 # 融资使用利率浮动 DT:R -FID_RQSYLLFD = 2047 # 融券使用利率浮动 DT:R -FID_RZEDLLFD = 2048 # 融资额度利率浮动 -FID_RQEDLLFD = 2049 # 融券额度利率浮动 -FID_ZDCXRQ = 2050 # 自动撤销日期 DT:I -FID_WEEK = 2051 # 星期 DT:I -FID_MILLISECOND = 2052 # 毫秒 DT:I -FID_GDSL = 2053 # 股东数量 DT:I -FID_CCSLXZ_JG = 2054 # 机构持仓数量限制 DT:I -FID_CCSLXZ_ZG = 2055 # 内部职工持仓数量限制 DT:I -FID_JYJS_GR_ZGG = 2056 # 个人资格股交易基数 DT:I -FID_JYJS_GR_TZG = 2057 # 个人投资股交易基数 DT:I -FID_JYJS_JG_ZGG = 2058 # 机构资格股交易基数 DT:I -FID_JYJS_JG_TZG = 2059 # 机构投资股交易基数 DT:I -FID_ZGBZ = 2060 # 内部职工标志 DT:I -FID_QYDJRQ = 2061 # 权益登记日期 DT:I -FID_KHH_ZQR = 2062 # 质权人客户号 DT:C -FID_GQZH_ZQR = 2063 # 质权人股权帐号 DT:C -FID_SXF_ZQR = 2064 # 质权人手续费 DT:R -FID_GFXZ_YJ = 2065 # 一级代持股份性质 DT:I -FID_RZXYED_OLD = 2067 # 原融资信用额度 DT:R -FID_RQXYED_OLD = 2068 # 原融券信用额度 DT:R -FID_EN_JGDM = 2069 # 允许操作的机构代码范围 DT:C -FID_EX_JGDM = 2070 # 禁止操作的机构代码范围 DT:C -FID_NODEID = 2071 # 交易节点编码 DT:I -FID_NODENAME = 2072 # 交易节点名称 DT:C -FID_SEAT_SH = 2073 # 上海席位 DT:C -FID_SEAT_SZ = 2074 # 深圳席位 DT:C -FID_ADDR_IP = 2075 # IP地址 DT:C -FID_ADDR_MAC = 2076 # MAC地址 DT:C -FID_OID = 2077 # 内部记录OID号 DT:I64 -FID_LOG_POS = 2078 # 系统日志文件位置 DT:I -FID_INDEX = 2079 # 索引号 DT:I -FID_KSSBWTH = 2080 # 起始申报委托号 DT:I -FID_DZJGSX = 2081 # 大宗交易价格上限 DT:R -FID_DZJGXX = 2082 # 大宗交易价格下限 DT:R -FID_ZCJSL = 2083 # 总成交数量 DT:I -FID_DBWSXED = 2084 # 担保物授信额度 DT:R -FID_T2DJJE = 2085 # T+2冻结金额 DT:R -FID_T2KYZJ = 2086 # T+2可用资金 DT:R -FID_QTZGCCSX = 2090 # 全体职工持仓上限 DT:C -FID_QTJGCCXX = 2091 # 全体机构持仓下限 DT:C -FID_OFSS_JZ = 2100 # 开放式基金净值 DT:R -FID_WJBM = 2201 # 问卷编码 DT:C -FID_WJMC = 2202 # 问卷名称 DT:C -FID_WJHM = 2203 # 问卷号码 DT:C -FID_TMHM = 2204 # 题目号码 DT:C -FID_TMLX = 2205 # 题目类型 DT:C -FID_TMMS = 2206 # 题目描述 DT:C -FID_TMDA = 2207 # 题目答案 DT:C -FID_SCORE = 2208 # 得分 DT:C -FID_ZJYXQ = 2209 # 证件有效期 DT:C -FID_ZJDZYB = 2210 # 证件地址邮编 DT:C -FID_ZJFZJG = 2211 # 证件发证机关 DT:C -FID_EDZ = 2212 # 二代证校验 DT:I -FID_YYZZNJRQ = 2213 # 营业执照年检日期 DT:C -FID_JTDZ = 2214 # 家庭地址 DT:C -FID_JTYB = 2215 # 家庭邮编 DT:C -FID_QTDH = 2216 # 其他电话 DT:C -FID_QQ = 2217 # QQ DT:C -FID_FXQHYLB = 2218 # 反洗钱行业类别 DT:I -FID_XQFXDJ = 2219 # 洗钱风险等级 DT:I -FID_FXQSZRQ = 2220 # 反洗钱设置日期 DT:C -FID_HYZK = 2221 # 婚姻状况 DT:C -FID_JG = 2222 # 籍贯 DT:C -FID_MZDM = 2223 # 民族代码 DT:I -FID_GZDW = 2224 # 工作单位 DT:C -FID_GZDWDZ = 2225 # 工作单位地址 DT:C -FID_GZDWYB = 2226 # 工作单位邮编 DT:C -FID_GZDWZW = 2227 # 工作单位职务 DT:C -FID_GZDWDH = 2228 # 工作单位电话 DT:C -FID_FXCSNL = 2229 # 风险承受能力 DT:I -FID_FXPGRQ = 2230 # 风险评估日期 DT:C -FID_JJFXCSNL = 2231 # 基金风险承受能力 DT:I -FID_JJFXPGRQ = 2232 # 基金风险评估日期 DT:C -FID_GPFXCSNL = 2233 # 股票风险承受能力 DT:I -FID_GPFXPGRQ = 2234 # 股票风险评估日期 DT:C -FID_XYFXCSNL = 2235 # 信用风险承受能力 DT:I -FID_XYFXPGRQ = 2236 # 信用风险评估日期 DT:C -FID_KHKZT = 2237 # 客户卡状态 DT:I -FID_TBSM = 2238 # 特别说明 DT:C -FID_ZZSHZT = 2239 # 资质审核状态 DT:I -FID_GSDH = 2240 # 公司电话 DT:C -FID_ZCRQ = 2241 # 注册日期 DT:C -FID_LTGB = 2242 # 上市公司流通股本 DT:R -FID_ZZJGDMYXQ = 2243 # 组织机构代码证有效期 DT:C -FID_ZZJGDMFZJG = 2244 # 组织机构代码证发证机关 DT:C -FID_ZZJGDMNJRQ = 2245 # 组织机构代码证年检日期 DT:C -FID_SWDJZ = 2246 # 税务登记证 DT:C -FID_SWDJZYXQ = 2247 # 税务登记证有效期 DT:C -FID_SWDJZFZJG = 2248 # 税务登记证发证机关 DT:C -FID_SWDJZNJRQ = 2249 # 税务登记证年检日期 DT:C -FID_ZJYXQ_FRDB = 2250 # 证件有效期(法人代表) DT:C -FID_ZJYXQ_JBR = 2251 # 机构经办人证件有效期 DT:C -FID_DH_JBR = 2252 # 机构经办人电话 DT:C -FID_MOBILE_JBR = 2253 # 机构经办人移动电话 DT:C -FID_XB_JBR = 2254 # 机构经办人性别 DT:C -FID_FWMM = 2255 # 服务密码 DT:C -FID_HXKH = 2256 # 核新开户标志 DT:I -FID_GYSX = 2257 # 国有属性 DT:I -FID_SSSX = 2258 # 上市属性 DT:I -FID_ZBSX = 2259 # 资本属性 DT:I -FID_HGDM = 2300 # 回购代码 DT:C -FID_HGMC = 2301 # 回购名称 DT:C -FID_DQLL = 2302 # 到期利率 DT:R -FID_TQLL = 2303 # 提前终止利率 DT:R -FID_ZED = 2304 # 总额度 DT:I -FID_ZYED = 2305 # 占用额度 DT:I -FID_DEBS = 2306 # 大额标识 DT:I -FID_TQGHSX = 2307 # 提前购回上限 DT:I -FID_GXRQ = 2308 # 更新日期 DT:I -FID_GDFJQX = 2309 # 股东附加权限 DT:I -FID_ZDXY = 2310 # 自动续约 DT:I -FID_SX1 = 2311 # 扩展属性 DT:I -FID_SX2 = 2312 # 扩展属性2 DT:I -FID_HGED = 2313 # 回购额度 DT:I -FID_YYLB = 2314 # 预约类别 DT:I -FID_XYTS = 2315 # 续约天数 DT:I -FID_TQXZBL = 2316 # 提前限制比例 DT:R -FID_YYTQTS = 2317 # 预约提前天数 DT:I -FID_XZBL = 2318 # 限制比例 DT:R -FID_TQYYSX = 2319 # 提前预约的上限 DT:I -FID_JZSJ = 2320 # 截至时间 DT:C -FID_SYBDBL = 2321 # 收益率变动比例 DT:N -FID_TQYYDBQS = 2322 # 提前单笔起始 DT:I -FID_TQDBSX = 2323 # 提前单笔上限 DT:I -FID_CZRBM = 2502 # 出质人编码 DT:C -FID_CZRMC = 2503 # 出质人名称 DT:C -FID_ZQRBM = 2504 # 质权人编码 DT:C -FID_ZQRMC = 2505 # 质权人名称 DT:C -FID_ZYHYBH = 2506 # 质押合约编号 DT:C -FID_DKHYBH = 2507 # 贷款合约编号 DT:C -FID_DKJE = 2508 # 贷款金额 DT:C -FID_DKDQRQ = 2509 # 贷款到期日 DT:C -FID_HTDJRQ = 2510 # 合同登记日期 DT:C -FID_WTZT = 2514 # 委托状态 DT:C -FID_ZYZH = 2522 # 质押帐号 DT:C -FID_DJBH = 2523 # 登记编号 DT:C -FID_SBLSH = 2524 # 申报流水号 DT:C -FID_ZQMZ = 2525 # 证券面值 DT:R DT:为兼容,值为0时表示1.00 -FID_FU_HYQY = 2600 # 期货合约权益 DT:R -FID_ZCDJ = 2801 # 资产等级 DT:C -FID_GSKHLX = 2802 # 公司客户类型 DT:C -FID_KFYYB = 2803 # 开发营业部 DT:C -FID_ZJKSRQ = 2804 # 证件开始日期 DT:C -FID_GFXX = 2805 # 规范信息 DT:C -FID_FXYSXX = 2806 # 风险要素信息 DT:C -FID_CBLX = 2807 # 成本类型 DT:C -FID_LXFS = 2808 # 联系方式 DT:C -FID_LLPL = 2809 # 联络频率 DT:C -FID_ZSLX = 2810 # 证书类型 DT:C -FID_XYLX = 2811 # 协议类型 DT:C -FID_CPBZ = 2812 # 产品标志 DT:C -FID_XTID = 2813 # 业务系统ID DT:I -FID_ZJLB_LXR = 2814 # 联系人证件类别 DT:I -FID_ZJBH_LXR = 2815 # 联系人证件编号 DT:C -FID_ZJQSR_FRDB = 2816 # 法人证件起始日 DT:C -FID_DH_FRDB = 2817 # 法人电话 DT:C -FID_ZJQSR_JBR = 2818 # 经办人证件起始日 DT:C -FID_ZJQSR_LXR = 2819 # 联系人证件起始日 DT:C -FID_ZZJGDMQSR = 2820 # 组织机构代码起始日 DT:C -FID_ZMWJLX = 2821 # 证明文件类型 DT:C -FID_ZMWJBH = 2822 # 证明文件号码 DT:C -FID_ZMWJQSR = 2823 # 证明文件起始日 DT:C -FID_ZMWJYXQ = 2824 # 证明文件有效期 DT:C -FID_KGGD = 2825 # 控股股东 DT:C -FID_ZJLB_KGGD = 2826 # 控股股东证件类别 DT:I -FID_ZJBH_KGGD = 2827 # 控股股东证件编号 DT:C -FID_ZJQSR_KGGD = 2828 # 控股股东证件起始日 DT:C -FID_ZJYXQ_KGGD = 2829 # 控股股东证件有效期 DT:C -FID_FZR = 2830 # 负责人 DT:C -FID_ZJLB_FZR = 2831 # 负责人证件类别 DT:I -FID_ZJBH_FZR = 2832 # 负责人证件编号 DT:C -FID_ZJQSR_FZR = 2833 # 负责人证件起始日 DT:C -FID_ZJYXQ_FZR = 2834 # 负责人证件有效期 DT:C -FID_DH_FZR = 2835 # 负责人电话 DT:C -FID_SWDJZQSR = 2836 # 税务登记证起始日 DT:C -FID_JYZTSM = 2837 # 经营状态说明 DT:C -FID_SSDD = 2838 # 上市地点 DT:C -FID_YYBID = 2839 # 营业部ID DT:I -FID_CZMM = 3002 # 操作密码 DT:C -FID_TXMM = 3004 # 通信密码 DT:C -FID_GTKHLB = 3006 # 柜台客户组织类别 DT:C -FID_ROUTER = 3007 # 路由营业部名称 DT:C -FID_ENTRY = 3008 # 配置文件变量名 DT:C -FID_KHHQZ = 3009 # 客户号前缀 DT:C -FID_CHECKBOX = 3010 # CheckBox DT:C -FID_CZLB = 3011 # 操作类别 DT:C -FID_PUSH = 3021 # 推送标志 DT:C -FID_ZJBL = 3022 # 资金比率 DT:C -FID_HQZD = 3023 # 行情涨跌 DT:C -FID_ZDF = 3024 # 行情涨跌幅 DT:R -FID_HQZF = 3027 # 行情振幅 DT:C -FID_HSL = 3028 # 换手率 DT:R -FID_ICON = 3029 # 图标号 DT:C -FID_FZDM = 3030 # 客户号所属分组代码 DT:C -FID_FZMC = 3031 # 客户号所属分组名称 DT:C -FID_HFBH = 3032 # 回复编号 DT:C -FID_FSKHH = 3033 # 发送客户号 DT:C -FID_FSFJBZ = 3034 # 发送客户号附加标志 DT:C -FID_DFKHH = 3035 # 对方客户代码 DT:C -FID_STATE = 3036 # 在线状态 DT:C -FID_DLSJ = 3037 # 登录时间 DT:C -FID_QTSJ = 3038 # 签退时间 DT:C -FID_MLLB = 3040 # 目录类别 DT:C -FID_MLBM = 3041 # 目录编码 DT:C -FID_MLMC = 3042 # 目录名称 DT:C -FID_MLSM = 3043 # 目录说明 DT:C -FID_FORMAT = 3044 # 目录格式 DT:C -FID_DEFAULT = 3045 # 缺省值 DT:C -FID_DATA = 3046 # DT:C -FID_JLBZ = 3047 # 记录标志 DT:取值范围 DT:C -FID_MBSMS = 3050 # 对方手机号码 DT:C -FID_MBMAIL = 3051 # 对方邮件地址 DT:C -FID_LBMC = 3053 # 类别名称 DT:C -FID_CSLX = 3054 # 参数类型 DT:C -FID_XMMC = 3060 # 服务项目名称 DT:C -FID_FWXZ = 3061 # 服务项目限制 DT:C -FID_RECNO = 3062 # 结果记录号 DT:C -FID_YJB = 3063 # 邮件标题 DT:C -FID_CCMAIL = 3064 # 附送Mail地址 DT:C -FID_YJXM = 3065 # 预警项目 DT:C -FID_PRODUCT = 3071 # 产品名称 DT:C -FID_VERSION = 3072 # 产品版本号 DT:C -FID_COMPANY = 3073 # 公司名称 DT:C -FID_LWTIME = 3075 # 文件最近修改时间 DT:C -FID_PKLEN = 3076 # 文件数据包大小 DT:C -FID_PACKAGE = 3077 # 文件数据包 DT:C -FID_SUBDIR = 3078 # 文件子目录 DT:C -FID_ZHBZ = 3081 # 帐户标志 DT:C -FID_IBY = 3082 # 备用域... DT:C -FID_BYDZ1 = 3085 # 备用地址1 DT:C -FID_BYDZ2 = 3086 # 备用地址2 DT:C -FID_BYDZ3 = 3087 # 备用地址3 DT:C -FID_XH = 3090 # 序号 DT:C -FID_DXFDED = 3107 # 短信封顶额度 DT:C -FID_YJFDED = 3108 # 邮件封顶额度 DT:C -FID_DXFYBL = 3109 # 短信费用比率 DT:C -FID_YJFYBL = 3110 # 邮件费用比率 DT:C -FID_YXSJ = 3113 # 有效时间 DT:C -FID_LYLX = 3114 # 留言类型 DT:C -FID_KTZT = 3115 # 开通状态 DT:I -FID_YWSM = 3116 # 业务说明 DT:C -FID_WTFSDM = 3200 # 委托方式代码 DT:C -FID_PRIVATEKEY = 3202 # 私钥保护密码 DT:C -FID_DEVICENAME = 3800 # 物理设备名称 DT:C -FID_DATANAME = 3801 # 数据库名称 DT:C -FID_DATASIZE = 3802 # 数据库大小 DT:C -FID_DEVICESIZE = 3803 # 设备大小 DT:C -FID_YJBCDM = 3804 # 原件保存代码 DT:C -FID_MINIMAGESIZE = 3839 # 图像最小限制 DT:I -FID_MAXIMAGESIZE = 3840 # 图像最大限制 DT:I -FID_ALERTIMAGESIZE = 3841 # 图像最警告大小 DT:I -FID_QZYZFS = 3900 # 强制验证方式 DT:C -FID_KXYZFS = 3901 # 可选验证方式 DT:C -FID_YZFS_SQCZR = 3902 # 授权操作人验证方式 DT:C -FID_APPID = 4001 # 应用标识 DT:C -FID_BCJJSL = 4002 # 本次基金数量 DT:R -FID_BGFHFS = 4003 # 允许变更分红方式 DT:N -FID_BKKBZ = 4004 # 补扣款标志 DT:N -FID_BRBZS1 = 4005 # 本日标准佣金 DT:R -FID_BRCKJE = 4006 # 本日存款金额 DT:R -FID_BRCXZD = 4007 # 本日撤销指定 DT:N -FID_BRZDJY = 4008 # 本日指定交易 DT:N -FID_CBJ = 4009 # 成本价 DT:R -FID_CDYWLB = 4010 # 菜单业务类别 DT:N -FID_CFBL = 4011 # 拆分比例 DT:N -FID_CFBZ = 4012 # 重发标志 DT:N -FID_CFGDM = 4013 # 成份股代码 DT:C -FID_CFGSL = 4014 # 成份股数量 DT:N -FID_CJHBNO = 4015 # 成交回报记录 DT:C -FID_DFBZ = 4016 # 对方币种 DT:C -FID_DFDJSL = 4017 # 对方冻结数量 DT:R -FID_DFJGDM = 4018 # 对方机构代码 DT:C -FID_DFJSDM = 4019 # 对方角色代码 DT:C -FID_DFJSJG = 4020 # 对方结算机构 DT:C -FID_DFJSLX = 4021 # 对方结算类型 DT:N -FID_DFJSZH = 4022 # 对方结算账户 DT:C -FID_DFKHQZ = 4023 # 对方客户群组 DT:C -FID_DFLOGINID = 4024 # 对方用户 DT:C -FID_DFWJSSL = 4025 # 对方未交收数量 DT:R -FID_DFWZDM = 4026 # 对方位置代码 DT:N -FID_DFYHDM = 4027 # 对方银行代码 DT:C -FID_DFYHZH = 4028 # 对方银行账户 DT:C -FID_DFYWKM = 4029 # 对方业务科目 DT:C -FID_DFYZBM = 4030 # 对方邮编 DT:C -FID_DFZJBH = 4031 # 对方证件编号 DT:C -FID_DFZJLB = 4032 # 对方证件类别 DT:C -FID_DFZJZH = 4033 # 对方资金账户 DT:C -FID_DFZQDM = 4034 # 对方证券代码 DT:C -FID_DFZQSL = 4035 # 对方证券数量 DT:R -FID_DFZY = 4036 # 对方摘要 DT:C -FID_DJYE = 4037 # 冻结余额 DT:R -FID_DJYXRQ = 4038 # 冻结有效日期 DT:N -FID_DLCS = 4039 # 登录次数 DT:N -FID_DLKZFS = 4040 # 登录控制方式 DT:N -FID_DLSFBZ = 4041 # 登录收费标准 DT:R -FID_DLSFFW = 4042 # 登录身份范围 DT:C -FID_DLSFJE = 4043 # 登录收费金额 DT:R -FID_DLSFSX = 4044 # 登录收费上限 DT:R -FID_DZLXS = 4045 # 待转利息税 DT:R -FID_EDKZBZ = 4046 # 额度控制标志 DT:N -FID_EN_CJHBNO = 4047 # 成交记录位置范围 DT:C -FID_EN_FXDJ = 4048 # 风险等级范围 DT:C -FID_EN_GFXZ = 4049 # 股份性质范围 DT:C -FID_EN_JDBM = 4050 # 节点范围 DT:C -FID_EN_JJDM = 4051 # 基金代码范围 DT:C -FID_EN_JYQX = 4052 # 交易权限范围 DT:C -FID_EN_SFFS = 4053 # 收费方式范围 DT:C -FID_EN_WTFL = 4054 # 委托分类范围 DT:C -FID_EN_WTHQZ = 4055 # 委托号前缀范围 DT:C -FID_EN_YHDM = 4056 # 银行代码范围 DT:C -FID_EN_YWDM = 4057 # 业务代码范围 DT:C -FID_FHDM = 4058 # 返回代码 DT:C -FID_FHDWJE = 4059 # 单位分红 DT:R -FID_FILEID = 4060 # 文件编号 DT:C -FID_FJYRJYBZ = 4061 # 非交易日交易标志 DT:N -FID_FLSX = 4062 # 分类属性 DT:N -FID_FWFL = 4063 # 服务费率 DT:R -FID_FWFSX = 4064 # 服务费上限 DT:R -FID_FWFXX = 4065 # 服务费下限 DT:R -FID_FXBL = 4066 # 风险比例 DT:R -FID_FXPP = 4068 # 风险匹配 DT:N -FID_GRZDSCRGSG = 4069 # 个人最低首次认购申购 DT:R -FID_GRZDZJRGSG = 4070 # 个人最低追加认购申购 DT:R -FID_GRZGDTSH = 4071 # 个人最高当天赎回份额 DT:R -FID_HBJG = 4072 # 回报结果 DT:N -FID_HGBZ = 4073 # 回滚标志 DT:C -FID_HISTORY = 4074 # 历史数据允许查询标志 DT:N -FID_HLSYTS = 4075 # 红利顺延天数 DT:N -FID_HQCXCS = 4077 # 行情查询次数 DT:N -FID_HQMFCS = 4078 # 行情免费次数 DT:N -FID_HQSFBZ = 4079 # 行情收费标准 DT:R -FID_HQSFJE = 4080 # 行情收费金额 DT:R -FID_HS = 4081 # 户数 DT:N -FID_HZSJ = 4082 # 回转时间 DT:C -FID_INI = 4083 # 配置 DT:C -FID_JBQXLB = 4084 # 基本权限类别 DT:C -FID_JFSJ = 4086 # 计费时间 DT:N -FID_JGZDSCRGSG = 4087 # 机构最低首次认购申购 DT:R -FID_JGZDZJRGSG = 4088 # 机构最低追加认购申购 DT:R -FID_JGZGDTSH = 4089 # 机构最高当天赎回份额 DT:R -FID_JJCFZT = 4090 # 基金拆分状态 DT:N -FID_JJHBZT = 4091 # 基金合并状态 DT:N -FID_JJKHZT = 4092 # 基金开户状态 DT:N -FID_JJRGZT = 4093 # 基金认购状态 DT:N -FID_JJSGZT = 4094 # 基金申购状态 DT:N -FID_JJSHZT = 4095 # 基金赎回状态 DT:N -FID_JJZHSQFS = 4096 # 基金账户申请方式 DT:N -FID_JJZHSX = 4097 # 基金账户属性 DT:N -FID_JJZHZT = 4098 # 基金转换状态 DT:N -FID_JSBZ = 4099 # 交收标志 DT:N -FID_JSKZFS = 4100 # 计时控制方式 DT:N -FID_JSSFBZ = 4101 # 计时收费标准 DT:R -FID_JSSFDW = 4102 # 计时收费单位 DT:N -FID_JSSFJE = 4103 # 计时收费金额 DT:R -FID_JSSFQD = 4104 # 计时收费起点 DT:N -FID_JSSFSX = 4105 # 计时收费上限 DT:R -FID_JSSJSX = 4106 # 计时时间上限 DT:N -FID_JXJE = 4107 # 计息金额 DT:R -FID_JYJ = 4108 # 净佣金 DT:R -FID_JYLBSX = 4109 # 交易类别属性 DT:N -FID_JYLTJFS = 4110 # 交易量统计方式 DT:N -FID_JYSQH = 4111 # 交易申请号 DT:N -FID_KHFL = 4112 # 客户分类 DT:C -FID_KHXMXY = 4113 # 客户姓名检验 DT:C -FID_KWTSL = 4114 # 可委托数量 DT:R -FID_TJZC = 4115 # 累计资产 DT:R -FID_LLMBBH = 4116 # 利率模板编号 DT:N -FID_MCCJJE = 4117 # 卖出成交金额 DT:R -FID_MCCJSL = 4118 # 卖出成交数量 DT:R -FID_MCQSJE = 4119 # 卖出清算金额 DT:R -FID_MCWTJE = 4120 # 卖出委托金额 DT:R -FID_MCWTSL = 4121 # 卖出委托数量 DT:R -FID_MMBDRQ = 4122 # 密码变动日期 DT:N -FID_MMXZFS = 4123 # 密码限制方式 DT:N -FID_MRCJJE = 4124 # 买入成交金额 DT:R -FID_MRCJSL = 4125 # 买入成交数量 DT:R -FID_MRFHFS = 4126 # 默认分红方式 DT:R -FID_MRQSJE = 4127 # 买入清算金额 DT:R -FID_MRWTJE = 4128 # 买入委托金额 DT:N -FID_MRWTSL = 4129 # 买入委托数量 DT:R -FID_MXBZ = 4130 # 明细标志 DT:N -FID_ORDWTH = 4131 # 订单编码类型 DT:C -FID_OTHER = 4132 # 其它业务允许标志 DT:N -FID_PHRQ = 4133 # 配号日期 DT:N -FID_POSITION = 4134 # 位置 DT:N -FID_QRLSH = 4135 # 确认流水号 DT:C -FID_QSRQ = 4136 # 清算日期 DT:N -FID_QTDJ = 4137 # 其它原因冻结 DT:C -FID_QTFY = 4138 # 其它费用 DT:R -FID_QTMM = 4139 # 其它密码 DT:C -FID_QXSX = 4140 # 权限属性 DT:N -FID_QYRQ = 4141 # 签约日期 DT:N -FID_RGSGJS = 4142 # 认购申购基数 DT:N -FID_RQJS = 4143 # 融券积数 DT:R -FID_RZBZ = 4144 # 入账标志 DT:N -FID_RZJS = 4145 # 融资积数 DT:R -FID_S7 = 4146 # 服务费 DT:R -FID_SBFS = 4147 # 申报方式 DT:N -FID_SFSX = 4148 # 收费上限 DT:R -FID_SGSHDM = 4149 # 申赎代码 DT:C -FID_SMBS = 4150 # 扫描笔数 DT:N -FID_SPBZ = 4151 # 收盘标志 DT:N -FID_SRRQ = 4152 # 上日日期 DT:N -FID_STAMP = 4153 # 时间戳 DT:C -FID_SXFSX = 4154 # 手续费上限 DT:R -FID_SXFXX = 4155 # 手续费下限 DT:R -FID_SXYK = 4156 # 实现盈亏 DT:R -FID_T3JS = 4157 # T3交收金额 DT:R -FID_TABM = 4158 # 基金公司编码 DT:C -FID_TAKZSX = 4159 # TA控制属性 DT:N -FID_TEST = 4160 # 测试状态 DT:N -FID_THREAD = 4161 # 线程 DT:N -FID_TSYWJSSJ = 4162 # 特殊业务结束时间 DT:C -FID_TXDZ = 4163 # 通讯地址 DT:C -FID_TXTS = 4164 # 提醒天数 DT:N -FID_WJSSL_B = 4165 # 买入未交收 DT:R -FID_WJSSL_S = 4166 # 卖出未交收 DT:R -FID_WTBZ = 4167 # 委托标志 DT:C -FID_WTDJJE = 4168 # 委托冻结金额 DT:R -FID_WTHQZ = 4169 # 委托号前缀 DT:C -FID_WTMARK = 4170 # 委托记号 DT:C -FID_WZDM = 4171 # 位置代码 DT:N -FID_XSSL = 4172 # 限售数量 DT:R -FID_XTZT = 4173 # 系统状态 DT:N -FID_XYZT = 4174 # 协议状态 DT:N -FID_XZFS = 4175 # 限制方式 DT:N -FID_YDH = 4176 # 约定号 DT:N -FID_YGXJCE = 4177 # 预估现金差额 DT:R -FID_YHKZSX = 4178 # 银行控制属性 DT:N -FID_YWBS = 4179 # 业务笔数 DT:N -FID_YWRQ = 4180 # 业务日期 DT:N -FID_YYBBH = 4181 # 营业部编号 DT:C -FID_ZCSMJG = 4182 # 正常扫描间隔 DT:N -FID_ZCTJFS = 4183 # 资产统计方式 DT:N -FID_ZCZQSZ = 4184 # 转出证券市值 DT:R -FID_ZDHS = 4185 # 指定户数 DT:N -FID_ZJBHXY = 4186 # 证件编号检验 DT:C -FID_ZJDM = 4187 # 资金代码 DT:C -FID_ZJSBSJ = 4188 # 最近申报时间 DT:C -FID_ZQFXDJ = 4189 # 证券风险等级 DT:C -FID_ZQJCLB = 4190 # 证券基础类别 DT:C -FID_ZQJYSX = 4191 # 证券交易属性 DT:N -FID_ZQLBXZFS = 4192 # 证券类别限制方式 DT:N -FID_ZQSXFW = 4193 # 证券属性范围 DT:N -FID_ZQXZMS = 4194 # 证券限制模式 DT:N -FID_ZQYWDM = 4195 # 证券业务范围 DT:C -FID_ZRZQSZ = 4196 # 转入证券市值 DT:R -FID_ZYQDM = 4197 # 质押券代码 DT:C -FID_ZZKSSJ = 4198 # 转账开始时间 DT:C -FID_ZZLB = 4199 # 转账类别 DT:N -FID_ZZQDM = 4200 # 主证券代码 DT:C -FID_LTLX = 4201 # 流通类型 DT:C -FID_BBFUNCID = 4202 # 报表函数功能号 DT:I -FID_BBBSC = 4203 # 报表标识串 DT:C -FID_BBSORTTYPE = 4204 # 报表数据查询的排序方式 DT:I -FID_BBCXLB = 4205 # 报表查询类别 DT:C -FID_BBFIELDNAME = 4206 # 报表字段名 DT:C -FID_BBTYPE = 4207 # 报表参数类型 DT:C -FID_BBVALUE = 4208 # 报表属性值 DT:C -FID_BBROWNUM = 4209 # 报表记录行号 DT:I -FID_BBSJJDM = 4210 # 报表数据集代码 DT:C -FID_JYRQ = 4211 # 交易日期 DT:C -FID_TDLX_BF = 4212 # 备份通道类型 DT:I -FID_SGWTSL = 4213 # 申购委托数量 DT:R -FID_DFJDBM = 4214 # 对方节点编码 DT:C -FID_GRZDJC = 4215 # 个人最大减持 DT:I -FID_JGZDJC = 4216 # 机构最大减持 DT:I -FID_CPTX = 4217 # 产品特性 DT:I -FID_GSJZB = 4218 # 公司净资本 DT:N -FID_JSJE = 4219 # 交收金额 DT:R -FID_DYSZ = 4220 # 抵押市值 DT:R -FID_YJGHRQ = 4221 # 预计购回日期 DT:N -FID_DYKHJZD = 4222 # 单一客户集中度 DT:R -FID_DYZQJZD = 4223 # 单一证券集中度 DT:R -FID_DBJYJZD = 4224 # 单笔交易集中度 DT:R -FID_ID = 9001 # 档案编号 DT:C -FID_MODULE = 9002 # 模块名 DT:C -FID_NAME = 9003 # 模块文件 DT:C -FID_CLASE = 9004 # 模块分类 DT:C -FID_LEVEL = 9006 # 优先级别 DT:C -FID_OLDVER = 9007 # 旧版本 DT:C -FID_LASTVER = 9008 # 新版本 DT:C -FID_WHYS = 9009 # 修改原因 DT:C -FID_FILEPATH = 9011 # 文件路径 DT:C -FID_MENDER = 9012 # 修改人 DT:C -FID_CONNER = 9013 # 测试人 DT:C -FID_MODIRQ = 9014 # 修改日期 DT:C -FID_TESTRQ = 9015 # 测试日期 DT:C -FID_CONCLUSION = 9016 # 测试结论 DT:C -FID_UPNOTE = 9017 # 升级提示 DT:C -FID_STATUS = 9018 # 记录状态 DT:C -FID_RESOLVEN = 9019 # 关联提示 DT:C -FID_FLAG = 9020 # 档案类型 DT:C -FID_DIFF = 9021 # 难度 DT:C -FID_YZJB = 9022 # 严重级别 DT:C -FID_RWBH = 9023 # 任务编号 DT:C -FID_DIR = 9024 # 运行目录 DT:C -FID_CPID = 9025 # 产品ID DT:C -FID_XQLX = 9026 # 需求类型 DT:C -FID_XQLY = 9027 # 需求来源 DT:C -FID_XQMS = 9028 # 需求描述 DT:C -FID_XQLXF = 9029 # 需求联系方 DT:C -FID_XGFA = 9030 # 修改方案 DT:C -FID_FASP = 9031 # 方案审批人 DT:C -FID_FASPRQ = 9032 # 方案审批日期 DT:C -FID_JRX = 9033 # 兼容性 DT:C -FID_FFJH = 9034 # 发放计划 DT:C -FID_XGR = 9035 # 修改人 DT:C -FID_XGJD = 9036 # 修改进度 DT:C -FID_CSR = 9037 # 测试人 DT:C -FID_CSJD = 9038 # 测试进度 DT:C -FID_YMTS = 9039 # 源码提示 DT:C -FID_XGFK = 9040 # 修改反馈 DT:C -FID_XGWCRQ = 9041 # 修改完成日期 DT:C -FID_CSFK = 9042 # 测试反馈 DT:C -FID_CSWCRQ = 9043 # 测试完成日期 DT:C -FID_HFYJ = 9044 # 回访意见 DT:C -FID_HFRQ = 9045 # 回访日期 DT:C -FID_HFR = 9046 # 回访人 DT:C -FID_RWB = 9047 # 任务标题 DT:C -FID_MTYPE = 9048 # 类型 DT:C -FID_GYXM = 9049 # 柜员姓名 DT:C -FID_JLZ = 9050 # 记录状态 DT:C -FID_GH = 9051 # 工号 DT:C -FID_KHMC = 9052 # 客户名称 DT:C -FID_WHR = 9053 # 维护人 DT:C -FID_XZR = 9054 # 协助人 DT:C -FID_KHID = 9055 # 客户ID DT:C -FID_WTMS = 9056 # 问题描述 DT:C -FID_FXDW = 9057 # 分析定位 DT:C -FID_JJFS = 9058 # 解决方式 DT:C -FID_JJGC = 9059 # 解决过程 DT:C -FID_CLYS = 9060 # 处理用时 DT:C -FID_FSRQ = 9061 # 发生日期 DT:C -FID_WTFL = 9062 # DT:C -FID_GROUP = 9063 # 组 DT:C -FID_SECURITY = 9064 # DT:C -FID_GXQ = 9065 # DT:C -FID_CPXX = 9066 # 产品信息 DT:C -FID_KHZB = 9067 # 客户总部 DT:C -FID_QYZB = 9068 # DT:C -FID_ZJL = 9070 # 总经理 DT:C -FID_ZJLDH = 9071 # 总经理电话 DT:C -FID_ZJLMAIL = 9072 # 总经理EMAIL DT:C -FID_JL = 9073 # 经理 DT:C -FID_JLDH = 9074 # 经理电话 DT:C -FID_JLMAIL = 9075 # 经理EMAIL DT:C -FID_LXR = 9076 # 联系人 DT:C -FID_CRDATE = 9077 # 创建日期 DT:C -FID_ENGINEERS = 9078 # 工程师 DT:C -FID_HFRQ2 = 9079 # 恢复日期2 DT:C -FID_DJR = 9080 # 登记人 DT:C -FID_ZW = 9081 # 职位 DT:C -FID_WHBT = 9082 # 维护标题 DT:C -FID_FLAG1 = 9083 # FLAG1 DT:C -FID_FLAG2 = 9084 # FLAG2 DT:C -FID_XQLB = 9085 # 需求类别 DT:C -FID_MSN = 9086 # MSN DT:C -FID_SPFA = 9087 # 审批方案 DT:C -FID_SJNR = 9088 # 涉及内容 DT:C -FID_LCRZ = 9089 # 流程日志 DT:C -FID_SPR = 9090 # 审批人 DT:C -FID_SPRQ = 9091 # 审批日期 DT:C -FID_GZR = 9092 # 跟踪人 DT:C -FID_XQBT = 9093 # 需求标题 DT:C -FID_ZPR = 9094 # 指派人 DT:C -FID_RWMS = 9095 # 任务描述 DT:C -FID_ZPRQ = 9096 # 指派日期 DT:C -FID_GMZQ = 9097 # 更密周期 DT:N -FID_GYZT = 9098 # 柜员状态 DT:N -FID_KSSJ = 9099 # 开始时间 DT:C -FID_JSSJ = 9100 # 结束时间 DT:C -FID_XZQYDM = 9101 # 行政区域代码 DT:C -FID_XZQYMC = 9102 # 行政区域名称 DT:C -FID_XZQYLB = 9103 # 行政区域类别 DT:C -FID_SJXZQYDM = 9104 # 上级行政区域代码 DT:C -FID_DHQH = 9105 # 电话区号 DT:N -FID_KHBS = 9106 # 客户标识 DT:C -FID_KHZT = 9107 # 客户状态 DT:N -FID_ZT = 9108 # 状态 DT:N -FID_SORTTYPE = 9109 # 数据查询的排序方式 DT:I -FID_ROWCOUNT = 9110 # 行号 DT:N -FID_LPDM = 9111 # 礼品代码 DT:C -FID_YWSHBZ = 9112 # 业务审核标志 DT:N -FID_YWSHQD = 9113 # 是否需业务审核 DT:N -FID_LPZCDS = 9114 # 礼品转存底数 DT:R -FID_SRJE = 9115 # 收入金额 DT:R -FID_FCJE = 9116 # 付出金额 DT:R -FID_CZBZ = 9117 # 冲销标志 DT:C -FID_JSJ = 9118 # 结算价 DT:R -FID_YSJE_YJ = 9119 # 一级应收金额 DT:R -FID_JGZLLB = 9120 # 交割资料类别 DT:N -FID_S11 = 9121 # 一级经手费 DT:R -FID_S12 = 9122 # 一级证管费 DT:R -FID_S13 = 9123 # 一级过户费 DT:R -FID_S15 = 9124 # 一级结算费 DT:R -FID_S16 = 9125 # 一级风险基金 DT:R -FID_BZQDM = 9126 # 标准券代码 DT:C -FID_CWLB = 9127 # 错误类别 DT:C -FID_YHMM = 9128 # 银行密码 DT:C -FID_JJDM = 9129 # 基金代码 DT:C -FID_JJMC = 9130 # 基金名称 DT:C -FID_XJTDBL = 9131 # 现金替代比例 DT:R -FID_WTJE = 9132 # 委托金额 DT:R -FID_SGSHZT = 9133 # 申购赎回状态 DT:N -FID_TDBZ = 9134 # 替代标志 DT:N -FID_ZDXW = 9135 # 指定席位 DT:C -FID_XJCE = 9136 # 现金差额 DT:R -FID_TDJE = 9137 # 替代金额(现金替代金额) DT:R -FID_DWJZ = 9138 # 单位净值 DT:R -FID_SGSHDWJZ = 9139 # 申购赎回单位净值 DT:R -FID_CZGY = 9140 # 操作柜员 DT:C -FID_FYBL = 9141 # 费用比例 DT:R -FID_JYL = 9142 # 交易量 DT:R -FID_XGPZ = 9143 # 相关品种 DT:C -FID_XGZH = 9144 # 相关帐号 DT:C -FID_JESX = 9145 # 金额上限 DT:R -FID_FSSL = 9146 # 发生数量 DT:N -FID_LXJE = 9147 # 利息金额 DT:R -FID_LXJG = 9148 # 利息价格 DT:R -FID_PLWTPCH = 9149 # 批量委托批次号 DT:N -FID_SEQNO = 9150 # 历史数据序列号 DT:N -FID_SBXW = 9151 # 申报席位 DT:C -FID_XWDM = 9152 # 席位代码 DT:C -FID_EN_JGZLLB = 9153 # 交割资料类别范围 DT:C -FID_WBJGDM = 9154 # 外部机构代码 DT:C -FID_WBFJJYLB = 9155 # 外部附加交易类别(业务类别) DT:N -FID_CZWBSQBH = 9156 # 冲正外部申请编号 DT:C -FID_WBSQBH = 9157 # 外部申请编号 DT:C -FID_RWSM = 9158 # 任务说明 DT:C -FID_FHRQ = 9159 # 复核日期 DT:I -FID_FLLBFW = 9160 # 费率类别范围 DT:C -FID_JYSFW = 9161 # 交易所范围 DT:C -FID_SDSL = 9162 # 所得税率 DT:R -FID_WTFSFW = 9163 # 委托方式范围 DT:I -FID_ZDJSBZ = 9164 # 自动计算标志 DT:I -FID_JYLBFW = 9165 # 交易类别范围 DT:C -FID_TJZQS = 9166 # 统计周期数 DT:I -FID_JJZHCD = 9167 # 基金帐号长度 DT:I -FID_JYMCD = 9168 # 交易码长度 DT:I -FID_SQBHCD = 9169 # 申请编号长度 DT:I -FID_JJZHSCFS = 9170 # 基金帐号生成方式 DT:I -FID_JYZHQZ = 9171 # 交易帐号前缀 DT:C -FID_KYJJZH_GR = 9172 # 可用基金帐号_个人 DT:C -FID_KYJJZH_JG = 9173 # 可用基金帐号_机构 DT:C -FID_FEDZZT = 9174 # 份额对帐状态 DT:I -FID_HBDZBZ = 9175 # 合并对帐标志 DT:I -FID_FEDZXM = 9176 # 份额对帐项目 DT:I -FID_FEDZFS = 9177 # 份额对帐方式 DT:I -FID_FJYGHLB = 9178 # 代理非交易过户类别 DT:I -FID_JGSCRGZDZJ = 9179 # 机构首次认购最低金额 DT:R -FID_GRSCRGZDZJ = 9180 # 个人首次认购最低金额 DT:R -FID_GRZJRGZDZJ = 9181 # 个人追加认购最低金额 DT:R -FID_JGZJRGZDZJ = 9182 # 机构追加认购最低金额 DT:R -FID_GRZDRGZJ = 9183 # 个人最低认购金额 DT:R -FID_JGZDRGZJ = 9184 # 机构最低认购金额 DT:R -FID_GRSCSGZDZJ = 9185 # 个人首次申购最低金额 DT:R -FID_JGSCSGZDZJ = 9186 # 机构首次申购最低金额 DT:R -FID_GRZJSGZDZJ = 9187 # 个人追加申购最低金额 DT:R -FID_JGZJSGZDZJ = 9188 # 机构追加申购最低金额 DT:R -FID_GRSHZDFE = 9189 # 个人赎回最低份额 DT:R -FID_JGSHZDFE = 9190 # 机构赎回最低份额 DT:R -FID_GRCCZDFE = 9191 # 个人持仓最低限额 DT:R -FID_JGCCZDFE = 9192 # 机构持仓最低限额 DT:R -FID_SHSYTS = 9193 # 赎回顺延天数 DT:I -FID_HLHKTS = 9194 # 红利到款延迟天数 DT:I -FID_GRZDZHFE = 9195 # 个人最低转换份额 DT:R -FID_JGZDZHFE = 9196 # 机构最低转换份额 DT:R -FID_SGJSBZ = 9197 # 手工结算标志 DT:I -FID_TADM = 9198 # 基金公司代码 DT:C -FID_FQRDM = 9199 # 发起人代码 DT:C -FID_FXZFE = 9200 # 发行总份额 DT:R -FID_GLRDM = 9201 # 管理人代码 DT:C -FID_JJJC = 9202 # 基金简称 DT:C -FID_JJQC = 9203 # 基金全称 DT:C -FID_JJJZ = 9204 # 基金净值 DT:R -FID_DFJJDM = 9205 # 对方基金代码 DT:C -FID_RGFS = 9206 # 认购方式 DT:I -FID_RGJS = 9207 # 认购基数 DT:I -FID_SGJS = 9208 # 申购基数 DT:I -FID_TGRDM = 9209 # 托管人代码 DT:C -FID_TDLX = 9210 # 通道类型 DT:I -FID_MODULE_ID = 9211 # 模块ID DT:I -FID_ZKLX = 9212 # 折扣类型 DT:I -FID_ZKL = 9213 # 折扣率 DT:R -FID_DXBS = 9214 # 对象标识 DT:C -FID_DXLB = 9215 # 对象类别 DT:I -FID_BDKHBZ = 9216 # 本地开户标志 DT:I -FID_DJYY = 9217 # 冻结原因 DT:I -FID_DZDLB = 9219 # 对帐单类别 DT:I -FID_YSQBH = 9225 # 原申请编号 DT:C -FID_ZJJSLX = 9226 # 资金结算类型 DT:I -FID_YYRQ = 9227 # 预约日期 DT:I -FID_JJZH = 9228 # 基金帐号 DT:C -FID_JJZHXM = 9229 # 基金帐户姓名 DT:C -FID_XSDM = 9231 # 销售代码 DT:C -FID_TJDM = 9232 # 统计代码 DT:C -FID_JJFL = 9233 # 基金分类 DT:I -FID_GRZGCYBL = 9234 # 个人最高持有比例 DT:R -FID_JGZGCYBL = 9235 # 机构最高持有比例 DT:R -FID_MRFS = 9236 # 认购申购默认方式 DT:I -FID_KYSL = 9237 # 可用数量 DT:I -FID_WTFE = 9238 # 委托份额 DT:R -FID_YYBZ = 9239 # 预约标志 DT:I -FID_ORDERS = 9240 # 订单顺序号 DT:I -FID_DFJJZH = 9241 # 对方基金帐号 DT:C -FID_DFJYZH = 9242 # 对方交易帐号 DT:C -FID_DFWDH = 9243 # 对方网点号 DT:C -FID_DFXSSDM = 9244 # 对方销售商代码 DT:C -FID_PZDM = 9245 # 品种代码 DT:C -FID_DFSFFS = 9246 # 对方收费方式 DT:I -FID_GHYY = 9247 # 过户原因 DT:I -FID_JJSL = 9248 # 基金份额数量 DT:R -FID_LJWYCS = 9249 # 累计违约次数 DT:I -FID_LXWYCS = 9250 # 连续违约次数 DT:I -FID_QQCS = 9251 # 欠缺次数 DT:I -FID_SCKKRQ = 9252 # 上次扣款日期 DT:I -FID_MYKKRQ = 9253 # 每月扣款日期 DT:I -FID_SGJE = 9254 # 申购金额 DT:16 DT:2 -FID_SCSGZDJE = 9255 # 首次申购最低金额 DT:R -FID_SGZDJE = 9256 # 申购最低金额 DT:R -FID_CONTENT = 9257 # 内容 DT:C -FID_TITLE = 9258 # 标题 DT:C -FID_GGLB = 9259 # 公告类别 DT:I -FID_JYZH = 9260 # 交易帐号 DT:C -FID_TALSH = 9261 # TA流水号 DT:C -FID_QRRQ = 9262 # 确认日期 DT:I -FID_QRFE = 9263 # 确认份额 DT:R -FID_QRJE = 9264 # 确认金额 DT:R -FID_DLF = 9265 # 代理非 DT:R -FID_SHF = 9266 # 赎回费 DT:R -FID_YHS = 9267 # 印花税 DT:R -FID_ZFE = 9268 # 总份额 DT:R -FID_DJFE = 9269 # 冻结份额 DT:R -FID_KYFE = 9270 # 可用份额 DT:R -FID_DZRQ = 9271 # 到帐日期 DT:I -FID_SFHLJE = 9272 # 实际红利金额 DT:R -FID_HLZJE = 9273 # 红利总金额 DT:R -FID_FHDWFE = 9274 # 分红单位份额 DT:R -FID_FHJJFE = 9275 # 分红基金份额 DT:R -FID_ZTZFE = 9276 # 再投资份额 DT:R -FID_DJZTZFE = 9277 # 冻结再投资份额 DT:R -FID_YJKBFS = 9278 # 佣金捆绑方式 DT:I -FID_ZFHJE = 9279 # 总返还金额 DT:R -FID_HGRQFCJE = 9280 # 回购融券付出金额 DT:R -FID_HGRZSRJE = 9281 # 回购融资收入金额 DT:R -FID_RQGHSRJE = 9282 # 融券购回收入金额 DT:R -FID_RZGHFCJE = 9283 # 融资购回付出金额 DT:R -FID_HLPFJE = 9284 # 红利派发金额 DT:R -FID_PGJKJE = 9285 # 配股缴款金额 DT:R -FID_SGZQFC = 9286 # 申购中签付出 DT:R -FID_ZQDFJE = 9287 # 债券兑付金额 DT:R -FID_ZZLGJE = 9288 # 转债零股资金 DT:R -FID_BYSJE = 9289 # 买应收金额 DT:R -FID_SGKFC = 9290 # 申购款付出金额 DT:R -FID_SGKSR = 9291 # 申购款收入金额 DT:R -FID_SYSJE = 9292 # 卖应收金额 DT:R -FID_WGHZJ = 9293 # 未购回资金 DT:R -FID_WHSGK = 9294 # 未回申购款 DT:R -FID_BRKHSL = 9295 # 本日开户数量 DT:I -FID_BRXHSL = 9296 # 本日销户数量 DT:I -FID_MCDXSL = 9297 # 卖出抵消数量 DT:I -FID_MRDXSL = 9298 # 买入抵消数量 DT:I -FID_SGCJSL = 9299 # 申购成交数量 DT:I -FID_SHCJSL = 9300 # 赎回成交数量 DT:I -FID_FEMXLSH = 9301 # 份额明细流水号 -FID_FEDZRQ = 9302 # 份额到帐日期 -FID_ZJDZRQ = 9303 # 资金到帐日期 -FID_FHDJFE = 9304 # 分红冻结份额 -FID_FEYE = 9305 # 份额余额 -FID_RGJE = 9306 # 认购金额 DT:R22.2 -FID_SHFE = 9307 # 赎回份额 -FID_BRBD = 9308 # 本日变动金额 DT:R -FID_XYJKFSJE = 9309 # 信用借款发生金额 DT:R -FID_XYJKYE = 9310 # 信用借款余额 DT:R -FID_FILEZAP = 9311 # 文件压缩 DT:I -FID_MZZL = 9312 # 面值种类 DT:C -FID_QX = 9313 # 期限 DT:I -FID_DQBH = 9314 # 当前编号 DT:C -FID_DFJG = 9315 # 债券兑付价格 DT:C -FID_FXED = 9316 # 债券发行额度 DT:I -FID_FXSL = 9317 # 债券发行数量 DT:I -FID_TS = 9318 # 天数 DT:I -FID_SXFL = 9319 # 手续费率 DT:I -FID_YQLL = 9320 # 逾期利率 DT:I -FID_TGFL = 9321 # 托管费率 DT:I -FID_LJJZ = 9322 # 基金累计净值 DT:D -FID_MWFSY = 9323 # 每万份收益 DT:D -FID_NSYL = 9324 # 基金年化收益率(%) DT:D -FID_TGJE = 9325 # 债券购买金额 DT:I -FID_DBGBH = 9326 # 代保管编号 DT:c -FID_DBGRQ = 9327 # 代保管日期 DT:I -FID_DFJE = 9328 # 兑付金额 DT:d -FID_DFLX = 9329 # 兑付利息 DT:D -FID_DFGY = 9330 # 兑付柜员 DT:C -FID_DFYYB = 9331 # 兑付营业部 DT:C -FID_GSRQ = 9332 # 挂失日期 DT:I -FID_NBDM = 9333 # 债券代码 DT:C -FID_DBGGY = 9334 # 代保管柜员 DT:C -FID_DBGYYB = 9335 # 代保管营业部 DT:C -FID_NF = 9336 # 年份 DT:I -FID_XQJE = 9337 # 现券金额 DT:D -FID_DBBC = 9338 # 代表变差 DT:I -FID_XQBC = 9339 # 现差变差 DT:I -FID_DBGBD = 9340 # 代保管变动 DT:I -FID_XQBD = 9341 # 现券变动 DT:I -FID_DBGSJ = 9342 # 代保管时间 DT:C -FID_GSSJ = 9343 # 挂失时间 DT:C -FID_DFSJ = 9344 # 兑付时间 DT:C -FID_PLRQ = 9345 # 派利日期 DT:I -FID_PLSJ = 9346 # 派利时间 DT:C -FID_DBGJE = 9347 # 代保管金额 DT:c -FID_TGBD = 9348 # 托管变动 DT:C -FID_SCDBG = 9349 # 上次代保管 DT:c -FID_SCXQ = 9350 # 上次现券 DT:C -FID_SCTG = 9351 # 上次托管 DT:c -FID_PZSM = 9352 # 品种说明 DT:C -FID_QYBZ = 9353 # 签约标志 DT:I -FID_QYJJDM = 9354 # 签约基金代码 DT:C -FID_DXDM = 9355 # 短信代码 DT:C -FID_DXMC = 9356 # 短信名称 DT:C -FID_JJFXDJ = 9357 # 基金风险等级 DT:I -FID_KHQR = 9358 # 客户确认标志 DT:I -FID_GRRGSGDBZGJE = 9359 # 个人认购申购单笔最高金额 DT:R -FID_GRRGSGDTZGJE = 9360 # 个人认购申购当天最高金额 DT:R -FID_MCDJSL = 9361 # 卖出冻结数量 DT:C -FID_JGRGSGDBZGJE = 9362 # 机构认购申购单笔最高金额 DT:R -FID_JGRGSGDTZGJE = 9363 # 机构认购申购当天最高金额 DT:R -FID_LCCPBZ = 9364 # 基金理财产品标志 DT:I -FID_CDYY = 9365 # 撤单原因 DT:C DT:给VIP成交触发使用 -FID_MRBDRQ = 9366 # 买入变动日期 DT:I -FID_MCBDRQ = 9367 # 卖出变动日期 DT:I -FID_GRSHDBSX = 9368 # 个人赎回单笔上限 DT:R -FID_GRSHDRSX = 9369 # 个人赎回当日上限 DT:R -FID_JGSHDBSX = 9370 # 机构赎回单笔上限 DT:R -FID_JGSHDRSX = 9371 # 机构赎回当日上限 DT:R -FID_CBM = 9418 # 字符编码 DT:C -FID_ZXTBZ = 9998 # 主系统标志 DT:请不要使用这个断,特殊 +FID_BCZJYE = 501 # 本次资金余额 DT:C +FID_BFXJJ = 502 # 买风险金 DT:C +FID_BGHF = 503 # 买过户费 DT:C +FID_BJE = 504 # 买入金额 DT:C +FID_BJSF = 505 # 买经手费 DT:C +FID_BPGDH = 506 # 报盘股东号 DT:C +FID_CODE = 507 # 返回码 DT:C +FID_MESSAGE = 508 # 返回说明 DT:C +FID_BSL = 509 # 买入数量 DT:C +FID_BYHS = 510 # 买印花税 DT:C +FID_BZ = 511 # 币种 DT:C +FID_BZBM = 512 # 币种编码 DT:C +FID_BZGF = 513 # 买证管费 DT:C +FID_BZMC = 514 # 币种名称 DT:C +FID_CBBD = 515 # 成本变动 DT:R +FID_MENUID_HC = 516 # 互斥的菜单系统代码 DT:I +FID_HLJE = 517 # 红利金额 DT:R +FID_CDMC = 518 # 菜单名称 DT:C +FID_CDTIME = 519 # 菜单可用时间 DT:C +FID_CDTS = 520 # 菜单提示 DT:C +FID_CDWZID = 521 # 菜单位置ID DT:C +FID_CJBH = 522 # 成交编号 DT:C +FID_CJGY = 523 # 创建柜员 DT:C +FID_CJJE = 524 # 成交金额 DT:C +FID_CJJG = 525 # 成交价格 DT:C +FID_CJRQ = 526 # 成交日期 DT:C +FID_CJSJ = 527 # 成交时间 DT:C +FID_CJSL = 528 # 成交数量 DT:C +FID_CKLL = 529 # 存款利率 DT:C +FID_YKBD = 530 # 盈亏变动 DT:R +FID_CSZ = 531 # 参数值 DT:C +FID_DH = 532 # 电话 DT:C +FID_DJLB = 533 # 冻结类别 DT:C +FID_DH_SQCZR = 534 # 授权操作人电话 DT:C +FID_DZ_SQCZR = 535 # 授权操作人地址 DT:C +FID_MM_SQCZR = 536 # 授权操作人密码 DT:C +FID_QX_SQCZR = 537 # 授权操作人权限 DT:C +FID_XWID = 538 # 席位编号 DT:I +FID_XM_SQCZR = 539 # 授权操作人姓名 DT:C +FID_DRMCCJJE = 540 # 当日卖出成交金额 DT:C +FID_DRMCCJSL = 541 # 当日卖出成交数量 DT:C +FID_DRMCJDZJ = 542 # 当日卖出解冻资金 DT:C +FID_DRMCWTSL = 543 # 当日卖出委托数量 DT:C +FID_DRMRCJJE = 544 # 当日买入成交金额 DT:C +FID_DRMRCJSL = 545 # 当日买入成交数量 DT:C +FID_DRMRDJZJ = 546 # 当日买入冻结资金 DT:C +FID_DRMRWTSL = 547 # 当日买入委托数量 DT:C +FID_DRQS = 548 # 当日已成交的清算资金 DT:C +FID_DTB = 549 # 跌停板 DT:C +FID_DZ = 550 # 地址 DT:C +FID_DZLX = 551 # 待转利息 DT:C +FID_EMAIL = 552 # 电子邮件 DT:C +FID_EN_BZ = 553 # 可操作的币种 DT:C +FID_EN_JYS = 554 # 可操作的交易所 DT:C +FID_EN_KHH = 555 # 可操作的客户号 DT:C +FID_EN_KHQZ = 556 # 允许操作的客户群组 DT:C +FID_EN_YYB = 557 # 允许操作的营业部 DT:C +FID_EN_ZQLB = 558 # 可操作的证券类别 DT:C +FID_EX_KHH = 559 # 不可操作的客户号 DT:C +FID_EX_KHQZ = 560 # 禁止操作的客户群组 DT:C +FID_EX_YYB = 561 # 禁止操作的营业部 DT:C +FID_EX_ZQLB = 562 # 禁止证券类别范围 DT:C +FID_FATHERID = 563 # 父菜单 DT:C +FID_AUTOSAVE = 564 # 自动保存 DT:I +FID_FKEY = 565 # 加速键 DT:C +FID_FLDM = 566 # 数据字典分类代码 DT:C +FID_FLMC = 567 # 数据字典分类名称 DT:C +FID_FLTSL = 568 # 非流通数量 DT:C +FID_FSYYB = 569 # 发生营业部 DT:C +FID_FWXM = 570 # 服务项目 DT:C +FID_GDH = 571 # 股东号 DT:C +FID_GDLB = 572 # 股东类别 DT:C +FID_ZJBH_GDH = 573 # 股东证件编号 DT:C +FID_GDZDSX = 574 # 股东指定属性 DT:I +FID_GDXM = 575 # 股东姓名 DT:C +FID_GJDM = 576 # 国籍代码 DT:C +FID_GMRQ = 577 # 柜员更密日期 DT:C +FID_DATE = 578 # 当前日期 DT:C DT:YYYY.MM.DD +FID_HKEY = 579 # 热键 DT:C +FID_HKEYMASK = 580 # 组合键 DT:C +FID_SHZD = 581 # 自动发送上海指定 DT:I DT:0 不发送 +FID_IBM = 582 # 数字编码 DT:C +FID_JJR = 583 # 经纪人代码 DT:C +FID_JJRLB = 584 # 经纪人类别 DT:C +FID_JJRMM = 585 # 经纪人密码 DT:C +FID_JJRQX = 586 # 经纪人权限 DT:C +FID_JKP = 587 # 今开盘 DT:C +FID_JSDM = 588 # 角色代码 DT:C +FID_JSMC = 589 # 角色名称 DT:C +FID_JSRQ = 590 # 结束日期 DT:C +FID_JYDW = 591 # 交易单位 DT:C +FID_JYFL = 592 # 交易分类 DT:C +FID_JYFW = 593 # 交易范围 DT:C +FID_JYJW = 594 # 交易价位 DT:C +FID_JYLB = 595 # 交易类别编码 DT:C +FID_JYLBMC = 596 # 交易类别名称 DT:C +FID_JYLBXZ = 597 # 交易类别限制 DT:C +FID_JYMM = 598 # 交易密码 DT:C +FID_JYS = 599 # 交易所编码 DT:C +FID_JYSXH = 600 # 交易所序号 DT:I +FID_JYSJC = 601 # 交易所名称 DT:C +FID_JYSQC = 602 # 交易所全称 DT:C +FID_KCRQ = 603 # 开仓日期 DT:C +FID_KEYMASK = 604 # 菜单组合键 DT:C +FID_KHH = 605 # 客户号 DT:C +FID_KHJB = 606 # 客户级别 DT:C +FID_KHJL = 607 # 客户经理 DT:C +FID_KHLB = 608 # 客户类别 DT:C +FID_KHQC = 609 # 客户全称 DT:C +FID_KHQZ = 610 # 客户群组 DT:C +FID_KHRQ = 611 # 开户日期 DT:C +FID_KHSX = 612 # 客户属性 DT:C +FID_KHXM = 613 # 客户姓名 DT:C +FID_LSH_ZR = 614 # 转入业务操作流水号 DT:I +FID_KMCSL = 615 # 可卖出数量 DT:C +FID_KMRSL = 616 # 可买入数量 DT:C +FID_KQZJ = 617 # 可取资金 DT:C +FID_KSRQ = 618 # 开始日期 DT:C +FID_KYZJ = 619 # 可用资金 DT:C +FID_LL = 620 # 利率 DT:C +FID_YJLX = 621 # 预计利息 DT:R +FID_LXJS = 622 # 利息积数 DT:R +FID_LXS = 623 # 预计利息税 DT:R +FID_LXSL = 624 # 利息税率 DT:R +FID_MCJE = 625 # 卖出金额 DT:C +FID_MCJJ = 626 # 卖出均价 DT:C +FID_MCJS = 627 # 卖出基数 DT:C +FID_MCSL = 628 # 卖出数量 DT:C +FID_MENUID = 629 # 菜单的系统代码 DT:C +FID_MKBH = 630 # 模块编号 DT:C +FID_MM = 631 # 密码 DT:C +FID_MMXZ = 632 # 买卖限制 DT:C +FID_YKTZMS = 633 # 盈亏调整模式 DT:I DT:0 根据输入调整,1 自动调整 +FID_MRJE = 634 # 买入金额 DT:C +FID_JYMQZ = 635 # 交易码前缀 DT:C +FID_MRJJ = 636 # 买入均价 DT:C +FID_MRJS = 637 # 买入基数 DT:C +FID_MRSL = 638 # 买入数量 DT:C +FID_NBMC = 639 # 摘要内部名称 DT:C +FID_NEWMM = 640 # 新密码 DT:C +FID_NODE = 641 # 操作站点 DT:C +FID_NOTE = 642 # 说明 DT:C +FID_PYDM = 643 # 拼音代码 DT:C +FID_PZBZ = 644 # 是否打印凭证 DT:C +FID_ZJZH_ZR = 645 # 转入资金帐号 DT:C +FID_QSJE = 646 # 清算金额 DT:C +FID_QSZJ = 647 # 清算资金 DT:C +FID_QYBM = 648 # 区域编码 DT:C +FID_QZFW = 649 # 取值范围 DT:C +FID_QZMC = 650 # 群组名称 DT:C +FID_RQ = 651 # 日期 DT:C +FID_RZJE = 652 # 融资金额 DT:C +FID_RZLL = 653 # 融资利率 DT:C +FID_SFXJJ = 654 # 卖风险基金 DT:C +FID_SGHF = 655 # 卖过户费 DT:C +FID_SJCD = 656 # 数据长度 DT:C +FID_SJE = 657 # 卖出金额 DT:C +FID_SJJJR = 658 # 上级经纪人 DT:C +FID_SJSF = 659 # 卖经手费 DT:C +FID_SJYYB = 660 # 上级营业部 DT:C +FID_SLXZ = 661 # 数量限制 DT:C +FID_CZCS = 662 # 冲帐次数 DT:I +FID_SRZJYE = 663 # 上日资金余额 DT:C +FID_SSL = 664 # 卖出数量 DT:C +FID_SXLB = 665 # 属性类别 DT:C +FID_SYHS = 666 # 卖印花税 DT:C +FID_SZGF = 667 # 卖证管费 DT:C +FID_T0JS = 668 # 当日应交收资金 DT:C +FID_T1JS = 669 # T+1清算应交收资金 DT:C +FID_T2JS = 670 # T+2清算应交收资金 DT:C +FID_TBCBJ = 671 # 摊薄成本价 DT:C +FID_TBTS = 672 # 特别提示 DT:C +FID_TJFL = 673 # 统计分类 DT:C +FID_TZJS = 674 # 透支积数 DT:C +FID_TZLL = 675 # 透支利率 DT:C +FID_CBTZMS = 676 # 成本调整模式 DT:I DT:0 根据输入调整,1 自动调整 +FID_USERID = 677 # 柜员号 DT:C +FID_USERNAME = 678 # 柜员名称 DT:C +FID_VALUE = 679 # 属性值 DT:C +FID_WTFS = 680 # 委托方式 DT:C +FID_WTH = 681 # 委托号 DT:C +FID_WTJG = 682 # 委托价格 DT:C +FID_WTLB = 683 # 委托类别 DT:C +FID_WTSL = 684 # 委托数量 DT:C +FID_JSDM_HC = 685 # 权限互斥的角色代码 DT:C +FID_WTSX = 686 # 委托上限 DT:C +FID_WTXX = 687 # 委托下限 DT:C +FID_XHRQ = 688 # 销户日期 DT:C +FID_XLDM = 689 # 学历代码 DT:C +FID_XM = 690 # 姓名 DT:C +FID_GDZT = 691 # 股东状态 DT:I +FID_YHDM = 692 # 银行代码 DT:C +FID_YHZH = 693 # 银行帐号 DT:C +FID_YWKM = 694 # 业务科目 DT:C +FID_YWLB = 695 # 业务类别 DT:C +FID_YWMC = 696 # 业务名称 DT:C +FID_YYB = 697 # 营业部 DT:C +FID_KHH_ZR = 698 # 转入客户号 DT:C +FID_CLSJ = 699 # 处理时间 DT:C +FID_KHXM_ZR = 700 # 转入客户姓名 DT:C +FID_GYDM_ZP = 701 # 指派柜员代码 DT:C +FID_YZBM = 702 # 邮政编码 DT:C +FID_ZDBJ = 703 # 最低报价 DT:C +FID_ZDJ = 704 # 最低价 DT:R +FID_EN_WTH = 705 # 委托合同号范围 DT:C +FID_ZGBJ = 706 # 最高报价 DT:C +FID_ZGJ = 707 # 最高价 DT:R +FID_KHFLFS = 708 # 客户分类方式 DT:I +FID_ZHYE = 709 # 帐户余额 DT:C +FID_ZHZT = 710 # 帐户状态 DT:C +FID_ZJBH = 711 # 证件编号 DT:C +FID_YJDJCL = 712 # 佣金定价策略 DT:I +FID_ZJLB = 713 # 证件类别 DT:C +FID_ZJMM = 714 # 资金密码 DT:C +FID_ZJYE = 715 # 资金余额 DT:C +FID_ZJZH = 716 # 资金帐号 DT:C +FID_GDH_OLD = 717 # 原股东号 DT:C +FID_LJS1 = 718 # 累计佣金 DT:R +FID_ZQDM = 719 # 证券代码 DT:C +FID_ZQLB = 720 # 证券类别 DT:C +FID_ZQLBMC = 721 # 证券类别名称 DT:C +FID_ZQMC = 722 # 证券名称 DT:C +FID_ZQQC = 723 # 证券全称 DT:C +FID_ZQSL = 724 # 证券数量 DT:C +FID_ZSBH = 725 # 证书编号 DT:C +FID_ZSP = 726 # 昨收盘 DT:C +FID_ZZHBZ = 727 # 主帐户标志 DT:I +FID_ZTB = 728 # 涨停板 DT:C +FID_ZXJ = 729 # 最新价 DT:C +FID_ZY = 730 # 摘要 DT:C +FID_ZYDM = 731 # 职业代码 DT:C +FID_ZZFS = 732 # 转帐申请方式 DT:C +FID_ZZJE = 733 # 支汇票金额 DT:C +FID_ZZKZ = 734 # 转帐控制 DT:C +FID_MMLB = 735 # 密码类别 DT:C +FID_HTHQZ = 736 # 合同号前缀 DT:C +FID_NEWQZ = 737 # 新群组编号 DT:C +FID_EN_ZJZH = 738 # 可操作的资金帐号 DT:C +FID_LOGICAL = 739 # 逻辑判断操作(是、否) DT:C +FID_KHFW = 740 # 客户范围 DT:C +FID_SQFS = 741 # 申请方式 DT:I +FID_CKCS = 742 # 存款次数限制 DT:C +FID_CKZE = 743 # 存款总额限制 DT:C +FID_CKDBSX = 744 # 存款单笔限制 DT:C +FID_QKCS = 745 # 取款次数限制 DT:C +FID_QKZE = 746 # 取款总额限制 DT:C +FID_QKDBSX = 747 # 取款单笔限制 DT:C +FID_TBBBJ = 748 # 摊薄保本价 DT:C +FID_TBFDYK = 749 # 摊薄浮动盈亏 DT:C +FID_WTSJ = 750 # 委托时间 DT:C +FID_SBSJ = 751 # 申报时间 DT:C +FID_MMLBSM = 752 # 买卖类别说明 DT:C +FID_SBJG = 753 # 申报结果 DT:C +FID_SBJGSM = 754 # 申报结果说明 DT:C +FID_CXBZ = 755 # 撤销标志 DT:C +FID_DLSF = 756 # 登录身份 DT:C +FID_JCCL = 757 # 今持仓量 DT:C +FID_WJSSL = 758 # 未交收数量 DT:C +FID_CDCZDX = 759 # 菜单操作对象 DT:I +FID_ZXSZ = 760 # 最新市值 DT:C +FID_FDYK = 761 # 浮动盈亏 DT:C +FID_DGDHBZ = 762 # 是否允许登记多股东号 DT:I DT:0 允许,1 不允许 +FID_BROWINDEX = 763 # 起始历史记录索引值 DT:C +FID_DJZJ = 764 # 冻结资金 DT:C +FID_LOGINPWD = 765 # 用户登录密码 DT:C +FID_S1 = 766 # 佣金 DT:C +FID_S2 = 767 # 印花税 DT:C +FID_S3 = 768 # 过户费 DT:C +FID_S4 = 769 # 附加费 DT:C +FID_S5 = 770 # 结算费 DT:C +FID_S6 = 771 # 交易规费 DT:C +FID_YSJE = 772 # 应收金额 DT:C +FID_LXSR = 773 # 利息收入 DT:R +FID_LXFC = 774 # 利息付出 DT:R +FID_BZS1 = 775 # 标准佣金 DT:C +FID_BCZQSL = 776 # 本次股份余额 DT:C +FID_BRZQSL = 777 # 本日股份余额 DT:C +FID_BRZJYE = 778 # 本日资金余额 DT:C +FID_GDJG = 779 # 转帐勾对结果 +FID_CSID = 780 # 参数编号ID DT:I +FID_JMLX = 781 # 加密类型 DT:C +FID_SQLB = 782 # 申请类别 DT:C +FID_DLXH = 783 # 登录序号 DT:INT +FID_ZPJE = 784 # 支票金额 DT:C +FID_GPSZ = 785 # 股票市值 DT:C +FID_MMYZFS = 786 # 密码验证方式 DT:I +FID_FZYZFS = 787 # 辅助身份验证方式 DT:I +FID_COUNT = 788 # 笔数 DT:C +FID_GDHH = 789 # 股东号前缀 DT:C +FID_GDHL = 790 # 股东号长度 DT:C +FID_ZQDML = 791 # 证券代码长度 DT:C +FID_ENDWTH = 792 # 结束委托号 DT:C +FID_LOGINID = 793 # 登录ID DT:C +FID_ZHXM = 794 # 帐户姓名 DT:C +FID_JSZH = 795 # 结算帐户 DT:C +FID_FAX = 796 # 传真FAX DT:C +FID_LSH = 797 # 流水号 DT:C +FID_HOST = 798 # 主机地址 DT:C +FID_TZLX = 799 # 透支利息 DT:C +FID_GSFL = 800 # 公司级客户分类 DT:C +FID_SRFS = 801 # 输入方式 DT:C +FID_XJZC = 802 # 现金资产 DT:C +FID_SRYE = 803 # 上日余额 DT:C +FID_ZHSX = 804 # 帐户属性 DT:C +FID_WJSJE = 805 # 未交收金额 DT:C +FID_CQBZ = 806 # 存取标志 DT:C +FID_YZZZBZ = 807 # 银证转帐标志 DT:C +FID_FSJE = 808 # 发生金额 DT:C +FID_NEWKHJL = 809 # 迁入客户经理 DT:C +FID_SCZJYE = 810 # 上次资金余额 DT:C +FID_SQPCH = 811 # 申请批次号 DT:I +FID_DJRQ = 812 # 登记日期 DT:C +FID_EN_GSFL = 813 # 允许操作的客户公司分类 DT:C +FID_ITEM = 814 # 配置项 DT:C +FID_XGRQ = 815 # 修改日期 DT:C +FID_CSJB = 816 # 参数级别 DT:C +FID_SXMC = 817 # 属性名称 DT:C +FID_PZH2 = 818 # 凭证号2 DT:C +FID_LPID = 819 # 礼品ID号 DT:C +FID_LPBM = 820 # 礼品编码 DT:C +FID_LPMC = 821 # 礼品名称 DT:C +FID_LPJZ = 822 # 礼品价值 DT:C +FID_ZSFS = 823 # 赠送方式 DT:C +FID_ZCKZED = 824 # 资产控制额度 DT:C +FID_ZJKZED = 825 # 资金控制额度 DT:C +FID_DJJE = 826 # 冻结金额 DT:C +FID_YCDJJE = 827 # 异常冻结金额 DT:C +FID_QSDM = 828 # 券商代码 DT:C +FID_QSMC = 829 # 券商名称 DT:C +FID_JGSM = 830 # 结果说明 DT:C +FID_CLRQ = 831 # 处理日期 DT:I +FID_JGBM = 832 # 机构编码 DT:C +FID_JGMC = 833 # 机构名称 DT:C +FID_JGJC = 834 # 机构简称 DT:C +FID_CITY = 835 # 城市 DT:C +FID_PROVINCE = 836 # 省份 DT:C +FID_SJJG = 837 # 上级机构 DT:C +FID_SJJGLB = 838 # 上级机构类别 DT:I +FID_JGLB = 839 # 机构类别 DT:I +FID_EN_SJJGLB = 840 # 允许上级机构类别范围 DT:C +FID_EN_JYLB = 841 # 允许的交易类别 DT:C +FID_MRJG1 = 842 # 买入价格一 DT:C +FID_MRSL1 = 843 # 买入数量一 DT:C +FID_MRJG2 = 844 # 买入价格二 DT:C +FID_MRSL2 = 845 # 买入数量二 DT:C +FID_MRJG3 = 846 # 买入价格三 DT:C +FID_MRSL3 = 847 # 买入数量三 DT:C +FID_MRJG4 = 848 # 买入价格四 DT:C +FID_MRSL4 = 849 # 买入数量四 DT:C +FID_MCJG1 = 850 # 卖出价格一 DT:C +FID_MCSL1 = 851 # 卖出数量一 DT:C +FID_MCJG2 = 852 # 卖出价格二 DT:C +FID_MCSL2 = 853 # 卖出数量二 DT:C +FID_MCJG3 = 854 # 卖出价格三 DT:C +FID_MCSL3 = 855 # 卖出数量三 DT:C +FID_MCJG4 = 856 # 卖出价格四 DT:C +FID_MCSL4 = 857 # 卖出数量四 DT:C +FID_DYBL = 858 # 抵押比例 DT:R +FID_JJRXM = 859 # 经纪人姓名 DT:C +FID_TPBZ = 860 # 停牌标志 DT:C +FID_JSLX = 861 # 结算类型 DT:I +FID_HBXH = 862 # 回报序号 DT:C +FID_SBGDH = 863 # 三板股东号 DT:C +FID_WTGY = 864 # 委托柜员 DT:C +FID_FSSJ = 865 # 发生时间 DT:C +FID_WTZKXS = 866 # 委托折扣系数 DT:C +FID_CXZKXS = 867 # 查询折扣系数 DT:C +FID_QTZKXS = 868 # 前台折扣系数 DT:C +FID_ZQSZ = 869 # 证券市值 DT:C +FID_KYZJXE = 870 # 可用资金限额 DT:R +FID_XMLSH = 871 # 项目流水号 DT:I +FID_ZCZH = 872 # 转存帐号 DT:C +FID_ZCBL = 873 # 转存比例 DT:C +FID_SFFS = 874 # 收费方式 DT:C +FID_SFBZ = 875 # 收费标准 DT:C +FID_JFFS = 876 # 计费方式 DT:C +FID_JFQD = 877 # 计费起点 DT:C +FID_JFDW = 878 # 计费单位 DT:C +FID_CZSJ = 879 # 操作时间 DT:C +FID_CLJG = 880 # 处理结果 DT:C +FID_GYFL = 881 # 柜员分类 DT:C +FID_WBGYDM = 882 # 外部柜员代码 DT:C +FID_XQXZ = 883 # 星期限制 DT:C +FID_ZCXZ = 884 # 注册限制 DT:C +FID_SLSX = 885 # 数量上限 DT:C +FID_CDSL = 886 # 撤单数量 DT:C +FID_YJZKBL = 887 # 佣金折扣比例 DT:R +FID_FJFZKBL = 888 # 附加费折扣比例 DT:R +FID_BH = 889 # 编号 DT:C +FID_SHXYM = 890 # 审核校验码 DT:C +FID_ZLLB = 891 # 指令类别 DT:C +FID_CDJSP = 892 # 菜单JSP DT:C +FID_EN_NODE = 893 # 允许操作站点 DT:C +FID_EN_MYYYB = 894 # 允许漫游营业部范围 DT:C +FID_ZJGMRQ = 895 # 系统用户最近更密日期 DT:I +FID_JGSX = 896 # 机构属性 DT:I +FID_CDSX = 897 # 参数属性 DT:I +FID_BM = 898 # 数据字典编码 DT:I +FID_BMSM = 899 # 数据字典编码说明 DT:C +FID_CDDLL = 900 # 菜单DLL名称 DT:C +FID_SXZ = 901 # 属性值 DT:C +FID_YHSX = 902 # 银行属性 DT:C +FID_YHYW = 903 # 银行业务 DT:C +FID_ZQYW = 904 # 证券业务 DT:C +FID_ZJMMXY = 905 # 资金密码效验 DT:C +FID_JYMMXY = 906 # 交易买卖效验 DT:C +FID_YHMMXY = 907 # 银行买卖效验 DT:C +FID_YHMC = 908 # 银行名称 DT:C +FID_HBLB = 909 # 货币类别 DT:C +FID_WBZHMM = 910 # 外部帐户密码 DT:C +FID_DYBS = 911 # 转帐对应标识 DT:C +FID_SQH = 912 # 申请号 DT:C +FID_WBLSH = 913 # 外部流水号 DT:C +FID_BDDJJE = 914 # 本地冻结金额 DT:R +FID_CJBS = 915 # 成交笔数 DT:I +FID_SHLB = 916 # 审核类别 DT:C +FID_SHJG = 917 # 审核结果 DT:C +FID_YEGXSJ = 918 # 余额更新时间 DT:C +FID_QSMM = 919 # 券商密码 DT:C +FID_MMMY = 920 # 密码密钥 DT:C +FID_CSMY = 921 # 传输密钥 DT:C +FID_FJXX = 922 # 附加信息 DT:C +FID_WBCLJG = 923 # 外部处理结果 DT:C +FID_SQWD = 924 # 申请网点 DT:C +FID_XYBZ = 925 # 效验标志 DT:C +FID_CXSQH = 926 # 撤销申请号 DT:C +FID_JYBS = 927 # 交易标识 DT:C +FID_CLLB = 928 # 处理类别 DT:C +FID_ZHLB = 929 # 帐户类别 DT:C +FID_FQF = 930 # 发起方 DT:C +FID_HZBS = 931 # 汇总笔数 DT:C +FID_HZJE = 932 # 汇总金额 DT:C +FID_LY = 933 # 来源 DT:C +FID_WDH = 934 # 网点号 DT:C +FID_QD1 = 935 # 起点一 DT:C +FID_QD2 = 936 # 起点二 DT:C +FID_QD3 = 937 # 起点三 DT:C +FID_QD4 = 938 # 起点四 DT:C +FID_QD5 = 939 # 起点五 DT:C +FID_BL1 = 940 # 佣金一 DT:C +FID_BL2 = 941 # 佣金二 DT:C +FID_BL3 = 942 # 佣金三 DT:C +FID_BL4 = 943 # 佣金四 DT:C +FID_BL5 = 944 # 佣金五 DT:C +FID_KHJCGX = 945 # 客户继承关系 DT:C +FID_SYZH1 = 946 # 收益帐号一 DT:C +FID_SYZH2 = 947 # 收益帐号二 DT:C +FID_JSTS = 948 # 计算天数 DT:C +FID_TJJYR = 949 # 统计交易日 DT:C +FID_TJTS = 950 # 统计天数 DT:C +FID_FPBL = 951 # 分配比例 DT:C +FID_ZKFS = 952 # 折扣方式 DT:C +FID_ZJED = 953 # 资金额度 DT:C +FID_ZCED = 954 # 资产额度 DT:C +FID_GLF = 955 # 管理费 DT:C +FID_YJDX = 956 # 佣金底限 DT:C +FID_EX_JYLB = 957 # 禁止交易类别 DT:C +FID_BDSL = 958 # 变动数量 DT:C +FID_HZFS = 959 # 汇总方式 DT:C +FID_LPSL = 960 # 礼品数量 DT:C +FID_LXBJ = 961 # 利息报价 DT:C +FID_KLX = 962 # 卡类型 DT:C +FID_KMC = 963 # 卡名称 DT:C +FID_BSC = 964 # 标识串 DT:C +FID_BSCKSWZ = 965 # 标识串开始位置 DT:C +FID_FJC = 966 # 附加串 DT:C +FID_FJCKSWZ = 967 # 附加串开始位置 DT:C +FID_KHKSWZ = 968 # 卡号开始位置 DT:C +FID_KHCD = 969 # 卡号长度 DT:C +FID_EN_YWKM = 970 # 允许业务科目 DT:C +FID_ZRSZ = 971 # 昨日市值 DT:C +FID_NEXTDATA = 972 # 继续取数标志 DT:C +FID_SYL = 973 # 收益率 DT:C +FID_FHS1 = 974 # 已返还佣金 DT:C +FID_GJBM1 = 975 # 国籍编码一 DT:C +FID_GJBM2 = 976 # 国籍编码二 DT:C +FID_GJBM3 = 977 # 国籍编码三 DT:C +FID_GJMC = 978 # 国籍名称 DT:C +FID_EGJMC = 979 # 国籍英文名称 DT:C +FID_CCCB = 980 # 持仓成本 DT:C +FID_BDRQ = 981 # 变动日期 DT:C +FID_MMXYLX = 982 # 密码效验类型 DT:C +FID_XZSJ = 983 # 限制时间 DT:C +FID_KHDXLX = 984 # 客户对象类型 DT:C +FID_JYSXGX = 985 # 交易所相关性 DT:C +FID_BZXGX = 986 # 币种相关性 DT:C +FID_QZXGX = 987 # 群组相关性 DT:C +FID_EXFLG = 988 # 查询扩展信息标志 DT:C +FID_MAX_D = 989 # 最大值(浮点) DT:C +FID_MIN_D = 990 # 最小值(浮点) DT:C +FID_MAX_L = 991 # 最大值(整型) DT:C +FID_MIN_L = 992 # 最小值(整型) DT:C +FID_GYFJQX = 993 # 柜员附加权限 DT:C +FID_ZHTZE = 994 # 帐户投资额 DT:C +FID_QSJE_B = 995 # 回报买清算资金 DT:C +FID_QSJE_S = 996 # 回报卖清算资金 DT:C +FID_FDYK_TB = 997 # 摊薄浮动盈亏 DT:C +FID_LLCSLB = 998 # 利率参数类别 DT:C +FID_EX_JJR = 999 # 禁止经纪人 DT:C +FID_FHFS = 1000 # 佣金返还方式 DT:C +FID_BZ_FH = 1001 # 佣金返还币种 DT:C +FID_HBDHBL = 1002 # 货币兑换比例 DT:C +FID_SYZH3 = 1003 # 收益帐户3 DT:C +FID_SYBL1 = 1004 # 收益比例1 DT:C +FID_SYBL2 = 1005 # 收益比例2 DT:C +FID_SYBL3 = 1006 # 收益比例3 DT:C +FID_GDKZSX = 1007 # 股东控制属性 DT:I +FID_RCKHH = 1008 # 容错客户号标志 DT:I +FID_RQ2 = 1009 # 日期2 DT:C +FID_EN_YXZZDM = 1010 # 营销组织代码范围 DT:C +FID_SBWTH = 1011 # 申报委托号 DT:C +FID_CITYID = 1012 # 城市ID DT:C +FID_DDLX = 1013 # 订单类型 DT:I +FID_SECTIONID = 1014 # 辖区ID DT:C +FID_SECTION = 1015 # 辖区名称 DT:C +FID_SFZQ = 1016 # 收费周期 DT:C +FID_WTPCH = 1017 # 委托批次号 DT:I +FID_KXDLSF = 1018 # 可选登录身份 DT:I +FID_EN_YWLB = 1019 # 业务类别范围 DT:C +FID_BZDM = 1020 # 标准代码 DT:C +FID_WBDM = 1021 # 外部代码 DT:C +FID_CSDM = 1022 # 参数代码 DT:C +FID_CSMC = 1023 # 参数名称 DT:C +FID_QZSM = 1024 # 取值说明 DT:C +FID_EN_FJBZ = 1025 # 允许的附加标志 DT:C +FID_HYMC = 1026 # 行业名称 DT:C +FID_JSJG = 1027 # 结算机构 DT:C +FID_CWLX = 1028 # 错误类型 DT:C +FID_CWDM = 1029 # 错误类型 DT:C +FID_CWSM = 1030 # 错误类型 DT:C +FID_ZXZS = 1031 # 最新指数 DT:C +FID_TZEBZ = 1032 # 投资额标志 DT:C +FID_KBBZ = 1033 # 佣金捆绑标志 DT:C +FID_KHTZFL = 1034 # 客户投资分类(X DT:DM.KH DT:ZFL) +FID_ZJZR = 1035 # 转入资金 DT:C +FID_ZJZC = 1036 # 转出资金 DT:C +FID_SZZR = 1037 # 转入市值 DT:C +FID_SZZC = 1038 # 转出市值 DT:C +FID_MKKZ = 1039 # 卖空控制 DT:I +FID_MFCS = 1040 # 免费登录次数 DT:C +FID_XZCS = 1041 # 限制登录次数 DT:C +FID_SJSX_A = 1042 # 每日使用总时间上限 DT:C +FID_SJSX_S = 1043 # 每日使用单站点时间上限 DT:C +FID_MMCSCS = 1044 # 密码尝试次数 DT:C +FID_ZDJDTS = 1045 # 自动解冻天数 DT:C +FID_MFHQCS = 1046 # 免费查询行情次数 DT:C +FID_HQSFSX = 1047 # 行情收费上限 DT:C +FID_HKSFSX = 1048 # 划卡收费上限 DT:C +FID_SJSFSX = 1049 # 使用时间收费上限 DT:C +FID_ZSFSX = 1050 # 总收费上限 DT:C +FID_DBYJXX = 1051 # 单笔佣金下限 DT:C +FID_DBYJSX = 1052 # 单笔佣金上限 DT:C +FID_ZCJJE = 1053 # 总成交金额 DT:R +FID_YJDJFS = 1054 # 佣金定价方式XTDM.YJDJFS DT:C +FID_FHGY = 1055 # 复核柜员 DT:C +FID_TJZQLB = 1056 # 统计证券类别 DT:C +FID_DJJSFS = 1057 # 佣金定价结算方式 DT:I +FID_FDBH = 1058 # 分段编号 DT:C +FID_CFCDBZ = 1059 # 是否允许重复撤单 DT:I DT:0 不允许;1 允许 +FID_ZHDM = 1060 # 专户代码 DT:C +FID_TZDW = 1061 # 投资单位 DT:C +FID_TZXX = 1062 # 投资下限 DT:C +FID_SYZKXS = 1063 # 收益折扣系统 DT:C +FID_SYTZFS = 1064 # 收益投资方式 DT:C +FID_TZJESX = 1065 # 投资金额上限 DT:C +FID_ZJLCDS = 1066 # 资金留存底数 DT:C +FID_TZBDJE = 1067 # 投资额变更数 DT:C +FID_ZHKHH = 1068 # 专户客户号 DT:C +FID_ZHZJZH = 1069 # 专户资金账户 DT:C +FID_LCJZJE = 1070 # 理财集中金额 DT:C +FID_LCFHJE = 1071 # 理财返还金额 DT:C +FID_SYZTZBZ = 1072 # 理财收益再投资标志 DT:C +FID_SYZTZZQ = 1073 # 收益再投资周期 DT:C +FID_LCZSY = 1074 # 理财总收益 DT:C +FID_SYZCJE = 1075 # 理财收益转存金额 DT:C +FID_SYZTZE = 1076 # 收益再投资金额 DT:C +FID_XYBH = 1077 # 协议编号 DT:C +FID_LCTZJE = 1078 # 理财投资金额 DT:C +FID_SGDM = 1079 # 专户申购代码 DT:C +FID_CLBZ = 1080 # 处理标志 DT:C +FID_FPSY = 1081 # 分配收益 DT:C +FID_GBZQL = 1082 # 公布中签率 DT:C +FID_SGSL = 1083 # 申购数量 DT:C +FID_SGJG = 1084 # 申购价格 DT:C +FID_SSRQ = 1085 # 上市日期 DT:C +FID_HKRQ = 1086 # 还款日期 DT:C +FID_SSDM = 1087 # 上市代码 DT:C +FID_PHDM = 1088 # 配号代码 DT:C +FID_HKDM = 1089 # 还款代码 DT:C +FID_SGRQ = 1090 # 申购日期 DT:C +FID_JEBL = 1091 # 金额比率 DT:C +FID_LCJZQTJE = 1092 # 理财集中金额 DT:C +FID_HZGDH = 1093 # 合作股东号 DT:C +FID_SYDX = 1094 # 适用对象 DT:C +FID_JYLJSFS = 1095 # 交易量计算方式 DT:C +FID_JYLLJZQ = 1096 # 交易量累计周期 DT:C +FID_DJFS = 1097 # 定价方式 DT:C +FID_BBJ = 1098 # 保本价 DT:C +FID_HZLB = 1099 # 合作帐户类别 DT:C +FID_FSJE_LCBJ = 1100 # 本金发生金额 DT:C +FID_BCYE_LCBJ = 1101 # 本次本金余额 DT:C +FID_FSJE_SY = 1102 # 收益发生金额 DT:C +FID_BCYE_SY = 1103 # 待转收益余额 DT:C +FID_FSJE_BZJ = 1104 # 保证金发生额 DT:C +FID_BCYE_BZJ = 1105 # 保证金帐户余额 DT:C +FID_HZLBMC = 1106 # 合作类别名称 DT:C +FID_KSFW = 1107 # 起始范围 DT:C +FID_JSFW = 1108 # 结束范围 DT:C +FID_ZDKZBZ = 1109 # 指定控制标志 DT:I +FID_KHS = 1110 # 开户户数 DT:C +FID_XHS = 1111 # 销户户数 DT:C +FID_ZHS = 1112 # 总户数 DT:C +FID_ZDGDHS = 1113 # 指定股东户数 DT:C +FID_CXZDHS = 1114 # 撤销股东户数 DT:C +FID_CCGDHS = 1115 # 持仓股东户数 DT:C +FID_TJZJYE = 1116 # 统计资金余额 DT:C +FID_TJZJCK = 1117 # 统计增加存款 DT:C +FID_TJZJQK = 1118 # 统计增加取款 DT:C +FID_TJZJGP = 1119 # 统计增加市值 DT:C +FID_TJJSGP = 1120 # 统计减少市值 DT:C +FID_TJGPSZ = 1121 # 统计股票市值 DT:C +FID_TJZZC = 1122 # 统计总资产 DT:C +FID_FDB1 = 1123 # 统计分段开始1 DT:C +FID_FDE1 = 1124 # 统计分段结束1 DT:C +FID_FDB2 = 1125 # 统计分段开始2 DT:C +FID_FDE2 = 1126 # 统计分段结束2 DT:C +FID_FDB3 = 1127 # 统计分段开始3 DT:C +FID_FDE3 = 1128 # 统计分段结束3 DT:C +FID_FDB4 = 1129 # 统计分段开始4 DT:C +FID_FDE4 = 1130 # 统计分段结束4 DT:C +FID_FDB5 = 1131 # 统计分段开始5 DT:C +FID_FDE5 = 1132 # 统计分段结束5 DT:C +FID_FDB6 = 1133 # 统计分段开始6 DT:C +FID_FDE6 = 1134 # 统计分段结束6 DT:C +FID_TJJGGS = 1135 # 统计结果个数 DT:C +FID_TJJGSJ = 1136 # 统计结果数据 DT:C +FID_QSBZ = 1137 # 实时清算标志 DT:C +FID_TZJE = 1138 # 透支金额 DT:C +FID_WJSZJ = 1139 # 未交收资金 DT:C +FID_ZJDJLSH = 1140 # 资金冻结流水号 DT:I +FID_YDZD = 1141 # 应答字段 DT:C +FID_YDZDSM = 1142 # 应答字段说明 DT:C +FID_YDSJ = 1143 # 应答数据 DT:C +FID_JCJJE = 1144 # 净成交金额 DT:C +FID_YXHS = 1145 # 有效户数 DT:C +FID_CJSLBL = 1146 # 成交数量比例 DT:C +FID_CJJEBL = 1147 # 成交金额比例 DT:C +FID_S1BL = 1148 # 佣金收入比例 DT:C +FID_ZZCBL1 = 1149 # 营业部的资产比例 DT:C +FID_ZZCBL2 = 1150 # 总公司的资产比例 DT:C +FID_ZSLBL1 = 1151 # 营业部的数量比例 DT:C +FID_ZSLBL2 = 1152 # 总公司的数量比例 DT:C +FID_ZHSBL1 = 1153 # 营业部的户数比例 DT:C +FID_ZHSBL2 = 1154 # 总公司的户数比例 DT:C +FID_JEXX = 1155 # 金额下限 DT:C +FID_ZQDJLSH = 1156 # 证券冻结流水号 DT:I +FID_WTSB = 1157 # 银证转帐参数的申报状态 DT:C +FID_QDBZ = 1158 # 银证转帐参数的签到标志 DT:C +FID_WBZH = 1159 # 外部帐号 DT:C +FID_SQBH = 1160 # 业务申请编号 DT:C +FID_WBCKKY = 1161 # 外部帐户参考可用余额 DT:C +FID_WBCKKQ = 1162 # 外部帐户参考可取资金余额 DT:C +FID_WBDJJE = 1163 # 外部帐户参考冻结金额 DT:C +FID_JYXZ = 1164 # 银证通交易限制 DT:C +FID_ZJXYFS = 1165 # 银证通资金校验方式 DT:C +FID_HBBZ = 1166 # 银证通资料回报类型 DT:C +FID_ZJHZFS = 1167 # 银证通资金回转方式 DT:C +FID_DRQKJE = 1168 # 当日取款金额 DT:R +FID_JGKZBZ = 1169 # 价格控制标志 DT:I +FID_ZZJSSJ = 1170 # 银证转帐停止正常转帐交易的时间 DT:C +FID_CZDRZXBZ = 1171 # 撤指当日是否允许注销 DT:I DT:0 不允许,1 允许 +FID_LSH_LXS = 1172 # 收取利息税的业务流水号 DT:I +FID_LX = 1173 # 利息 DT:R +FID_ZJMXLSH = 1174 # 资金明细流水号 DT:I +FID_YSSL = 1175 # 应收数量 DT:I +FID_BBYK = 1176 # 本笔盈亏 DT:R +FID_JYSFY = 1177 # 交易所费用 DT:R +FID_BCJKYE = 1178 # 本次借款余额 DT:R +FID_KSGSL = 1179 # 可申购数量 DT:I +FID_ZSZBL1 = 1180 # 营业部的市值比例 DT:C +FID_ZSZBL2 = 1181 # 总公司的市值比例 DT:C +FID_QCKHS = 1182 # 期初客户数 DT:C +FID_QMKHS = 1183 # 期末客户数 DT:C +FID_KSHSL = 1184 # 可赎回数量 DT:I +FID_EN_ZQDM = 1185 # 证券代码范围 DT:C +FID_XCMRJ = 1186 # 现钞买入价 DT:C +FID_XCMCJ = 1187 # 现钞卖出价 DT:C +FID_XHMRJ = 1188 # 现汇买入价 DT:C +FID_XHMCJ = 1189 # 现汇卖出价 DT:C +FID_GSBL = 1190 # 估算比例 DT:C +FID_HLBZ = 1191 # 汇率标志 DT:C +FID_DRCKJE = 1192 # 当日帐户存款金额 DT:C +FID_TZCKJE = 1193 # 当日通知存款金额 DT:C +FID_JGMC_E = 1194 # 机构英文名称 DT:C +FID_FRDB = 1195 # 法人代表 DT:C +FID_WTQR = 1196 # 委托确认库 DT:C +FID_HYLB = 1197 # 行业类别 DT:C +FID_YWFW = 1198 # 业务范围 DT:C +FID_ZCDZ = 1199 # 注册地址 DT:C +FID_ZCZB = 1200 # 注册资本 DT:C +FID_ZCYE = 1201 # 资产余额 DT:C +FID_FZYE = 1202 # 负债余额 DT:C +FID_YSZC = 1203 # 原始资产 DT:C +FID_CXWTH = 1204 # 撤单撤销委托号 DT:I +FID_YWXZ = 1205 # 业务限制 DT:C +FID_SJXM = 1206 # 审计项目 DT:C +FID_SJMC = 1207 # 审计名称 DT:C +FID_JS = 1208 # 债券增值积数 DT:C +FID_CCJJ = 1209 # 持仓均价 DT:C +FID_LJYK = 1210 # 累计盈亏 DT:C +FID_PGSL = 1211 # 配股数量 DT:C +FID_BL = 1212 # 比例 DT:C +FID_CSLB = 1213 # 参数类别 DT:C +FID_FJBZ = 1214 # 附加标识 DT:C +FID_QZQKBZ = 1215 # 强制取款标志 DT:C +FID_SBRQ = 1216 # 委托申报日期 DT:I +FID_ZCXX = 1217 # 资产下限 DT:C +FID_ZCSX = 1218 # 资产上限 DT:C +FID_TIME = 1219 # 操作时间 DT:C +FID_PGJE = 1220 # 配股金额 DT:C +FID_TGZH = 1221 # 债券系统托管帐户 DT:C +FID_GZQX = 1222 # 国债期限 DT:C +FID_HGTS = 1223 # 回购天数 DT:C +FID_GZJYSX = 1224 # 国债交易属性 DT:C +FID_ISLOGIN = 1225 # 是否登录标志 DT:I +FID_GZNBDM = 1226 # 债券内部代码 DT:C +FID_GZFJSX = 1227 # 国债附加属性 DT:C +FID_GZMZSX = 1228 # 面值属性 DT:C +FID_GZJXTS = 1229 # 国债计息天数 DT:C +FID_FXJG = 1230 # 债券发行价格 DT:C +FID_TGBH = 1231 # 托管编号 DT:C +FID_DYSL = 1232 # 抵押数量 DT:C +FID_TGRQ = 1233 # 托管日期 DT:C +FID_SXF = 1234 # 手续费 DT:C +FID_DJSL = 1235 # 冻结数量 DT:C +FID_CQDJ = 1236 # 长期冻结 DT:C +FID_JYFY = 1237 # 交易费用 DT:C +FID_DQBX = 1238 # 债券到期本息 DT:C +FID_GZLL = 1239 # 国债利率 DT:C +FID_DQRQ = 1240 # 到期(兑付日期) DT:C +FID_JXRQ = 1241 # 开始记息日期 DT:C +FID_LTRQ = 1242 # 开始流通日期 DT:C +FID_FXZQDJR = 1243 # 派息登记日 DT:C +FID_ZQFXRQ = 1244 # 派息日 DT:C +FID_DFZQDJR = 1245 # 兑付登记日 DT:C +FID_BRLX = 1246 # 记账式债券单位(100)本日利息 DT:C +FID_HGJG = 1247 # 回购价格 DT:C +FID_GHJG = 1248 # 购回价格 DT:C +FID_KTBZ = 1249 # 开通标志 DT:C +FID_HGSL = 1250 # 回购数量 DT:C +FID_HGRQ = 1251 # 回购日期 DT:C +FID_GHRQ = 1252 # 购回日期 DT:C +FID_ZRTGZH = 1253 # 转入托管帐户 DT:C +FID_QTZC = 1254 # 其他资产 DT:C +FID_ZZC = 1255 # 总资产 DT:C +FID_WQSZJ = 1256 # 未清算资金 DT:C +FID_JGDM = 1257 # 机构代码 DT:C +FID_DFSXFL = 1258 # 兑付手续费率 DT:C +FID_DFLXSL = 1259 # 兑付利息税率 DT:C +FID_JXFS = 1260 # 计息方式 DT:C +FID_CSSM = 1261 # 参数说明 DT:C +FID_SZSM = 1262 # 参数设置说明 DT:C +FID_XGGY = 1263 # 修改柜员 DT:C +FID_LOGINNAME = 1264 # 登录用户名称 DT:C +FID_MRDLSF = 1265 # 默认登录身份 DT:I +FID_MGZC = 1266 # 每股资产 DT:R +FID_SNMGSY = 1267 # 上年每股收益 DT:R +FID_XZJB = 1268 # 限制级别 DT:I +FID_EN_MCQZ = 1269 # 名称前缀范围 DT:C +FID_BDZQDM = 1270 # 本地证券代码 DT:C DT:买断式回购本地债券代码 +FID_LYJBL = 1271 # 履约金比例 DT:R +FID_RQWGHZJ = 1272 # 融券未购回资金(权益) DT:R +FID_RZWGHZJ = 1273 # 融资未购回资金(负债) DT:R +FID_BWJSZJ = 1274 # 买入未交收资金 DT:R +FID_SWJSZJ = 1275 # 卖出未交收资金 DT:R +FID_YSYXYED = 1276 # 已使用信用额度 DT:R +FID_DJWTK = 1277 # 登记委托库 DT:C +FID_DJHBK = 1278 # 登记回报库 DT:C +FID_CDSB = 1279 # 撤单申报库 DT:C +FID_CDQR = 1280 # 撤单确认库 DT:C +FID_WTQRNO = 1281 # 委托确认笔数 DT:I +FID_CDQRNO = 1282 # 撤单确认笔数 DT:I +FID_TYPE_BF = 1283 # 备份通道类型 DT:I +FID_MODULE_BF = 1284 # 备份申报模块 DT:C +FID_HOST_BF = 1285 # 备份申报主机地址 DT:C +FID_WTSB_BF = 1286 # 备份委托申报库 DT:C +FID_WTQR_BF = 1287 # 备份委托确认库 DT:C +FID_CDSB_BF = 1288 # 备份撤单申报库 DT:C +FID_CDQR_BF = 1289 # 备份撤单确认库 DT:C +FID_WTQRNO_BF = 1290 # 备份通道委托申报确认笔数 DT:I +FID_CDQRNO_BF = 1291 # 备份通道撤单确认笔数 DT:I +FID_TDBH = 1292 # 通道编号 DT:I +FID_EN_TDBH = 1293 # 通道编号范围 DT:C +FID_LTXW = 1294 # 联通席位 DT:C +FID_YYBXZMS = 1295 # 营业部限制模式 DT:I +FID_ZQLBXZMS = 1296 # 证券类别限制模式 DT:I +FID_SBBS = 1297 # 申报笔数 DT:I +FID_SBBS_S = 1298 # 单次轮询最大申报笔数 DT:I +FID_JGSJ = 1299 # 间隔时间 DT:I +FID_YXHSBL1 = 1300 # 营业部有效户数比例 DT:C +FID_YXHSBL2 = 1301 # 总部有效户数比例 DT:C +FID_ENDKHH = 1302 # 结束客户号 DT:C +FID_FILESIZE = 1303 # 文件大小 DT:C +FID_FILETRANSIZE = 1304 # 文件传送时的大小 DT:比如:压缩后 DT:C +FID_YJXX = 1305 # 最低佣金 DT:C +FID_YJSX = 1306 # 最高佣金 DT:C +FID_YHSL = 1307 # 印花税率 DT:C +FID_GHFL = 1308 # 过户费率 DT:C +FID_GHFXX = 1309 # 最低过户费 DT:C +FID_GHFSX = 1310 # 最高过户费 DT:C +FID_FJF = 1311 # 附加费 DT:C +FID_JSFL = 1312 # 结算费率 DT:R +FID_JSFXX = 1313 # 最低结算费 DT:C +FID_JSFSX = 1314 # 最高结算费 DT:C +FID_JYGFL = 1315 # 交易规费率 DT:C +FID_JYGFXX = 1316 # 交易规费下限 DT:C +FID_JYGFSX = 1317 # 交易规费上限 DT:C +FID_QTFL = 1318 # 其它费率 DT:C +FID_QTFXX = 1319 # 最低其他费用 DT:C +FID_QTFSX = 1320 # 最高其他费用 DT:C +FID_FID = 1321 # FIX包中的FID编号 DT:I +FID_EN_XWH = 1322 # 席位号范围 DT:C +FID_FWDM = 1323 # 客户服务代码 DT:C +FID_FWMC = 1324 # 客户服务名称 DT:C +FID_FWLX = 1325 # 客户服务类型 DT:C +FID_SLZ = 1326 # 客户服务受理主体 DT:C +FID_CLFS = 1327 # 客户服务处理方式 DT:C +FID_FILE = 1328 # 文件名 DT:C +FID_FILE2 = 1329 # 文件名二 DT:C +FID_PROCNAME = 1330 # 过程名 DT:C +FID_CSXH = 1331 # 参数序号 DT:C +FID_TYPE = 1332 # 参数类型 DT:C +FID_QSZ = 1333 # 缺省值 DT:C +FID_CJHB = 1334 # 成交回报库 DT:C +FID_CS1 = 1335 # 参数1 DT:C +FID_CS2 = 1336 # 参数2 DT:C +FID_CS3 = 1337 # 参数3 DT:C +FID_CS4 = 1338 # 参数4 DT:C +FID_CS5 = 1339 # 参数5 DT:C +FID_CS6 = 1340 # 参数6 DT:C +FID_CS7 = 1341 # 参数7 DT:C +FID_CS8 = 1342 # 参数8 DT:C +FID_CS9 = 1343 # 参数9 DT:C +FID_CS10 = 1344 # 参数10 DT:C +FID_CS11 = 1345 # 参数11 DT:C +FID_CS12 = 1346 # 参数12 DT:C +FID_CS13 = 1347 # 参数13 DT:C +FID_CS14 = 1348 # 参数14 DT:C +FID_CS15 = 1349 # 参数15 DT:C +FID_OPTERATOR = 1350 # 核心开户操作类型 DT:C +FID_OPTION = 1351 # 核心开户参数1 DT:C +FID_PACKINDEX = 1352 # 数据包序列号 DT:C +FID_GYDM = 1353 # 柜员代码 DT:C +FID_JYJS = 1354 # 交易基数 DT:C +FID_QTSX = 1355 # 其他属性 DT:C +FID_TDJY = 1356 # 替代交易 DT:C +FID_MRJG5 = 1357 # 买入价格5 DT:C +FID_MRSL5 = 1358 # 买入数量5 DT:C +FID_MCJG5 = 1359 # 卖出价格5 DT:C +FID_MCSL5 = 1360 # 卖出数量5 DT:C +FID_ZQSZ_RMB = 1361 # 人民币证券市值 DT:C +FID_ZQSZ_USD = 1362 # 美元证券市值 DT:C +FID_ZQSZ_HKD = 1363 # 港币证券市值 DT:C +FID_ZQSZ_ZSRMB = 1364 # 总证券市值折算人民币 DT:C +FID_ZJYE_RMB = 1365 # 人民币资金余额 DT:C +FID_ZJYE_USD = 1366 # 美元资金余额 DT:C +FID_ZJYE_HKD = 1367 # 港币资金余额 DT:C +FID_ZJYE_ZSRMB = 1368 # 总资金余额折算人民币 DT:C +FID_QTZC_RMB = 1369 # 人民币其他资产 DT:C +FID_QTZC_USD = 1370 # 美元其他资产 DT:C +FID_QTZC_HKD = 1371 # 港币其他资产 DT:C +FID_QTZC_ZSRMB = 1372 # 总其他资产折算人民币 DT:C +FID_LASTRECNO = 1373 # 最近回报记录号 DT:I +FID_HTHQZFW = 1374 # 合同号前缀范围 DT:C +FID_TZZHDM = 1375 # 投资组合代码 DT:C +FID_TZZHMC = 1376 # 投资组合代码 DT:C +FID_TZZHQZ = 1377 # 投资组合代码 DT:C +FID_TZZHLB = 1378 # 投资组合代码 DT:C +FID_HTHQJ = 1379 # 合同号区间 DT:C +FID_FWLB = 1380 # 服务类别 DT:C +FID_XMZX = 1381 # 项目子项 DT:C +FID_DZLB = 1382 # 主动推送允许地址类别 DT:C +FID_QSDZLB = 1383 # 主动推送缺省地址类别 DT:C +FID_SJFY = 1384 # 手机短信方式的服务收费标准 DT:C +FID_YJFY = 1385 # EMAIL方式的服务收费标准 DT:C +FID_ZF = 1386 # 涨幅 DT:C +FID_DF = 1387 # 跌幅 DT:C +FID_FSCS = 1388 # 发送次数 DT:C +FID_HQNR = 1389 # 行情点播内容 DT:C +FID_ZDSJ = 1390 # 行情点播允许发送指定时间点 DT:C +FID_SJQJ = 1391 # 行情点播允许发送时间区间 DT:C +FID_XWZBH = 1392 # 席位组编号 DT:I +FID_XJDM = 1393 # 现金代码(ETF) DT:C +FID_RGDM = 1394 # 认购代码(ETF) DT:C +FID_RGQRDM = 1395 # 认购确认代码 DT:C +FID_XWZMC = 1396 # 席位组名称 DT:C +FID_RIGH = 1397 # 坐席用户权限 DT:C +FID_MGSY = 1398 # 每股收益 DT:C +FID_SHDM = 1399 # 上海市场股票代码(配售) DT:C +FID_SZDM = 1400 # 深圳市场股票代码(配售) DT:C +FID_GSHY = 1401 # 上市公司行业 DT:C +FID_GSMC = 1402 # 上市公司名称 DT:C +FID_FXZL = 1403 # 发行总量 DT:C +FID_FILEWRITETIME = 1404 # 文件修改时间 DT:C +FID_DHXL = 1405 # 单户申购限量 DT:C +FID_BLFM = 1406 # 比例分母 DT:配股、送股等 DT:C +FID_BLFZ = 1407 # 比例分子 DT:配股、送股等 DT:C +FID_ZQL = 1408 # 中签率 DT:C +FID_SSGJ = 1409 # 上市估价 DT:C +FID_FXRQ = 1410 # 发行日期 DT:C +FID_ZQYHRQ = 1411 # 中签摇号日期 DT:C +FID_CQRQ = 1412 # 除权日期 DT:C +FID_JKQSRQ = 1413 # 缴款起始日期 DT:C +FID_JKJSRQ = 1414 # 缴款结束日期 DT:C +FID_TSXX = 1415 # 特别提示信息 DT:C +FID_ZGB = 1416 # 上市公司总股本 DT:C +FID_MGGJJ = 1417 # 每股资本公积金 DT:R +FID_MGWFPLR = 1418 # 每股未分配利润 DT:R +FID_CLMC = 1419 # 佣金定价策略名称 DT:C +FID_EN_FLLB = 1420 # 费率类别范围 DT:C +FID_GHFZKL = 1421 # 过户费折扣率 DT:R +FID_LJJS = 1422 # 累计计数 DT:I +FID_LJZQ = 1423 # 累计周期 DT:I +FID_ZCJSFS = 1424 # 资产计算方式 DT:I +FID_ZSYJL = 1425 # 折算佣金率 DT:I +FID_JYLFDBH = 1426 # 交易量分段编号 DT:I +FID_ZCFDBH = 1427 # 资产分段编号 DT:I +FID_JYLXX = 1428 # 交易量下限 DT:R +FID_JYLSX = 1429 # 交易量上限 DT:R +FID_GHJE = 1430 # 归还金额 DT:R +FID_FZYWDM = 1431 # 复制业务代码 DT:C +FID_LOGIN_ENABLE = 1432 # 登录允许状态 DT:I DT:0 禁止;1 允许 +FID_ZQJY_ENABLE = 1433 # 证券交易允许状态 DT:I DT:0 禁止;1 允许 +FID_ZJYW_ENABLE = 1434 # 资金业务允许状态 DT:I DT:0 禁止;1 允许 +FID_LSCXYW_ENABLE = 1435 # 历史查询业务状态 DT:I DT:0 禁止;1 允许 +FID_OFS_ENABLE = 1436 # 开放式基金允许状态 DT:I DT:0 禁止;1 允许 +FID_KHYW_ENABLE = 1437 # 客户业务允许状态 DT:I DT:0 禁止;1 允许 +FID_SFYG = 1438 # 是否内部员工 DT:I +FID_XZYS = 1439 # 限制月数 DT:I +FID_FUNCID = 1440 # 函数功能号 DT:I +FID_CXJE = 1441 # 撤销金额 DT:R +FID_ZJLY = 1442 # 资金来源 DT:C DT:银行、交易所... +FID_WTSF = 1443 # 委托收费金额 DT:R +FID_CDSF = 1444 # 撤单收费金额 DT:R +FID_XYSYBZ = 1445 # 信用使用标志 DT:I +FID_LSCLMS = 1446 # 冲销资金业务原流水处理模式 DT:I DT:0 保留,1 删除原流水 +FID_JLLSBZ = 1447 # 是否记录流水标志 DT:I DT:0 默认 +FID_TZMS = 1448 # 调整模式 DT:I DT:0 直接调整,1 累加 +FID_DOMAIN1 = 1449 # 查询域 DT:C DT:全体查询当前数据所在的域 +FID_REGLOG = 1450 # 是否记录日志 DT:I DT:0 记录,1 不记录 +FID_SLTSFS = 1451 # 数量提示方式 DT:C +FID_OWNER_KH = 1452 # 允许拥有客户 DT:I +FID_OWNER_JJR = 1453 # 允许拥有经纪人 DT:I +FID_KZFS_KHQX = 1454 # 客户权限控制方式 DT:I +FID_KZFS_YHQX = 1455 # 用户权限控制方式 DT:I +FID_KZFS_CSQX = 1456 # 参数权限控制方式 DT:I +FID_KZFS_KHFL = 1457 # 客户分类控制方式 DT:I +FID_YXRQ = 1458 # 有效日期 DT:I +FID_WJLX = 1459 # 文件类型 DT:I +FID_WJLJ = 1460 # 文件路径 DT:C +FID_SYFW = 1461 # 适用范围 DT:I +FID_ZJDZ = 1462 # 证件上的地址 DT:C +FID_FXJB = 1463 # 风险级别 DT:I +FID_SQCZRH = 1464 # 授权操作人编号 DT:C +FID_ZHGLJG = 1465 # 帐户管理机构 DT:C +FID_ZJDZ_FRDB = 1466 # 法人代表的证件地址 DT:C +FID_XM_JBR = 1467 # 机构经办人姓名 DT:C +FID_ZJLB_JBR = 1468 # 机构经办人证件类别 DT:I +FID_ZJBH_JBR = 1469 # 机构经办人证件编号 DT:C +FID_ZCFZ = 1470 # 资产分组 DT:C +FID_EN_ZCFZ = 1471 # 资产分组范围 DT:C +FID_XJYE = 1472 # 现金余额 DT:R +FID_RZRQ = 1473 # 入帐日期 DT:I +FID_TXXS = 1474 # 是否显示图像 DT:I +FID_CDWZID_NEW = 1475 # 新菜单位置代码 DT:I +FID_KZYWDM = 1476 # 扩展业务代码 DT:C +FID_KZYWMC = 1477 # 扩展业务名称 DT:C +FID_KZYWSM = 1478 # 扩展业务说明 DT:C +FID_KZYWZT = 1479 # 扩展业务状态 DT:I +FID_ZZXY = 1480 # 自助协议 DT:C +FID_NZZCJE = 1481 # 内转转出金额 DT:R +FID_NZZRJE = 1482 # 内转转入金额 DT:R +FID_QTCKJE = 1483 # 其它存款金额 DT:R +FID_QTQKJE = 1484 # 其它取款金额 DT:R +FID_ZPCKJE = 1485 # 支票存款金额 DT:R +FID_ZPQKJE = 1486 # 支票取款金额 DT:R +FID_ZZZCJE = 1487 # 银证转帐转出金额 DT:R +FID_ZZZRJE = 1488 # 银证转帐转入金额 DT:R +FID_HCJE = 1489 # 红冲金额 DT:R +FID_LBJE = 1490 # 兰补金额 DT:R +FID_TJZQ = 1491 # 统计周期 DT:I DT:0 按天;1 按月;2 按年 +FID_TJDW = 1492 # 统计单位 DT:C +FID_TGZRHS = 1493 # 转托管转入户数 DT:I +FID_TGZCHS = 1494 # 转托管转出户数 DT:I +FID_TGZRSZ = 1495 # 转托管转入市值 DT:R +FID_TGZCSZ = 1496 # 转托管转出市值 DT:R +FID_ZDZRSZ = 1497 # 指定转入市值 DT:R +FID_CZZCSZ = 1498 # 撤指转出市值 DT:R +FID_JGLBMC = 1499 # 机构类别名称 DT:C +FID_FXLB = 1500 # 发行类别 DT:I +FID_FXRDM = 1501 # 发行人代码 DT:C +FID_QZDM = 1502 # 权证代码 DT:C +FID_QZLX = 1503 # 权证类型 DT:I +FID_XQBL = 1504 # 行权比例 DT:R +FID_FILEDATA = 1505 # 文件数据 DT:C +FID_FILEZIP = 1506 # 文件是否压缩传送(由服务端决定) DT:C +FID_FILECOMPANYNAME = 1507 # 文件的公司名称 DT:C +FID_FILEPRODUCTNAME = 1508 # 文件的相关产品名称 DT:C +FID_FILEDIR = 1509 # 文件所存放目录 DT:C +FID_FILENEW = 1510 # 是新文件,强制用户更新 DT:C +FID_FILERELATION = 1511 # 上传数据块与已存在的文件的关系 DT:C +FID_FILEPOSITION = 1512 # 文件中相对于文件头的偏移 DT:C +FID_FILETYPE = 1513 # 文件的业务类型 DT:C +FID_XQDM = 1514 # 行权代码 DT:C +FID_XQFS = 1515 # 行权方式 DT:I +FID_XQJG = 1516 # 行权价格 DT:R +FID_ZCLB = 1517 # 资产类别 DT:I +FID_DBXS = 1518 # 担保系数 DT:R +FID_SJZD = 1519 # 数据字典 DT:C +FID_SRKJLX = 1520 # 输入控件类型 DT:I +FID_DZFS = 1521 # 客户对帐单寄送方式 DT:I +FID_CXSL = 1522 # 撤销数量 DT:I +FID_BLSFUNC = 1523 # 对应的BLS功能码 DT:I +FID_QSFY = 1524 # 清算费用 DT:R +FID_RGRQ = 1525 # 认购日期 DT:I +FID_JGRQ = 1526 # 交割日期 DT:I +FID_JYSCPFL = 1527 # 交易所产品分类 DT:C +FID_JYSCPZL = 1528 # 交易所产品子类 DT:C +FID_DDLXXZ = 1529 # 订单类型限制 DT:C +FID_BSDDZXSL = 1530 # 冰山订单最小商量 DT:I +FID_BSDDZXPLSL = 1531 # 冰山订单最小披露数量 DT:I +FID_JYQX = 1532 # 交易权限 DT:I +FID_SBJB = 1533 # 申报级别 DT:I +FID_ZSXJ = 1534 # 止损限价 DT:R +FID_ISIN = 1535 # ISIN代码 DT:C +FID_DDYXRQ = 1536 # 订单有效日期 DT:I +FID_DDSXXZ = 1537 # 订单时效限制 DT:I +FID_DDJYXZ = 1538 # 订单交易限制 DT:I +FID_JYSDDBH = 1539 # 交易所订单编号 DT:C +FID_BRCJSL = 1540 # 本日成交数量 DT:I +FID_BRCJJE = 1541 # 本日成交金额 DT:R +FID_EN_SBJB = 1542 # 申报级别范围 DT:C +FID_DZXXBZ = 1543 # 多值信息标志 DT:I DT:0 单值,1 多值 +FID_DXLX = 1544 # 对象类型 DT:I +FID_EN_LOGINID = 1545 # 登录ID范围 DT:C +FID_EN_JSDM = 1546 # 角色代码 DT:C +FID_JYBWFL = 1547 # 交易备忘分类 DT:I +FID_QRSMJG = 1548 # 确认扫描间隔 DT:I +FID_HBSMJG = 1549 # 回报扫描间隔 DT:I +FID_NONTRADINGORDTYPE = 1550 # NGTS非交易订单类型 DT:C +FID_ORDTYPE = 1551 # NGTS接口订单类型 DT:C +FID_SIDE = 1552 # NGTS买卖方向 DT:C +FID_TIMEINFORCE = 1553 # NGTS时效限制 DT:C +FID_TRADINGSESSIO = 1554 # NGTS交易限制 DT:C +FID_XTCSBZ = 1555 # 系统测试标志 DT:I +FID_ZJJRBZ = 1556 # 主经纪人标志 DT:I +FID_PJZC = 1557 # 平均资产 DT:R +FID_KHMMSQ = 1558 # 客户密码授权 DT:I DT:客户是否将密码授权给其代理人 +FID_TJRQ = 1559 # 统计日期 DT:I +FID_BCDJSL = 1560 # 本地冻结数量 DT:I +FID_TQSL = 1561 # 透券数量 DT:I +FID_EN_SQLB = 1562 # 申请类别范围 DT:C +FID_RGJG = 1563 # 认购价格 DT:R +FID_RGSL = 1564 # 认购数量 DT:I +FID_CGLB = 1565 # 存管类别 DT:I +FID_CGZH = 1566 # 存管帐号 DT:C +FID_CGYHDM = 1567 # 存管银行代码 DT:C +FID_CGYHZH = 1568 # 存管银行帐户 DT:C +FID_CGCLJG = 1569 # 存管行处理结果 DT:I +FID_CGJGSM = 1570 # 存管行结果说明 DT:C +FID_CGCLRQ = 1571 # 存管行处理日期 DT:I +FID_CGCLSJ = 1572 # 存管行处理时间 DT:C +FID_CGWBCLJG = 1573 # 存管行外部处理结果 DT:C +FID_CXWBLSH = 1574 # 撤销外部流水号 DT:C +FID_YHYE = 1575 # 银行余额 DT:R DT:存管银行端资金管理帐户余额 +FID_ZBYH = 1576 # 存管主办银行 DT:I DT:0 协办行,1 主办行 +FID_CGJGDM = 1577 # 存管机构代码 DT:C DT:在银行端保存的营业部编码 +FID_MRSL6 = 1578 # 买入数量6 DT:I +FID_MRSL7 = 1579 # 买入数量7 DT:I +FID_MRSL8 = 1580 # 买入数量8 DT:I +FID_MRSL9 = 1581 # 买入数量9 DT:I +FID_MRSL10 = 1582 # 买入数量10 DT:I +FID_MCSL6 = 1583 # 卖出数量6 DT:I +FID_MCSL7 = 1584 # 卖出数量7 DT:I +FID_MCSL8 = 1585 # 卖出数量8 DT:I +FID_MCSL9 = 1586 # 卖出数量9 DT:I +FID_MCSL10 = 1587 # 卖出数量10 DT:I +FID_MRJG6 = 1588 # 买入价格6 DT:R +FID_MRJG7 = 1589 # 买入价格7 DT:R +FID_MRJG8 = 1590 # 买入价格8 DT:R +FID_MRJG9 = 1591 # 买入价格9 DT:R +FID_MRJG10 = 1592 # 买入价格10 DT:R +FID_MCJG6 = 1593 # 卖出价格6 DT:R +FID_MCJG7 = 1594 # 卖出价格7 DT:R +FID_MCJG8 = 1595 # 卖出价格8 DT:R +FID_MCJG9 = 1596 # 卖出价格9 DT:R +FID_MCJG10 = 1597 # 卖出价格10 DT:R +FID_PCDWBL = 1598 # 平仓到位比例 DT:R +FID_MRJG = 1599 # 买入价格 DT:R +FID_TOKEN = 1600 # 客户登录令牌 DT:C +FID_XYDJ = 1601 # 信用等级 DT:C +FID_CCSLXZ = 1602 # 持仓数量限制 DT:C +FID_YJBL = 1603 # 预警比例 DT:C +FID_PCBL = 1604 # 平仓比例 DT:C +FID_LTSL = 1605 # 流通数量 DT:C +FID_TABLENAME = 1606 # 表名 DT:C +FID_FIELDNAME = 1607 # 字段名 DT:C +FID_JDBZ = 1608 # 借贷标志 DT:C +FID_HYZ = 1609 # 合约状态 DT:C +FID_HYB = 1610 # 合约标题 DT:C +FID_JKHH = 1611 # 借方客户号 DT:C +FID_DKHH = 1612 # 贷方客户号 DT:C +FID_JYYB = 1613 # 借方营业部 DT:C +FID_DYYB = 1614 # 贷方营业部 DT:C +FID_ZCKZDX = 1615 # 资产控制底线 DT:C +FID_HYH = 1616 # 合约号 DT:C +FID_HYJE = 1617 # 合约金额 DT:C +FID_ZJZHBH = 1618 # 资金账户编号 DT:C +FID_RZLV = 1619 # 融资利率 DT:C +FID_JQRQ = 1620 # 结清日期 DT:C +FID_ZHYH = 1621 # 子合约号 DT:C +FID_JZJZH = 1622 # 借方资金账号 DT:C +FID_DZJZH = 1623 # 贷方资金账号 DT:C +FID_JZJYYB = 1624 # 借方资金营业部 DT:C +FID_DZJYYB = 1625 # 贷方资金营业部 DT:C +FID_EN_JYYB = 1626 # 借方营业部 DT:C +FID_EN_DYYB = 1627 # 贷方营业部 DT:C +FID_EN_JZJYYB = 1628 # 借方资金营业部 DT:C +FID_EN_DZJYYB = 1629 # 贷方资金营业部 DT:C +FID_DJGY = 1630 # 登记柜员 DT:C +FID_SHGY = 1631 # 审核柜员 DT:C +FID_JKHXM = 1632 # 借方客户姓名 DT:C +FID_DKHXM = 1633 # 贷方客户姓名 DT:C +FID_EN_BH = 1634 # 资金编号 DT:C +FID_EN_ZBH = 1635 # 资金子编号 DT:C +FID_ZHDYCS = 1636 # 帐户抵押次数 DT:I +FID_ZBH = 1637 # 资金子编号 DT:C +FID_ZHMC = 1638 # 帐户名称 DT:C +FID_JZHYE = 1639 # 借方帐户余额 DT:C +FID_DZHYE = 1640 # 贷方帐户余额 DT:C +FID_JZXSZ = 1641 # 借方最新市值 DT:C +FID_DZXSZ = 1642 # 贷方最新市值 DT:C +FID_JZCZZ = 1643 # 借方资产总值 DT:C +FID_DZCZZ = 1644 # 贷方资产总值 DT:C +FID_SHTG = 1645 # 审核是否通过 DT:C +FID_JQHYJE = 1646 # 已结清合约金额 DT:C +FID_EN_KHYYB = 1647 # 客户营业部 DT:C +FID_EN_ZJYYB = 1648 # 资金营业部 DT:C +FID_SRYE2 = 1649 # 上日余额2 DT:C +FID_ZHYE2 = 1650 # 帐户余额2 DT:C +FID_ZPJE2 = 1651 # 支票金额2 DT:C +FID_DJJE2 = 1652 # 冻结金额2 DT:C +FID_YCDJJE2 = 1653 # 异常冻结金额2 DT:C +FID_ZJCQDJ2 = 1654 # 资金长期冻结2 DT:C +FID_WJSJE2 = 1655 # 未交收金额2 DT:C +FID_KYZJ2 = 1656 # 可用资金2 DT:C +FID_KQZJ2 = 1657 # 可取资金2 DT:C +FID_XJZC2 = 1658 # 现金资产2 DT:C +FID_GPSZ2 = 1659 # 股票市值2 DT:C +FID_LX2 = 1660 # 预计利息2 DT:C +FID_LXS2 = 1661 # 预计利息税2 DT:C +FID_TZLX2 = 1662 # 透支利息2 DT:C +FID_RZJE2 = 1663 # 融资金额2 DT:C +FID_QSJE_B2 = 1664 # 回报买清算资金2 DT:C +FID_QSJE_S2 = 1665 # 回报卖清算资金2 DT:C +FID_DRCKJE2 = 1666 # 当日帐户存款金额2 DT:C +FID_TZCKJE2 = 1667 # 当日通知存款金额2 DT:C +FID_HAVE_ZCXX = 1668 # 是否查询资产信息 DT:C +FID_HAVE_JKCS = 1669 # 是否查询融资监控参数 DT:C +FID_XZDJ = 1670 # 限制等级 DT:C +FID_CCBLXZ = 1671 # 持仓比例限制 DT:C +FID_ZHYJE = 1672 # 总合约金额 DT:C +FID_RZJEBL = 1673 # 融资金额比例 DT:C +FID_RZBLSX = 1674 # 融资金额比例限制 DT:C +FID_SHQD = 1675 # 业务审核起点 DT:R +FID_YWDM = 1676 # 业务代码 DT:C +FID_SHFS = 1677 # 审核方式 DT:I +FID_SHJS = 1678 # 审核级数 DT:I +FID_LCMC = 1679 # 流程名称 DT:C +FID_SHJB = 1680 # 审核级别 DT:I +FID_LGFH = 1681 # 临柜复核 DT:I +FID_HTSH = 1682 # 后台审核 DT:I +FID_LGFHJSDM = 1683 # 临柜复核角色代码 DT:C +FID_JKYWDM = 1684 # 接口业务代码 DT:C +FID_SFJYLX = 1685 # 身份校验类型 DT:I +FID_MBMC = 1686 # 模板名称 DT:C +FID_XSBQ = 1687 # 显示标签 DT:C +FID_FLLB = 1688 # 费率类别 DT:I +FID_GFBDFX = 1689 # 股份变动方向 DT:I +FID_GFJSTS = 1690 # 股份交收天数 DT:I +FID_JHJJKS = 1691 # 集合竞价开始时间 DT:C +FID_JHJJJS = 1692 # 集合竞价结束时间 DT:C +FID_JJJYBZ = 1693 # 净价交易标志 DT:I +FID_JSFBZ = 1694 # 经手费标志 DT:I +FID_JYZT = 1695 # 交易状态 DT:I +FID_JYKZ = 1696 # 交易控制 DT:I +FID_QSDZ = 1697 # 券商地址 DT:C +FID_SHSBBZ = 1698 # 上海申报标志 DT:C +FID_SZSBBZ = 1699 # 深圳申报标志 DT:C +FID_SZCDBZ = 1700 # 深圳撤单标志 DT:C +FID_SWKSSJ = 1701 # 上午开市时间 DT:C +FID_SWBSSJ = 1702 # 上午闭市时间 DT:C +FID_XWKSSJ = 1703 # 下午开市时间 DT:C +FID_XWBSSJ = 1704 # 下午闭市时间 DT:C +FID_SJXZ = 1705 # 时间限制 DT:I +FID_XJFS = 1706 # 限价方式 DT:I +FID_ZJBDFX = 1707 # 资金变动方向 DT:I +FID_ZJJSTS = 1708 # 资金交收天数 DT:I +FID_XGDM = 1709 # 相关代码 DT:C +FID_PCKZ = 1710 # 平仓控制 DT:C +FID_JSFS = 1711 # 结算方式 DT:C +FID_XWLX = 1712 # 席位类型 DT:C +FID_JGDW = 1713 # 价格单位 DT:C +FID_MCJG = 1714 # 卖出价格 DT:R +FID_KCDW = 1715 # 开仓单位 DT:C +FID_JYBM = 1716 # 交易编码 DT:C +FID_TZLB = 1717 # 投资类别 DT:C +FID_KPBZ = 1718 # 开平标志 DT:C +FID_RQJEBL = 1719 # 融券金额比例 DT:R +FID_BZJ = 1720 # 保证金 DT:C +FID_JYSBZJ = 1721 # 交易所保证金 DT:C +FID_JGSL = 1722 # 交割数量 DT:C +FID_LJZK = 1723 # 累计折扣 DT:C +FID_FXL = 1724 # 风险率 DT:C +FID_ZFXL = 1725 # 昨风险率 DT:C +FID_PCSL = 1726 # 平仓数量 DT:C +FID_PCYK = 1727 # 平仓盈亏 DT:C +FID_PCRQ = 1728 # 平仓日期 DT:C +FID_CCWTH = 1729 # 持仓委托号 DT:C +FID_GSDM = 1730 # 公司代码 DT:C +FID_SBJLH = 1731 # 申报记录号 DT:C +FID_ZKFY = 1732 # 折扣费用 DT:C +FID_FHJE = 1733 # 返还金额 DT:C +FID_CJJJ = 1734 # 成交均价 DT:C +FID_DJBZJ = 1735 # 冻结保证金 DT:C +FID_SBGY = 1736 # 申报柜员 DT:C +FID_BDJE = 1737 # 变动金额 DT:C +FID_BCDJ = 1738 # 本次冻结 DT:C +FID_BDSJ = 1739 # 变动时间 DT:C +FID_CCSL = 1740 # 持仓数量 DT:C +FID_BZJBL = 1741 # 保证金比例 DT:C +FID_DWBZJ = 1742 # 单位保证金 DT:C +FID_JYSBZJBL = 1743 # 交易所保证金比例 DT:C +FID_JYSDWBZJ = 1744 # 交易所单位保证金 DT:C +FID_LJFH = 1745 # 累计返还 DT:C +FID_BRSXF = 1746 # 本日手续费 DT:C +FID_BRPCYK = 1747 # 本日平仓盈亏 DT:C +FID_JYSBRSXF = 1748 # 交易所本日手续费 DT:C +FID_JYSCCXE = 1749 # 交易所持仓限额 DT:C +FID_KHCCXE = 1750 # 客户持仓限额 DT:C +FID_SQCZBZ = 1751 # 授权操作标志 DT:I +FID_JSLB = 1752 # 角色类别 DT:I +FID_QXLB = 1753 # 用户权限类别 DT:I +FID_SHBZ = 1754 # 审核标志 DT:I +FID_AZRQ = 1755 # 安装日期 DT:I +FID_CPDM = 1756 # 产品代码 DT:C +FID_CPMC = 1757 # 产品名称 DT:C +FID_DFRQ = 1758 # 兑付日期 DT:I +FID_XLH = 1759 # 序列号 DT:C +FID_YXXG = 1760 # 是否允许修改 DT:I +FID_ZJSQRQ = 1761 # 最近授权日期 DT:I +FID_CWJB = 1762 # 错误级别 DT:I +FID_JKLB = 1763 # 接口类别 DT:I +FID_JKCWDM = 1764 # 接口错误代码 DT:C +FID_CWLY = 1765 # 错误来源 DT:C +FID_KSKHH = 1766 # 开始客户号 DT:C +FID_JSKHH = 1767 # 结束客户号 DT:C +FID_KYKHH = 1768 # 可用客户号 DT:C +FID_SJKZFS = 1769 # 时间控制方式 DT:I +FID_CPXM = 1770 # 产品项目 DT:C +FID_SJXZ_SQCZR = 1771 # 授权操作人时间期限限制 DT:I +FID_TBTS_SQCZR = 1772 # 授权操作人特别提示 DT:C +FID_ZJBH_SQCZR = 1773 # 授权操作人证件编号 DT:C +FID_ZJLB_SQCZR = 1774 # 授权操作人证件类别 DT:I +FID_JFQSRQ = 1775 # 积分起始日期 DT:I +FID_JGBZ = 1776 # 机构帐户标志 DT:I +FID_KHJF = 1777 # 客户积分 DT:I +FID_KHKH = 1778 # 客户卡号 DT:C +FID_MOBILE = 1779 # 移动电话 DT:C +FID_TZZFL = 1780 # 投资者分类 DT:I +FID_YXZZDM = 1781 # 营销组织代码 DT:C +FID_ZDXM = 1782 # 帐单项目 DT:C +FID_ZDZQ = 1783 # 帐单周期 DT:I +FID_ZJDLRQ = 1784 # 最近登录日期 DT:I +FID_SXDM = 1785 # 附加属性代码 DT:C +FID_LQRQ = 1786 # 领取日期 DT:I +FID_JGXZ = 1787 # 机构性质 DT:I +FID_ZJLB_FRDB = 1788 # 证件类别(法人代表) DT:I +FID_ZJBH_FRDB = 1789 # 证件编号(法人代表) DT:C +FID_ZCSJ = 1790 # 注册时间 DT:I +FID_KHJLXM = 1791 # 客户经理姓名 DT:C +FID_BZ1 = 1792 # 币种1 DT:C +FID_BZ2 = 1793 # 币种2 DT:C +FID_MBBH = 1794 # 模板编号 DT:I +FID_TABLE = 1795 # 数据表 DT:C +FID_ACT = 1796 # 动作 DT:I +FID_XZLB = 1797 # 限制类别 DT:I +FID_KHQZFW1 = 1798 # 客户群组范围 DT:C +FID_SJYWKM = 1799 # 上级业务科目 DT:C +FID_LLLX = 1800 # 利率类型 DT:I +FID_RZJESX = 1801 # 融资金额上限 DT:R +FID_RQSLSX = 1802 # 融券数量上限 DT:I +FID_RZED = 1803 # 融资额度 DT:R +FID_RQED = 1804 # 融券额度 DT:R +FID_RZFDLL = 1805 # 融资浮动利率 DT:R +FID_RQFDLL = 1806 # 融券浮动利率 DT:R +FID_RZXYLL = 1807 # 融资信用利率 DT:R +FID_RQXYLL = 1808 # 融券信用利率 DT:R +FID_RQLL = 1809 # 融券利率 DT:R +FID_WYLB = 1810 # 违约类别 DT:I +FID_SQL = 1811 # DT:C +FID_FILENAME = 1812 # 文件名称 DT:C +FID_FILEVERSION = 1813 # 文件版本 DT:C +FID_ZJLB_GDH = 1814 # 股东证件类别 DT:I +FID_MEMHEAD = 1815 # DT:C +FID_MEMDATA = 1816 # DT:C +FID_MEMCOUNT = 1817 # DT:C +FID_MEMSIZE = 1818 # DT:C +FID_GQZH_ZR = 1819 # 转入股权帐号 DT:C +FID_PCCL = 1820 # 平仓策略 DT:I +FID_RZXYED = 1821 # 融资信用额度 DT:R +FID_RQXYED = 1822 # 融券信用额度 DT:R +FID_RQJE = 1823 # 融券金额 DT:R +FID_YQSL = 1824 # 余券数量 DT:I +FID_RZSL = 1825 # 融资数量 DT:I +FID_RQSL = 1826 # 融券数量 DT:I +FID_RZWTSL = 1827 # 融资委托数量 DT:I +FID_RQWTSL = 1828 # 融券委托数量 DT:I +FID_RZWTJE = 1829 # 融资委托金额 DT:R +FID_RQWTJE = 1830 # 融券委托金额 DT:R +FID_RZCJSL = 1831 # 融资成交数量 DT:I +FID_RQCJSL = 1832 # 融券成交数量 DT:I +FID_RZCJJE = 1833 # 融资成交金额 DT:R +FID_RQCJJE = 1834 # 融券成交金额 DT:R +FID_YQWTSL = 1835 # 余券委托数量 DT:I +FID_YQCJSL = 1836 # 余券成交数量 DT:I +FID_HQWTSL = 1837 # 还券委托数量 DT:I +FID_HQCJSL = 1838 # 还券成交数量 DT:I +FID_RZLLXX = 1839 # 融资利率下限 DT:R +FID_RQLLXX = 1840 # 融券利率下限 DT:R +FID_RZXYJS = 1841 # 融资占用利息基数 DT:R +FID_RQXYJS = 1842 # 融券占用利息基数 DT:R +FID_RZXYLX = 1843 # 融资占用利息 DT:R +FID_RQXYLX = 1844 # 融券占用利息 DT:R +FID_RZYJLX = 1845 # 融资预计利息 DT:R +FID_RQYJLX = 1846 # 融券预计利息 DT:R +FID_FZJE = 1847 # 负债金额 DT:R +FID_FZSL = 1848 # 负债数量 DT:I +FID_MARGIN_ENABLE = 1849 # 融资融券允许状态 DT:I +FID_KQBZ = 1850 # 开启标志 DT:I +FID_KSSJ1 = 1851 # 开始时间1 DT:C +FID_JSSJ1 = 1852 # 结束时间1 DT:C +FID_KSSJ2 = 1853 # 开始时间2 DT:C +FID_JSSJ2 = 1854 # 结束时间2 DT:C +FID_WXWTFBZ = 1855 # 无效委托标志 DT:I +FID_MFCXCS = 1856 # 免费查询次数 DT:I +FID_KYXYED = 1857 # 可用信用额度 DT:R +FID_XYED = 1858 # 信用额度 DT:R +FID_RZFY = 1859 # 融资费用 DT:R +FID_RQFY = 1860 # 融券费用 DT:R +FID_BDKYZJ = 1861 # 外部帐户本地可用资金 DT:R +FID_SHLX = 1862 # 税后利息 DT:R +FID_JCFL = 1863 # 基础分类 DT:I +FID_YSJYBZ = 1864 # 夜市交易标志 DT:I +FID_YSKSSJ = 1865 # 夜市开市时间 DT:C +FID_YSBSSJ = 1866 # 夜市闭市时间 DT:C +FID_JYSSXF = 1867 # 交易所手续费 DT:R +FID_YJL = 1868 # 佣金率 DT:R +FID_YJLXX = 1869 # 最低佣金率 DT:R +FID_SLXX = 1870 # 数量下限 DT:I +FID_XMDM = 1871 # 项目代码 DT:C +FID_DAID = 1872 # 档案ID DT:I +FID_INSINDEX = 1873 # 插入索引 DT:C +FID_MODINDEX = 1874 # 回写索引 DT:C +FID_LSHMC = 1875 # 流水号名称 DT:C +FID_TRANPORT = 1876 # 传输服务端口 DT:I +FID_DATABASE = 1877 # 数据库名 DT:C +FID_DUMPPATH = 1878 # DUMP文件路径 DT:C +FID_DUMPTYPE = 1879 # DUMP类型 0全备,1差备 DT:I +FID_DUMPNOTE = 1880 # DUMP描述名 DT:C +FID_UPDATEITEM = 1881 # UPDATE的字段名 DT:C +FID_IDENTITY = 1882 # 是否自增列 DT:I +FID_LOWPAR = 1883 # LARGE_INTEGER型的低位部分 DT:C +FID_HIGHPAR = 1884 # LARGE_INTEGER型的高位部分 DT:C +FID_CZYBH = 1885 # 操作员编号 DT:C +FID_KHDDH = 1886 # 开户点代号 DT:C +FID_QYLB = 1887 # 股东性质 DT:C +FID_TZRXM = 1888 # 投资人名称 DT:C +FID_TZRLB = 1889 # 投资人类别 DT:C +FID_JZJ = 1890 # 基准价类型 DT:I +FID_GDXM_OLD = 1891 # 原股东姓名/单位全称 DT:C +FID_QQLB = 1892 # 请求类别 DT:C +FID_GDJC = 1893 # 股东简称 DT:C +FID_GFXZ = 1894 # 股份性质 DT:C +FID_PGDM = 1895 # 配股代码 DT:C +FID_XJFSMC = 1896 # 限价方式名称 DT:C +FID_XJLB = 1897 # 限价类别 DT:I +FID_WTRQ = 1898 # 委托日期 DT:C +FID_DYBZ = 1899 # 打印标志 DT:C +FID_BZXX = 1900 # 备注信息 DT:C +FID_TZRMC = 1901 # 股东姓名/单位全称 DT:C +FID_ZJBH_OLD = 1902 # 原证件编号 DT:C +FID_TZRMC_OLD = 1903 # 原股东姓名/单位全称 DT:C +FID_SBBZ = 1904 # 申报标志 DT:C +FID_CLSM = 1905 # 处理说明 DT:C +FID_CXLB = 1906 # 查询类别 DT:C +FID_XWH = 1907 # 席位号 DT:C +FID_KHHY = 1908 # 开户会员 DT:C +FID_SXZ_OLD = 1909 # 原属性值 DT:C +FID_TZRJC = 1910 # 投资人简称 DT:C +FID_XB = 1911 # 性别 DT:C +FID_DMQZ = 1912 # 代码前缀 DT:C +FID_CSRQ = 1913 # 出生日期 DT:C +FID_MCQZ = 1914 # 名称前缀 DT:C +FID_FRLB = 1915 # 法人类别 DT:C +FID_HYDM = 1916 # 行业代码 DT:C +FID_JSHY = 1917 # 结算会员 DT:C +FID_SDSL_GR = 1918 # 个人所得税率 DT:R +FID_SDSL_JG = 1919 # 机构所得税率 DT:R +FID_SRGDH = 1920 # 受让方股东号 DT:C +FID_SRXWH = 1921 # 受让席位号 DT:C +FID_HBRQ = 1922 # 回报日期 DT:C +FID_YWLX = 1923 # 业务类型 DT:C +FID_WWMC = 1924 # 外文名称 DT:C +FID_TJSL = 1925 # 统计数量 DT:C +FID_SFJE = 1926 # 收费金额 DT:C +FID_DJGSSF = 1927 # 登记公司收费 DT:C +FID_DLJGSF = 1928 # 代理机构收费 DT:C +FID_SRZJBH = 1929 # 受让股东证件编号 DT:C +FID_SRGDXM = 1930 # 受让股东姓名 DT:C +FID_SRDZ = 1931 # 受让方通讯地址 DT:C +FID_SRDH = 1932 # 受让方电话号码 DT:C +FID_SRYZBM = 1933 # 受让方邮政编码 DT:C +FID_SRGFXZ = 1934 # 受让股份性质 DT:C +FID_DFXW = 1935 # 对方席位号 DT:C +FID_DFGDH = 1936 # 对方股东号 DT:C +FID_DFXZ = 1937 # 对方性质 DT:C +FID_QRBZ = 1938 # 确认标志 DT:C +FID_QQSL = 1939 # 确权数量 DT:I +FID_ZBQS = 1940 # 主办券商代码 DT:C +FID_GHSL = 1941 # 过户数量 DT:I +FID_DBQS = 1942 # 代码券商代码 DT:C +FID_GFXZSM = 1943 # 股份性质说明 DT:C +FID_QSLB = 1944 # 券商类别 DT:I +FID_QQSF_GR = 1945 # 个人确权收费 DT:C +FID_QQSF_JG = 1946 # 机构确权收费 DT:C +FID_QYZL = 1947 # 权益总量 DT:I +FID_ZBQSMC = 1948 # 主办券商名称 DT:C +FID_DYZQDM = 1949 # 抵押证券代码 DT:C +FID_GHTS = 1950 # 购回天数 DT:I +FID_JXTS = 1951 # 记息天数 DT:I +FID_CLEARFEE = 1952 # 结算费率 DT:R +FID_FXJJFL = 1953 # 风险基金费率 DT:R +FID_ZGFL = 1954 # 证管费率 DT:R +FID_QTFLXX = 1955 # 其它费用下限 DT:R +FID_QTFLSX = 1956 # 其它费用上限 DT:R +FID_CJJEQD = 1957 # 成交金额起点 DT:R +FID_SFQD = 1958 # 收费起点 DT:R +FID_FJYRBS = 1959 # 非交易日标识 DT:I +FID_YEAR = 1960 # 年份 DT:C +FID_MBLB = 1961 # 模板类别 DT:I +FID_ZJDS = 1962 # 资金底数 DT:R +FID_ZCDS = 1963 # 资产底数 DT:R +FID_DJYHZHS = 1964 # 单户允许登记的银行帐户数 DT:I +FID_FJXYXX = 1965 # 附加校验信息 DT:C +FID_FJYRZZBZ = 1966 # 非交易日是否允许转帐 DT:I +FID_PGJG = 1967 # 配股价格 DT:R +FID_GSKYE = 1968 # 公司卡余额 DT:R +FID_JCGSKYE = 1969 # 是否检查公司卡余额 DT:I +FID_LXCZCS = 1970 # 连续冲正次数 DT:I +FID_QDSJ = 1971 # 签到时间 DT:C +FID_QYZZBS = 1972 # 是否启用转帐标识 DT:I +FID_ZJQDRQ = 1973 # 最近签到日期 DT:I +FID_KSWTH = 1974 # 开始委托号 DT:C +FID_JSWTH = 1975 # 结束委托号 DT:C +FID_KYWTH = 1976 # 可用委托号 DT:C +FID_SQXQ = 1977 # 申请详情 DT:T +FID_SHZT = 1978 # 审核状态 DT:I +FID_SQGY = 1979 # 申请柜员 DT:C +FID_SQRQ = 1980 # 申请日期 DT:I +FID_SQSJ = 1981 # 申请时间 DT:C +FID_HKQX = 1982 # 还款期限(天) DT:I +FID_MXTS = 1983 # 免息天数 DT:I +FID_YWSQH = 1984 # 业务申请号 DT:I +FID_SHRQ = 1985 # 审核日期 DT:I +FID_SHSJ = 1986 # 审核时间 DT:C +FID_YMBBH = 1987 # 原模板编号 DT:I +FID_XSXH = 1988 # 显示序号 DT:I +FID_MMTB = 1989 # 密码同步标志 DT:I +FID_EN_GYDM = 1990 # 允许柜员代码范围 DT:C +FID_KHYYB = 1991 # 客户所属营业部 DT:C +FID_NEWJJR = 1992 # 新经纪人 DT:C +FID_ZPKZBZ = 1993 # 支票余额控制标志 DT:I +FID_DRCKKZ = 1994 # 当日存款金额控制标志 DT:I +FID_XML = 1995 # XML域 DT:C +FID_QYDM = 1996 # 权益代码 DT:C +FID_QYSL = 1997 # 权益数量 DT:I +FID_QYJE = 1998 # 权益金额 DT:R +FID_JYRBS = 1999 # 交易日标识 DT:I +FID_TIME_INIT = 2000 # 初始化时间 DT:C DT:YYYYMMDD HH:MM:SS +FID_TIME_CLOSE = 2001 # 收盘时间 DT:C DT:YYYYMMDD HH:MM:SS +FID_GQDJLSH = 2002 # 股权冻结流水号 DT:I +FID_LDSMJG = 2003 # 漏单扫描间隔 DT:I +FID_XCXZBS = 2004 # 写出限制笔数 DT:I +FID_EN_WTLB = 2005 # 委托类别范围 DT:C +FID_FXJ = 2006 # 发行价 DT:R +FID_GQDM = 2007 # 股权代码 DT:C +FID_GQLB = 2008 # 股权类别 DT:C +FID_GQLBMC = 2009 # 股权类别名称 DT:C +FID_GQMC = 2010 # 股权名称 DT:C +FID_GQSL = 2011 # 股权数量 DT:I +FID_GQZH = 2012 # 股权帐号 DT:C +FID_JMC_ZDCGSL = 2013 # 净卖出最低持股数量 DT:I +FID_KSGQZH = 2014 # 开始股权帐号 DT:C +FID_KYGQZH = 2015 # 可用股权帐号 DT:C +FID_KZSX = 2016 # 控制属性 DT:I +FID_SDLX = 2017 # 时段类型 DT:I +FID_ROWNUM = 2018 # 记录行号 DT:I +FID_ZDCGSL = 2019 # 最低持股数量 DT:I +FID_ZSBJFD = 2020 # 做市期间报价幅度 DT:R +FID_ZSQBJFD = 2021 # 做市前报价幅度 DT:R +FID_EN_GQDM = 2022 # 股权代码范围 DT:C +FID_EN_GQLB = 2023 # 股权类别范围 DT:C +FID_GZMZ = 2024 # 面值 DT:R +FID_FXDS = 2025 # 发行底数 DT:R +FID_MRED = 2026 # 买入额度 DT:R +FID_MCED = 2027 # 卖出额度 DT:R +FID_PXCS = 2028 # 派息次数 DT:I +FID_URL = 2029 # 网址 DT:C +FID_ZSR = 2030 # 报告期总收入 DT:R +FID_ZLR = 2031 # 报告期总利润 DT:R +FID_JLR = 2032 # 报告期净利润 DT:R +FID_MGFH = 2033 # 每股分红 DT:R +FID_FHHJZC = 2034 # 分红后净资产 DT:R +FID_MGJZC = 2035 # 每股净资产 DT:R +FID_PAY = 2036 # 年薪 DT:R +FID_DZ_OFFICE = 2037 # 办公地址 DT:C +FID_ZZJGDM = 2038 # 组织机构代码 DT:C +FID_SFJE_GR = 2039 # 个人收费金额 DT:R +FID_SFJE_JG = 2040 # 机构收费金额 DT:R +FID_KHH_YJ = 2041 # 一级客户号 DT:C +FID_GQZH_YJ = 2042 # 一级股权帐号 DT:C +FID_SXF_ZR = 2043 # 转入手续费 DT:R +FID_ZDHBSL = 2044 # 最低合并数量 DT:最低子基金申报合并数量 +FID_ZDCFSL = 2045 # 最低拆分数量 DT:最低主基金申报拆分数量 +FID_RZSYLLFD = 2046 # 融资使用利率浮动 DT:R +FID_RQSYLLFD = 2047 # 融券使用利率浮动 DT:R +FID_RZEDLLFD = 2048 # 融资额度利率浮动 +FID_RQEDLLFD = 2049 # 融券额度利率浮动 +FID_ZDCXRQ = 2050 # 自动撤销日期 DT:I +FID_WEEK = 2051 # 星期 DT:I +FID_MILLISECOND = 2052 # 毫秒 DT:I +FID_GDSL = 2053 # 股东数量 DT:I +FID_CCSLXZ_JG = 2054 # 机构持仓数量限制 DT:I +FID_CCSLXZ_ZG = 2055 # 内部职工持仓数量限制 DT:I +FID_JYJS_GR_ZGG = 2056 # 个人资格股交易基数 DT:I +FID_JYJS_GR_TZG = 2057 # 个人投资股交易基数 DT:I +FID_JYJS_JG_ZGG = 2058 # 机构资格股交易基数 DT:I +FID_JYJS_JG_TZG = 2059 # 机构投资股交易基数 DT:I +FID_ZGBZ = 2060 # 内部职工标志 DT:I +FID_QYDJRQ = 2061 # 权益登记日期 DT:I +FID_KHH_ZQR = 2062 # 质权人客户号 DT:C +FID_GQZH_ZQR = 2063 # 质权人股权帐号 DT:C +FID_SXF_ZQR = 2064 # 质权人手续费 DT:R +FID_GFXZ_YJ = 2065 # 一级代持股份性质 DT:I +FID_RZXYED_OLD = 2067 # 原融资信用额度 DT:R +FID_RQXYED_OLD = 2068 # 原融券信用额度 DT:R +FID_EN_JGDM = 2069 # 允许操作的机构代码范围 DT:C +FID_EX_JGDM = 2070 # 禁止操作的机构代码范围 DT:C +FID_NODEID = 2071 # 交易节点编码 DT:I +FID_NODENAME = 2072 # 交易节点名称 DT:C +FID_SEAT_SH = 2073 # 上海席位 DT:C +FID_SEAT_SZ = 2074 # 深圳席位 DT:C +FID_ADDR_IP = 2075 # IP地址 DT:C +FID_ADDR_MAC = 2076 # MAC地址 DT:C +FID_OID = 2077 # 内部记录OID号 DT:I64 +FID_LOG_POS = 2078 # 系统日志文件位置 DT:I +FID_INDEX = 2079 # 索引号 DT:I +FID_KSSBWTH = 2080 # 起始申报委托号 DT:I +FID_DZJGSX = 2081 # 大宗交易价格上限 DT:R +FID_DZJGXX = 2082 # 大宗交易价格下限 DT:R +FID_ZCJSL = 2083 # 总成交数量 DT:I +FID_DBWSXED = 2084 # 担保物授信额度 DT:R +FID_T2DJJE = 2085 # T+2冻结金额 DT:R +FID_T2KYZJ = 2086 # T+2可用资金 DT:R +FID_QTZGCCSX = 2090 # 全体职工持仓上限 DT:C +FID_QTJGCCXX = 2091 # 全体机构持仓下限 DT:C +FID_OFSS_JZ = 2100 # 开放式基金净值 DT:R +FID_WJBM = 2201 # 问卷编码 DT:C +FID_WJMC = 2202 # 问卷名称 DT:C +FID_WJHM = 2203 # 问卷号码 DT:C +FID_TMHM = 2204 # 题目号码 DT:C +FID_TMLX = 2205 # 题目类型 DT:C +FID_TMMS = 2206 # 题目描述 DT:C +FID_TMDA = 2207 # 题目答案 DT:C +FID_SCORE = 2208 # 得分 DT:C +FID_ZJYXQ = 2209 # 证件有效期 DT:C +FID_ZJDZYB = 2210 # 证件地址邮编 DT:C +FID_ZJFZJG = 2211 # 证件发证机关 DT:C +FID_EDZ = 2212 # 二代证校验 DT:I +FID_YYZZNJRQ = 2213 # 营业执照年检日期 DT:C +FID_JTDZ = 2214 # 家庭地址 DT:C +FID_JTYB = 2215 # 家庭邮编 DT:C +FID_QTDH = 2216 # 其他电话 DT:C +FID_QQ = 2217 # QQ DT:C +FID_FXQHYLB = 2218 # 反洗钱行业类别 DT:I +FID_XQFXDJ = 2219 # 洗钱风险等级 DT:I +FID_FXQSZRQ = 2220 # 反洗钱设置日期 DT:C +FID_HYZK = 2221 # 婚姻状况 DT:C +FID_JG = 2222 # 籍贯 DT:C +FID_MZDM = 2223 # 民族代码 DT:I +FID_GZDW = 2224 # 工作单位 DT:C +FID_GZDWDZ = 2225 # 工作单位地址 DT:C +FID_GZDWYB = 2226 # 工作单位邮编 DT:C +FID_GZDWZW = 2227 # 工作单位职务 DT:C +FID_GZDWDH = 2228 # 工作单位电话 DT:C +FID_FXCSNL = 2229 # 风险承受能力 DT:I +FID_FXPGRQ = 2230 # 风险评估日期 DT:C +FID_JJFXCSNL = 2231 # 基金风险承受能力 DT:I +FID_JJFXPGRQ = 2232 # 基金风险评估日期 DT:C +FID_GPFXCSNL = 2233 # 股票风险承受能力 DT:I +FID_GPFXPGRQ = 2234 # 股票风险评估日期 DT:C +FID_XYFXCSNL = 2235 # 信用风险承受能力 DT:I +FID_XYFXPGRQ = 2236 # 信用风险评估日期 DT:C +FID_KHKZT = 2237 # 客户卡状态 DT:I +FID_TBSM = 2238 # 特别说明 DT:C +FID_ZZSHZT = 2239 # 资质审核状态 DT:I +FID_GSDH = 2240 # 公司电话 DT:C +FID_ZCRQ = 2241 # 注册日期 DT:C +FID_LTGB = 2242 # 上市公司流通股本 DT:R +FID_ZZJGDMYXQ = 2243 # 组织机构代码证有效期 DT:C +FID_ZZJGDMFZJG = 2244 # 组织机构代码证发证机关 DT:C +FID_ZZJGDMNJRQ = 2245 # 组织机构代码证年检日期 DT:C +FID_SWDJZ = 2246 # 税务登记证 DT:C +FID_SWDJZYXQ = 2247 # 税务登记证有效期 DT:C +FID_SWDJZFZJG = 2248 # 税务登记证发证机关 DT:C +FID_SWDJZNJRQ = 2249 # 税务登记证年检日期 DT:C +FID_ZJYXQ_FRDB = 2250 # 证件有效期(法人代表) DT:C +FID_ZJYXQ_JBR = 2251 # 机构经办人证件有效期 DT:C +FID_DH_JBR = 2252 # 机构经办人电话 DT:C +FID_MOBILE_JBR = 2253 # 机构经办人移动电话 DT:C +FID_XB_JBR = 2254 # 机构经办人性别 DT:C +FID_FWMM = 2255 # 服务密码 DT:C +FID_HXKH = 2256 # 核新开户标志 DT:I +FID_GYSX = 2257 # 国有属性 DT:I +FID_SSSX = 2258 # 上市属性 DT:I +FID_ZBSX = 2259 # 资本属性 DT:I +FID_HGDM = 2300 # 回购代码 DT:C +FID_HGMC = 2301 # 回购名称 DT:C +FID_DQLL = 2302 # 到期利率 DT:R +FID_TQLL = 2303 # 提前终止利率 DT:R +FID_ZED = 2304 # 总额度 DT:I +FID_ZYED = 2305 # 占用额度 DT:I +FID_DEBS = 2306 # 大额标识 DT:I +FID_TQGHSX = 2307 # 提前购回上限 DT:I +FID_GXRQ = 2308 # 更新日期 DT:I +FID_GDFJQX = 2309 # 股东附加权限 DT:I +FID_ZDXY = 2310 # 自动续约 DT:I +FID_SX1 = 2311 # 扩展属性 DT:I +FID_SX2 = 2312 # 扩展属性2 DT:I +FID_HGED = 2313 # 回购额度 DT:I +FID_YYLB = 2314 # 预约类别 DT:I +FID_XYTS = 2315 # 续约天数 DT:I +FID_TQXZBL = 2316 # 提前限制比例 DT:R +FID_YYTQTS = 2317 # 预约提前天数 DT:I +FID_XZBL = 2318 # 限制比例 DT:R +FID_TQYYSX = 2319 # 提前预约的上限 DT:I +FID_JZSJ = 2320 # 截至时间 DT:C +FID_SYBDBL = 2321 # 收益率变动比例 DT:N +FID_TQYYDBQS = 2322 # 提前单笔起始 DT:I +FID_TQDBSX = 2323 # 提前单笔上限 DT:I +FID_CZRBM = 2502 # 出质人编码 DT:C +FID_CZRMC = 2503 # 出质人名称 DT:C +FID_ZQRBM = 2504 # 质权人编码 DT:C +FID_ZQRMC = 2505 # 质权人名称 DT:C +FID_ZYHYBH = 2506 # 质押合约编号 DT:C +FID_DKHYBH = 2507 # 贷款合约编号 DT:C +FID_DKJE = 2508 # 贷款金额 DT:C +FID_DKDQRQ = 2509 # 贷款到期日 DT:C +FID_HTDJRQ = 2510 # 合同登记日期 DT:C +FID_WTZT = 2514 # 委托状态 DT:C +FID_ZYZH = 2522 # 质押帐号 DT:C +FID_DJBH = 2523 # 登记编号 DT:C +FID_SBLSH = 2524 # 申报流水号 DT:C +FID_ZQMZ = 2525 # 证券面值 DT:R DT:为兼容,值为0时表示1.00 +FID_FU_HYQY = 2600 # 期货合约权益 DT:R +FID_ZCDJ = 2801 # 资产等级 DT:C +FID_GSKHLX = 2802 # 公司客户类型 DT:C +FID_KFYYB = 2803 # 开发营业部 DT:C +FID_ZJKSRQ = 2804 # 证件开始日期 DT:C +FID_GFXX = 2805 # 规范信息 DT:C +FID_FXYSXX = 2806 # 风险要素信息 DT:C +FID_CBLX = 2807 # 成本类型 DT:C +FID_LXFS = 2808 # 联系方式 DT:C +FID_LLPL = 2809 # 联络频率 DT:C +FID_ZSLX = 2810 # 证书类型 DT:C +FID_XYLX = 2811 # 协议类型 DT:C +FID_CPBZ = 2812 # 产品标志 DT:C +FID_XTID = 2813 # 业务系统ID DT:I +FID_ZJLB_LXR = 2814 # 联系人证件类别 DT:I +FID_ZJBH_LXR = 2815 # 联系人证件编号 DT:C +FID_ZJQSR_FRDB = 2816 # 法人证件起始日 DT:C +FID_DH_FRDB = 2817 # 法人电话 DT:C +FID_ZJQSR_JBR = 2818 # 经办人证件起始日 DT:C +FID_ZJQSR_LXR = 2819 # 联系人证件起始日 DT:C +FID_ZZJGDMQSR = 2820 # 组织机构代码起始日 DT:C +FID_ZMWJLX = 2821 # 证明文件类型 DT:C +FID_ZMWJBH = 2822 # 证明文件号码 DT:C +FID_ZMWJQSR = 2823 # 证明文件起始日 DT:C +FID_ZMWJYXQ = 2824 # 证明文件有效期 DT:C +FID_KGGD = 2825 # 控股股东 DT:C +FID_ZJLB_KGGD = 2826 # 控股股东证件类别 DT:I +FID_ZJBH_KGGD = 2827 # 控股股东证件编号 DT:C +FID_ZJQSR_KGGD = 2828 # 控股股东证件起始日 DT:C +FID_ZJYXQ_KGGD = 2829 # 控股股东证件有效期 DT:C +FID_FZR = 2830 # 负责人 DT:C +FID_ZJLB_FZR = 2831 # 负责人证件类别 DT:I +FID_ZJBH_FZR = 2832 # 负责人证件编号 DT:C +FID_ZJQSR_FZR = 2833 # 负责人证件起始日 DT:C +FID_ZJYXQ_FZR = 2834 # 负责人证件有效期 DT:C +FID_DH_FZR = 2835 # 负责人电话 DT:C +FID_SWDJZQSR = 2836 # 税务登记证起始日 DT:C +FID_JYZTSM = 2837 # 经营状态说明 DT:C +FID_SSDD = 2838 # 上市地点 DT:C +FID_YYBID = 2839 # 营业部ID DT:I +FID_CZMM = 3002 # 操作密码 DT:C +FID_TXMM = 3004 # 通信密码 DT:C +FID_GTKHLB = 3006 # 柜台客户组织类别 DT:C +FID_ROUTER = 3007 # 路由营业部名称 DT:C +FID_ENTRY = 3008 # 配置文件变量名 DT:C +FID_KHHQZ = 3009 # 客户号前缀 DT:C +FID_CHECKBOX = 3010 # CheckBox DT:C +FID_CZLB = 3011 # 操作类别 DT:C +FID_PUSH = 3021 # 推送标志 DT:C +FID_ZJBL = 3022 # 资金比率 DT:C +FID_HQZD = 3023 # 行情涨跌 DT:C +FID_ZDF = 3024 # 行情涨跌幅 DT:R +FID_HQZF = 3027 # 行情振幅 DT:C +FID_HSL = 3028 # 换手率 DT:R +FID_ICON = 3029 # 图标号 DT:C +FID_FZDM = 3030 # 客户号所属分组代码 DT:C +FID_FZMC = 3031 # 客户号所属分组名称 DT:C +FID_HFBH = 3032 # 回复编号 DT:C +FID_FSKHH = 3033 # 发送客户号 DT:C +FID_FSFJBZ = 3034 # 发送客户号附加标志 DT:C +FID_DFKHH = 3035 # 对方客户代码 DT:C +FID_STATE = 3036 # 在线状态 DT:C +FID_DLSJ = 3037 # 登录时间 DT:C +FID_QTSJ = 3038 # 签退时间 DT:C +FID_MLLB = 3040 # 目录类别 DT:C +FID_MLBM = 3041 # 目录编码 DT:C +FID_MLMC = 3042 # 目录名称 DT:C +FID_MLSM = 3043 # 目录说明 DT:C +FID_FORMAT = 3044 # 目录格式 DT:C +FID_DEFAULT = 3045 # 缺省值 DT:C +FID_DATA = 3046 # DT:C +FID_JLBZ = 3047 # 记录标志 DT:取值范围 DT:C +FID_MBSMS = 3050 # 对方手机号码 DT:C +FID_MBMAIL = 3051 # 对方邮件地址 DT:C +FID_LBMC = 3053 # 类别名称 DT:C +FID_CSLX = 3054 # 参数类型 DT:C +FID_XMMC = 3060 # 服务项目名称 DT:C +FID_FWXZ = 3061 # 服务项目限制 DT:C +FID_RECNO = 3062 # 结果记录号 DT:C +FID_YJB = 3063 # 邮件标题 DT:C +FID_CCMAIL = 3064 # 附送Mail地址 DT:C +FID_YJXM = 3065 # 预警项目 DT:C +FID_PRODUCT = 3071 # 产品名称 DT:C +FID_VERSION = 3072 # 产品版本号 DT:C +FID_COMPANY = 3073 # 公司名称 DT:C +FID_LWTIME = 3075 # 文件最近修改时间 DT:C +FID_PKLEN = 3076 # 文件数据包大小 DT:C +FID_PACKAGE = 3077 # 文件数据包 DT:C +FID_SUBDIR = 3078 # 文件子目录 DT:C +FID_ZHBZ = 3081 # 帐户标志 DT:C +FID_IBY = 3082 # 备用域... DT:C +FID_BYDZ1 = 3085 # 备用地址1 DT:C +FID_BYDZ2 = 3086 # 备用地址2 DT:C +FID_BYDZ3 = 3087 # 备用地址3 DT:C +FID_XH = 3090 # 序号 DT:C +FID_DXFDED = 3107 # 短信封顶额度 DT:C +FID_YJFDED = 3108 # 邮件封顶额度 DT:C +FID_DXFYBL = 3109 # 短信费用比率 DT:C +FID_YJFYBL = 3110 # 邮件费用比率 DT:C +FID_YXSJ = 3113 # 有效时间 DT:C +FID_LYLX = 3114 # 留言类型 DT:C +FID_KTZT = 3115 # 开通状态 DT:I +FID_YWSM = 3116 # 业务说明 DT:C +FID_WTFSDM = 3200 # 委托方式代码 DT:C +FID_PRIVATEKEY = 3202 # 私钥保护密码 DT:C +FID_DEVICENAME = 3800 # 物理设备名称 DT:C +FID_DATANAME = 3801 # 数据库名称 DT:C +FID_DATASIZE = 3802 # 数据库大小 DT:C +FID_DEVICESIZE = 3803 # 设备大小 DT:C +FID_YJBCDM = 3804 # 原件保存代码 DT:C +FID_MINIMAGESIZE = 3839 # 图像最小限制 DT:I +FID_MAXIMAGESIZE = 3840 # 图像最大限制 DT:I +FID_ALERTIMAGESIZE = 3841 # 图像最警告大小 DT:I +FID_QZYZFS = 3900 # 强制验证方式 DT:C +FID_KXYZFS = 3901 # 可选验证方式 DT:C +FID_YZFS_SQCZR = 3902 # 授权操作人验证方式 DT:C +FID_APPID = 4001 # 应用标识 DT:C +FID_BCJJSL = 4002 # 本次基金数量 DT:R +FID_BGFHFS = 4003 # 允许变更分红方式 DT:N +FID_BKKBZ = 4004 # 补扣款标志 DT:N +FID_BRBZS1 = 4005 # 本日标准佣金 DT:R +FID_BRCKJE = 4006 # 本日存款金额 DT:R +FID_BRCXZD = 4007 # 本日撤销指定 DT:N +FID_BRZDJY = 4008 # 本日指定交易 DT:N +FID_CBJ = 4009 # 成本价 DT:R +FID_CDYWLB = 4010 # 菜单业务类别 DT:N +FID_CFBL = 4011 # 拆分比例 DT:N +FID_CFBZ = 4012 # 重发标志 DT:N +FID_CFGDM = 4013 # 成份股代码 DT:C +FID_CFGSL = 4014 # 成份股数量 DT:N +FID_CJHBNO = 4015 # 成交回报记录 DT:C +FID_DFBZ = 4016 # 对方币种 DT:C +FID_DFDJSL = 4017 # 对方冻结数量 DT:R +FID_DFJGDM = 4018 # 对方机构代码 DT:C +FID_DFJSDM = 4019 # 对方角色代码 DT:C +FID_DFJSJG = 4020 # 对方结算机构 DT:C +FID_DFJSLX = 4021 # 对方结算类型 DT:N +FID_DFJSZH = 4022 # 对方结算账户 DT:C +FID_DFKHQZ = 4023 # 对方客户群组 DT:C +FID_DFLOGINID = 4024 # 对方用户 DT:C +FID_DFWJSSL = 4025 # 对方未交收数量 DT:R +FID_DFWZDM = 4026 # 对方位置代码 DT:N +FID_DFYHDM = 4027 # 对方银行代码 DT:C +FID_DFYHZH = 4028 # 对方银行账户 DT:C +FID_DFYWKM = 4029 # 对方业务科目 DT:C +FID_DFYZBM = 4030 # 对方邮编 DT:C +FID_DFZJBH = 4031 # 对方证件编号 DT:C +FID_DFZJLB = 4032 # 对方证件类别 DT:C +FID_DFZJZH = 4033 # 对方资金账户 DT:C +FID_DFZQDM = 4034 # 对方证券代码 DT:C +FID_DFZQSL = 4035 # 对方证券数量 DT:R +FID_DFZY = 4036 # 对方摘要 DT:C +FID_DJYE = 4037 # 冻结余额 DT:R +FID_DJYXRQ = 4038 # 冻结有效日期 DT:N +FID_DLCS = 4039 # 登录次数 DT:N +FID_DLKZFS = 4040 # 登录控制方式 DT:N +FID_DLSFBZ = 4041 # 登录收费标准 DT:R +FID_DLSFFW = 4042 # 登录身份范围 DT:C +FID_DLSFJE = 4043 # 登录收费金额 DT:R +FID_DLSFSX = 4044 # 登录收费上限 DT:R +FID_DZLXS = 4045 # 待转利息税 DT:R +FID_EDKZBZ = 4046 # 额度控制标志 DT:N +FID_EN_CJHBNO = 4047 # 成交记录位置范围 DT:C +FID_EN_FXDJ = 4048 # 风险等级范围 DT:C +FID_EN_GFXZ = 4049 # 股份性质范围 DT:C +FID_EN_JDBM = 4050 # 节点范围 DT:C +FID_EN_JJDM = 4051 # 基金代码范围 DT:C +FID_EN_JYQX = 4052 # 交易权限范围 DT:C +FID_EN_SFFS = 4053 # 收费方式范围 DT:C +FID_EN_WTFL = 4054 # 委托分类范围 DT:C +FID_EN_WTHQZ = 4055 # 委托号前缀范围 DT:C +FID_EN_YHDM = 4056 # 银行代码范围 DT:C +FID_EN_YWDM = 4057 # 业务代码范围 DT:C +FID_FHDM = 4058 # 返回代码 DT:C +FID_FHDWJE = 4059 # 单位分红 DT:R +FID_FILEID = 4060 # 文件编号 DT:C +FID_FJYRJYBZ = 4061 # 非交易日交易标志 DT:N +FID_FLSX = 4062 # 分类属性 DT:N +FID_FWFL = 4063 # 服务费率 DT:R +FID_FWFSX = 4064 # 服务费上限 DT:R +FID_FWFXX = 4065 # 服务费下限 DT:R +FID_FXBL = 4066 # 风险比例 DT:R +FID_FXPP = 4068 # 风险匹配 DT:N +FID_GRZDSCRGSG = 4069 # 个人最低首次认购申购 DT:R +FID_GRZDZJRGSG = 4070 # 个人最低追加认购申购 DT:R +FID_GRZGDTSH = 4071 # 个人最高当天赎回份额 DT:R +FID_HBJG = 4072 # 回报结果 DT:N +FID_HGBZ = 4073 # 回滚标志 DT:C +FID_HISTORY = 4074 # 历史数据允许查询标志 DT:N +FID_HLSYTS = 4075 # 红利顺延天数 DT:N +FID_HQCXCS = 4077 # 行情查询次数 DT:N +FID_HQMFCS = 4078 # 行情免费次数 DT:N +FID_HQSFBZ = 4079 # 行情收费标准 DT:R +FID_HQSFJE = 4080 # 行情收费金额 DT:R +FID_HS = 4081 # 户数 DT:N +FID_HZSJ = 4082 # 回转时间 DT:C +FID_INI = 4083 # 配置 DT:C +FID_JBQXLB = 4084 # 基本权限类别 DT:C +FID_JFSJ = 4086 # 计费时间 DT:N +FID_JGZDSCRGSG = 4087 # 机构最低首次认购申购 DT:R +FID_JGZDZJRGSG = 4088 # 机构最低追加认购申购 DT:R +FID_JGZGDTSH = 4089 # 机构最高当天赎回份额 DT:R +FID_JJCFZT = 4090 # 基金拆分状态 DT:N +FID_JJHBZT = 4091 # 基金合并状态 DT:N +FID_JJKHZT = 4092 # 基金开户状态 DT:N +FID_JJRGZT = 4093 # 基金认购状态 DT:N +FID_JJSGZT = 4094 # 基金申购状态 DT:N +FID_JJSHZT = 4095 # 基金赎回状态 DT:N +FID_JJZHSQFS = 4096 # 基金账户申请方式 DT:N +FID_JJZHSX = 4097 # 基金账户属性 DT:N +FID_JJZHZT = 4098 # 基金转换状态 DT:N +FID_JSBZ = 4099 # 交收标志 DT:N +FID_JSKZFS = 4100 # 计时控制方式 DT:N +FID_JSSFBZ = 4101 # 计时收费标准 DT:R +FID_JSSFDW = 4102 # 计时收费单位 DT:N +FID_JSSFJE = 4103 # 计时收费金额 DT:R +FID_JSSFQD = 4104 # 计时收费起点 DT:N +FID_JSSFSX = 4105 # 计时收费上限 DT:R +FID_JSSJSX = 4106 # 计时时间上限 DT:N +FID_JXJE = 4107 # 计息金额 DT:R +FID_JYJ = 4108 # 净佣金 DT:R +FID_JYLBSX = 4109 # 交易类别属性 DT:N +FID_JYLTJFS = 4110 # 交易量统计方式 DT:N +FID_JYSQH = 4111 # 交易申请号 DT:N +FID_KHFL = 4112 # 客户分类 DT:C +FID_KHXMXY = 4113 # 客户姓名检验 DT:C +FID_KWTSL = 4114 # 可委托数量 DT:R +FID_TJZC = 4115 # 累计资产 DT:R +FID_LLMBBH = 4116 # 利率模板编号 DT:N +FID_MCCJJE = 4117 # 卖出成交金额 DT:R +FID_MCCJSL = 4118 # 卖出成交数量 DT:R +FID_MCQSJE = 4119 # 卖出清算金额 DT:R +FID_MCWTJE = 4120 # 卖出委托金额 DT:R +FID_MCWTSL = 4121 # 卖出委托数量 DT:R +FID_MMBDRQ = 4122 # 密码变动日期 DT:N +FID_MMXZFS = 4123 # 密码限制方式 DT:N +FID_MRCJJE = 4124 # 买入成交金额 DT:R +FID_MRCJSL = 4125 # 买入成交数量 DT:R +FID_MRFHFS = 4126 # 默认分红方式 DT:R +FID_MRQSJE = 4127 # 买入清算金额 DT:R +FID_MRWTJE = 4128 # 买入委托金额 DT:N +FID_MRWTSL = 4129 # 买入委托数量 DT:R +FID_MXBZ = 4130 # 明细标志 DT:N +FID_ORDWTH = 4131 # 订单编码类型 DT:C +FID_OTHER = 4132 # 其它业务允许标志 DT:N +FID_PHRQ = 4133 # 配号日期 DT:N +FID_POSITION = 4134 # 位置 DT:N +FID_QRLSH = 4135 # 确认流水号 DT:C +FID_QSRQ = 4136 # 清算日期 DT:N +FID_QTDJ = 4137 # 其它原因冻结 DT:C +FID_QTFY = 4138 # 其它费用 DT:R +FID_QTMM = 4139 # 其它密码 DT:C +FID_QXSX = 4140 # 权限属性 DT:N +FID_QYRQ = 4141 # 签约日期 DT:N +FID_RGSGJS = 4142 # 认购申购基数 DT:N +FID_RQJS = 4143 # 融券积数 DT:R +FID_RZBZ = 4144 # 入账标志 DT:N +FID_RZJS = 4145 # 融资积数 DT:R +FID_S7 = 4146 # 服务费 DT:R +FID_SBFS = 4147 # 申报方式 DT:N +FID_SFSX = 4148 # 收费上限 DT:R +FID_SGSHDM = 4149 # 申赎代码 DT:C +FID_SMBS = 4150 # 扫描笔数 DT:N +FID_SPBZ = 4151 # 收盘标志 DT:N +FID_SRRQ = 4152 # 上日日期 DT:N +FID_STAMP = 4153 # 时间戳 DT:C +FID_SXFSX = 4154 # 手续费上限 DT:R +FID_SXFXX = 4155 # 手续费下限 DT:R +FID_SXYK = 4156 # 实现盈亏 DT:R +FID_T3JS = 4157 # T3交收金额 DT:R +FID_TABM = 4158 # 基金公司编码 DT:C +FID_TAKZSX = 4159 # TA控制属性 DT:N +FID_TEST = 4160 # 测试状态 DT:N +FID_THREAD = 4161 # 线程 DT:N +FID_TSYWJSSJ = 4162 # 特殊业务结束时间 DT:C +FID_TXDZ = 4163 # 通讯地址 DT:C +FID_TXTS = 4164 # 提醒天数 DT:N +FID_WJSSL_B = 4165 # 买入未交收 DT:R +FID_WJSSL_S = 4166 # 卖出未交收 DT:R +FID_WTBZ = 4167 # 委托标志 DT:C +FID_WTDJJE = 4168 # 委托冻结金额 DT:R +FID_WTHQZ = 4169 # 委托号前缀 DT:C +FID_WTMARK = 4170 # 委托记号 DT:C +FID_WZDM = 4171 # 位置代码 DT:N +FID_XSSL = 4172 # 限售数量 DT:R +FID_XTZT = 4173 # 系统状态 DT:N +FID_XYZT = 4174 # 协议状态 DT:N +FID_XZFS = 4175 # 限制方式 DT:N +FID_YDH = 4176 # 约定号 DT:N +FID_YGXJCE = 4177 # 预估现金差额 DT:R +FID_YHKZSX = 4178 # 银行控制属性 DT:N +FID_YWBS = 4179 # 业务笔数 DT:N +FID_YWRQ = 4180 # 业务日期 DT:N +FID_YYBBH = 4181 # 营业部编号 DT:C +FID_ZCSMJG = 4182 # 正常扫描间隔 DT:N +FID_ZCTJFS = 4183 # 资产统计方式 DT:N +FID_ZCZQSZ = 4184 # 转出证券市值 DT:R +FID_ZDHS = 4185 # 指定户数 DT:N +FID_ZJBHXY = 4186 # 证件编号检验 DT:C +FID_ZJDM = 4187 # 资金代码 DT:C +FID_ZJSBSJ = 4188 # 最近申报时间 DT:C +FID_ZQFXDJ = 4189 # 证券风险等级 DT:C +FID_ZQJCLB = 4190 # 证券基础类别 DT:C +FID_ZQJYSX = 4191 # 证券交易属性 DT:N +FID_ZQLBXZFS = 4192 # 证券类别限制方式 DT:N +FID_ZQSXFW = 4193 # 证券属性范围 DT:N +FID_ZQXZMS = 4194 # 证券限制模式 DT:N +FID_ZQYWDM = 4195 # 证券业务范围 DT:C +FID_ZRZQSZ = 4196 # 转入证券市值 DT:R +FID_ZYQDM = 4197 # 质押券代码 DT:C +FID_ZZKSSJ = 4198 # 转账开始时间 DT:C +FID_ZZLB = 4199 # 转账类别 DT:N +FID_ZZQDM = 4200 # 主证券代码 DT:C +FID_LTLX = 4201 # 流通类型 DT:C +FID_BBFUNCID = 4202 # 报表函数功能号 DT:I +FID_BBBSC = 4203 # 报表标识串 DT:C +FID_BBSORTTYPE = 4204 # 报表数据查询的排序方式 DT:I +FID_BBCXLB = 4205 # 报表查询类别 DT:C +FID_BBFIELDNAME = 4206 # 报表字段名 DT:C +FID_BBTYPE = 4207 # 报表参数类型 DT:C +FID_BBVALUE = 4208 # 报表属性值 DT:C +FID_BBROWNUM = 4209 # 报表记录行号 DT:I +FID_BBSJJDM = 4210 # 报表数据集代码 DT:C +FID_JYRQ = 4211 # 交易日期 DT:C +FID_TDLX_BF = 4212 # 备份通道类型 DT:I +FID_SGWTSL = 4213 # 申购委托数量 DT:R +FID_DFJDBM = 4214 # 对方节点编码 DT:C +FID_GRZDJC = 4215 # 个人最大减持 DT:I +FID_JGZDJC = 4216 # 机构最大减持 DT:I +FID_CPTX = 4217 # 产品特性 DT:I +FID_GSJZB = 4218 # 公司净资本 DT:N +FID_JSJE = 4219 # 交收金额 DT:R +FID_DYSZ = 4220 # 抵押市值 DT:R +FID_YJGHRQ = 4221 # 预计购回日期 DT:N +FID_DYKHJZD = 4222 # 单一客户集中度 DT:R +FID_DYZQJZD = 4223 # 单一证券集中度 DT:R +FID_DBJYJZD = 4224 # 单笔交易集中度 DT:R +FID_ID = 9001 # 档案编号 DT:C +FID_MODULE = 9002 # 模块名 DT:C +FID_NAME = 9003 # 模块文件 DT:C +FID_CLASE = 9004 # 模块分类 DT:C +FID_LEVEL = 9006 # 优先级别 DT:C +FID_OLDVER = 9007 # 旧版本 DT:C +FID_LASTVER = 9008 # 新版本 DT:C +FID_WHYS = 9009 # 修改原因 DT:C +FID_FILEPATH = 9011 # 文件路径 DT:C +FID_MENDER = 9012 # 修改人 DT:C +FID_CONNER = 9013 # 测试人 DT:C +FID_MODIRQ = 9014 # 修改日期 DT:C +FID_TESTRQ = 9015 # 测试日期 DT:C +FID_CONCLUSION = 9016 # 测试结论 DT:C +FID_UPNOTE = 9017 # 升级提示 DT:C +FID_STATUS = 9018 # 记录状态 DT:C +FID_RESOLVEN = 9019 # 关联提示 DT:C +FID_FLAG = 9020 # 档案类型 DT:C +FID_DIFF = 9021 # 难度 DT:C +FID_YZJB = 9022 # 严重级别 DT:C +FID_RWBH = 9023 # 任务编号 DT:C +FID_DIR = 9024 # 运行目录 DT:C +FID_CPID = 9025 # 产品ID DT:C +FID_XQLX = 9026 # 需求类型 DT:C +FID_XQLY = 9027 # 需求来源 DT:C +FID_XQMS = 9028 # 需求描述 DT:C +FID_XQLXF = 9029 # 需求联系方 DT:C +FID_XGFA = 9030 # 修改方案 DT:C +FID_FASP = 9031 # 方案审批人 DT:C +FID_FASPRQ = 9032 # 方案审批日期 DT:C +FID_JRX = 9033 # 兼容性 DT:C +FID_FFJH = 9034 # 发放计划 DT:C +FID_XGR = 9035 # 修改人 DT:C +FID_XGJD = 9036 # 修改进度 DT:C +FID_CSR = 9037 # 测试人 DT:C +FID_CSJD = 9038 # 测试进度 DT:C +FID_YMTS = 9039 # 源码提示 DT:C +FID_XGFK = 9040 # 修改反馈 DT:C +FID_XGWCRQ = 9041 # 修改完成日期 DT:C +FID_CSFK = 9042 # 测试反馈 DT:C +FID_CSWCRQ = 9043 # 测试完成日期 DT:C +FID_HFYJ = 9044 # 回访意见 DT:C +FID_HFRQ = 9045 # 回访日期 DT:C +FID_HFR = 9046 # 回访人 DT:C +FID_RWB = 9047 # 任务标题 DT:C +FID_MTYPE = 9048 # 类型 DT:C +FID_GYXM = 9049 # 柜员姓名 DT:C +FID_JLZ = 9050 # 记录状态 DT:C +FID_GH = 9051 # 工号 DT:C +FID_KHMC = 9052 # 客户名称 DT:C +FID_WHR = 9053 # 维护人 DT:C +FID_XZR = 9054 # 协助人 DT:C +FID_KHID = 9055 # 客户ID DT:C +FID_WTMS = 9056 # 问题描述 DT:C +FID_FXDW = 9057 # 分析定位 DT:C +FID_JJFS = 9058 # 解决方式 DT:C +FID_JJGC = 9059 # 解决过程 DT:C +FID_CLYS = 9060 # 处理用时 DT:C +FID_FSRQ = 9061 # 发生日期 DT:C +FID_WTFL = 9062 # DT:C +FID_GROUP = 9063 # 组 DT:C +FID_SECURITY = 9064 # DT:C +FID_GXQ = 9065 # DT:C +FID_CPXX = 9066 # 产品信息 DT:C +FID_KHZB = 9067 # 客户总部 DT:C +FID_QYZB = 9068 # DT:C +FID_ZJL = 9070 # 总经理 DT:C +FID_ZJLDH = 9071 # 总经理电话 DT:C +FID_ZJLMAIL = 9072 # 总经理EMAIL DT:C +FID_JL = 9073 # 经理 DT:C +FID_JLDH = 9074 # 经理电话 DT:C +FID_JLMAIL = 9075 # 经理EMAIL DT:C +FID_LXR = 9076 # 联系人 DT:C +FID_CRDATE = 9077 # 创建日期 DT:C +FID_ENGINEERS = 9078 # 工程师 DT:C +FID_HFRQ2 = 9079 # 恢复日期2 DT:C +FID_DJR = 9080 # 登记人 DT:C +FID_ZW = 9081 # 职位 DT:C +FID_WHBT = 9082 # 维护标题 DT:C +FID_FLAG1 = 9083 # FLAG1 DT:C +FID_FLAG2 = 9084 # FLAG2 DT:C +FID_XQLB = 9085 # 需求类别 DT:C +FID_MSN = 9086 # MSN DT:C +FID_SPFA = 9087 # 审批方案 DT:C +FID_SJNR = 9088 # 涉及内容 DT:C +FID_LCRZ = 9089 # 流程日志 DT:C +FID_SPR = 9090 # 审批人 DT:C +FID_SPRQ = 9091 # 审批日期 DT:C +FID_GZR = 9092 # 跟踪人 DT:C +FID_XQBT = 9093 # 需求标题 DT:C +FID_ZPR = 9094 # 指派人 DT:C +FID_RWMS = 9095 # 任务描述 DT:C +FID_ZPRQ = 9096 # 指派日期 DT:C +FID_GMZQ = 9097 # 更密周期 DT:N +FID_GYZT = 9098 # 柜员状态 DT:N +FID_KSSJ = 9099 # 开始时间 DT:C +FID_JSSJ = 9100 # 结束时间 DT:C +FID_XZQYDM = 9101 # 行政区域代码 DT:C +FID_XZQYMC = 9102 # 行政区域名称 DT:C +FID_XZQYLB = 9103 # 行政区域类别 DT:C +FID_SJXZQYDM = 9104 # 上级行政区域代码 DT:C +FID_DHQH = 9105 # 电话区号 DT:N +FID_KHBS = 9106 # 客户标识 DT:C +FID_KHZT = 9107 # 客户状态 DT:N +FID_ZT = 9108 # 状态 DT:N +FID_SORTTYPE = 9109 # 数据查询的排序方式 DT:I +FID_ROWCOUNT = 9110 # 行号 DT:N +FID_LPDM = 9111 # 礼品代码 DT:C +FID_YWSHBZ = 9112 # 业务审核标志 DT:N +FID_YWSHQD = 9113 # 是否需业务审核 DT:N +FID_LPZCDS = 9114 # 礼品转存底数 DT:R +FID_SRJE = 9115 # 收入金额 DT:R +FID_FCJE = 9116 # 付出金额 DT:R +FID_CZBZ = 9117 # 冲销标志 DT:C +FID_JSJ = 9118 # 结算价 DT:R +FID_YSJE_YJ = 9119 # 一级应收金额 DT:R +FID_JGZLLB = 9120 # 交割资料类别 DT:N +FID_S11 = 9121 # 一级经手费 DT:R +FID_S12 = 9122 # 一级证管费 DT:R +FID_S13 = 9123 # 一级过户费 DT:R +FID_S15 = 9124 # 一级结算费 DT:R +FID_S16 = 9125 # 一级风险基金 DT:R +FID_BZQDM = 9126 # 标准券代码 DT:C +FID_CWLB = 9127 # 错误类别 DT:C +FID_YHMM = 9128 # 银行密码 DT:C +FID_JJDM = 9129 # 基金代码 DT:C +FID_JJMC = 9130 # 基金名称 DT:C +FID_XJTDBL = 9131 # 现金替代比例 DT:R +FID_WTJE = 9132 # 委托金额 DT:R +FID_SGSHZT = 9133 # 申购赎回状态 DT:N +FID_TDBZ = 9134 # 替代标志 DT:N +FID_ZDXW = 9135 # 指定席位 DT:C +FID_XJCE = 9136 # 现金差额 DT:R +FID_TDJE = 9137 # 替代金额(现金替代金额) DT:R +FID_DWJZ = 9138 # 单位净值 DT:R +FID_SGSHDWJZ = 9139 # 申购赎回单位净值 DT:R +FID_CZGY = 9140 # 操作柜员 DT:C +FID_FYBL = 9141 # 费用比例 DT:R +FID_JYL = 9142 # 交易量 DT:R +FID_XGPZ = 9143 # 相关品种 DT:C +FID_XGZH = 9144 # 相关帐号 DT:C +FID_JESX = 9145 # 金额上限 DT:R +FID_FSSL = 9146 # 发生数量 DT:N +FID_LXJE = 9147 # 利息金额 DT:R +FID_LXJG = 9148 # 利息价格 DT:R +FID_PLWTPCH = 9149 # 批量委托批次号 DT:N +FID_SEQNO = 9150 # 历史数据序列号 DT:N +FID_SBXW = 9151 # 申报席位 DT:C +FID_XWDM = 9152 # 席位代码 DT:C +FID_EN_JGZLLB = 9153 # 交割资料类别范围 DT:C +FID_WBJGDM = 9154 # 外部机构代码 DT:C +FID_WBFJJYLB = 9155 # 外部附加交易类别(业务类别) DT:N +FID_CZWBSQBH = 9156 # 冲正外部申请编号 DT:C +FID_WBSQBH = 9157 # 外部申请编号 DT:C +FID_RWSM = 9158 # 任务说明 DT:C +FID_FHRQ = 9159 # 复核日期 DT:I +FID_FLLBFW = 9160 # 费率类别范围 DT:C +FID_JYSFW = 9161 # 交易所范围 DT:C +FID_SDSL = 9162 # 所得税率 DT:R +FID_WTFSFW = 9163 # 委托方式范围 DT:I +FID_ZDJSBZ = 9164 # 自动计算标志 DT:I +FID_JYLBFW = 9165 # 交易类别范围 DT:C +FID_TJZQS = 9166 # 统计周期数 DT:I +FID_JJZHCD = 9167 # 基金帐号长度 DT:I +FID_JYMCD = 9168 # 交易码长度 DT:I +FID_SQBHCD = 9169 # 申请编号长度 DT:I +FID_JJZHSCFS = 9170 # 基金帐号生成方式 DT:I +FID_JYZHQZ = 9171 # 交易帐号前缀 DT:C +FID_KYJJZH_GR = 9172 # 可用基金帐号_个人 DT:C +FID_KYJJZH_JG = 9173 # 可用基金帐号_机构 DT:C +FID_FEDZZT = 9174 # 份额对帐状态 DT:I +FID_HBDZBZ = 9175 # 合并对帐标志 DT:I +FID_FEDZXM = 9176 # 份额对帐项目 DT:I +FID_FEDZFS = 9177 # 份额对帐方式 DT:I +FID_FJYGHLB = 9178 # 代理非交易过户类别 DT:I +FID_JGSCRGZDZJ = 9179 # 机构首次认购最低金额 DT:R +FID_GRSCRGZDZJ = 9180 # 个人首次认购最低金额 DT:R +FID_GRZJRGZDZJ = 9181 # 个人追加认购最低金额 DT:R +FID_JGZJRGZDZJ = 9182 # 机构追加认购最低金额 DT:R +FID_GRZDRGZJ = 9183 # 个人最低认购金额 DT:R +FID_JGZDRGZJ = 9184 # 机构最低认购金额 DT:R +FID_GRSCSGZDZJ = 9185 # 个人首次申购最低金额 DT:R +FID_JGSCSGZDZJ = 9186 # 机构首次申购最低金额 DT:R +FID_GRZJSGZDZJ = 9187 # 个人追加申购最低金额 DT:R +FID_JGZJSGZDZJ = 9188 # 机构追加申购最低金额 DT:R +FID_GRSHZDFE = 9189 # 个人赎回最低份额 DT:R +FID_JGSHZDFE = 9190 # 机构赎回最低份额 DT:R +FID_GRCCZDFE = 9191 # 个人持仓最低限额 DT:R +FID_JGCCZDFE = 9192 # 机构持仓最低限额 DT:R +FID_SHSYTS = 9193 # 赎回顺延天数 DT:I +FID_HLHKTS = 9194 # 红利到款延迟天数 DT:I +FID_GRZDZHFE = 9195 # 个人最低转换份额 DT:R +FID_JGZDZHFE = 9196 # 机构最低转换份额 DT:R +FID_SGJSBZ = 9197 # 手工结算标志 DT:I +FID_TADM = 9198 # 基金公司代码 DT:C +FID_FQRDM = 9199 # 发起人代码 DT:C +FID_FXZFE = 9200 # 发行总份额 DT:R +FID_GLRDM = 9201 # 管理人代码 DT:C +FID_JJJC = 9202 # 基金简称 DT:C +FID_JJQC = 9203 # 基金全称 DT:C +FID_JJJZ = 9204 # 基金净值 DT:R +FID_DFJJDM = 9205 # 对方基金代码 DT:C +FID_RGFS = 9206 # 认购方式 DT:I +FID_RGJS = 9207 # 认购基数 DT:I +FID_SGJS = 9208 # 申购基数 DT:I +FID_TGRDM = 9209 # 托管人代码 DT:C +FID_TDLX = 9210 # 通道类型 DT:I +FID_MODULE_ID = 9211 # 模块ID DT:I +FID_ZKLX = 9212 # 折扣类型 DT:I +FID_ZKL = 9213 # 折扣率 DT:R +FID_DXBS = 9214 # 对象标识 DT:C +FID_DXLB = 9215 # 对象类别 DT:I +FID_BDKHBZ = 9216 # 本地开户标志 DT:I +FID_DJYY = 9217 # 冻结原因 DT:I +FID_DZDLB = 9219 # 对帐单类别 DT:I +FID_YSQBH = 9225 # 原申请编号 DT:C +FID_ZJJSLX = 9226 # 资金结算类型 DT:I +FID_YYRQ = 9227 # 预约日期 DT:I +FID_JJZH = 9228 # 基金帐号 DT:C +FID_JJZHXM = 9229 # 基金帐户姓名 DT:C +FID_XSDM = 9231 # 销售代码 DT:C +FID_TJDM = 9232 # 统计代码 DT:C +FID_JJFL = 9233 # 基金分类 DT:I +FID_GRZGCYBL = 9234 # 个人最高持有比例 DT:R +FID_JGZGCYBL = 9235 # 机构最高持有比例 DT:R +FID_MRFS = 9236 # 认购申购默认方式 DT:I +FID_KYSL = 9237 # 可用数量 DT:I +FID_WTFE = 9238 # 委托份额 DT:R +FID_YYBZ = 9239 # 预约标志 DT:I +FID_ORDERS = 9240 # 订单顺序号 DT:I +FID_DFJJZH = 9241 # 对方基金帐号 DT:C +FID_DFJYZH = 9242 # 对方交易帐号 DT:C +FID_DFWDH = 9243 # 对方网点号 DT:C +FID_DFXSSDM = 9244 # 对方销售商代码 DT:C +FID_PZDM = 9245 # 品种代码 DT:C +FID_DFSFFS = 9246 # 对方收费方式 DT:I +FID_GHYY = 9247 # 过户原因 DT:I +FID_JJSL = 9248 # 基金份额数量 DT:R +FID_LJWYCS = 9249 # 累计违约次数 DT:I +FID_LXWYCS = 9250 # 连续违约次数 DT:I +FID_QQCS = 9251 # 欠缺次数 DT:I +FID_SCKKRQ = 9252 # 上次扣款日期 DT:I +FID_MYKKRQ = 9253 # 每月扣款日期 DT:I +FID_SGJE = 9254 # 申购金额 DT:16 DT:2 +FID_SCSGZDJE = 9255 # 首次申购最低金额 DT:R +FID_SGZDJE = 9256 # 申购最低金额 DT:R +FID_CONTENT = 9257 # 内容 DT:C +FID_TITLE = 9258 # 标题 DT:C +FID_GGLB = 9259 # 公告类别 DT:I +FID_JYZH = 9260 # 交易帐号 DT:C +FID_TALSH = 9261 # TA流水号 DT:C +FID_QRRQ = 9262 # 确认日期 DT:I +FID_QRFE = 9263 # 确认份额 DT:R +FID_QRJE = 9264 # 确认金额 DT:R +FID_DLF = 9265 # 代理非 DT:R +FID_SHF = 9266 # 赎回费 DT:R +FID_YHS = 9267 # 印花税 DT:R +FID_ZFE = 9268 # 总份额 DT:R +FID_DJFE = 9269 # 冻结份额 DT:R +FID_KYFE = 9270 # 可用份额 DT:R +FID_DZRQ = 9271 # 到帐日期 DT:I +FID_SFHLJE = 9272 # 实际红利金额 DT:R +FID_HLZJE = 9273 # 红利总金额 DT:R +FID_FHDWFE = 9274 # 分红单位份额 DT:R +FID_FHJJFE = 9275 # 分红基金份额 DT:R +FID_ZTZFE = 9276 # 再投资份额 DT:R +FID_DJZTZFE = 9277 # 冻结再投资份额 DT:R +FID_YJKBFS = 9278 # 佣金捆绑方式 DT:I +FID_ZFHJE = 9279 # 总返还金额 DT:R +FID_HGRQFCJE = 9280 # 回购融券付出金额 DT:R +FID_HGRZSRJE = 9281 # 回购融资收入金额 DT:R +FID_RQGHSRJE = 9282 # 融券购回收入金额 DT:R +FID_RZGHFCJE = 9283 # 融资购回付出金额 DT:R +FID_HLPFJE = 9284 # 红利派发金额 DT:R +FID_PGJKJE = 9285 # 配股缴款金额 DT:R +FID_SGZQFC = 9286 # 申购中签付出 DT:R +FID_ZQDFJE = 9287 # 债券兑付金额 DT:R +FID_ZZLGJE = 9288 # 转债零股资金 DT:R +FID_BYSJE = 9289 # 买应收金额 DT:R +FID_SGKFC = 9290 # 申购款付出金额 DT:R +FID_SGKSR = 9291 # 申购款收入金额 DT:R +FID_SYSJE = 9292 # 卖应收金额 DT:R +FID_WGHZJ = 9293 # 未购回资金 DT:R +FID_WHSGK = 9294 # 未回申购款 DT:R +FID_BRKHSL = 9295 # 本日开户数量 DT:I +FID_BRXHSL = 9296 # 本日销户数量 DT:I +FID_MCDXSL = 9297 # 卖出抵消数量 DT:I +FID_MRDXSL = 9298 # 买入抵消数量 DT:I +FID_SGCJSL = 9299 # 申购成交数量 DT:I +FID_SHCJSL = 9300 # 赎回成交数量 DT:I +FID_FEMXLSH = 9301 # 份额明细流水号 +FID_FEDZRQ = 9302 # 份额到帐日期 +FID_ZJDZRQ = 9303 # 资金到帐日期 +FID_FHDJFE = 9304 # 分红冻结份额 +FID_FEYE = 9305 # 份额余额 +FID_RGJE = 9306 # 认购金额 DT:R22.2 +FID_SHFE = 9307 # 赎回份额 +FID_BRBD = 9308 # 本日变动金额 DT:R +FID_XYJKFSJE = 9309 # 信用借款发生金额 DT:R +FID_XYJKYE = 9310 # 信用借款余额 DT:R +FID_FILEZAP = 9311 # 文件压缩 DT:I +FID_MZZL = 9312 # 面值种类 DT:C +FID_QX = 9313 # 期限 DT:I +FID_DQBH = 9314 # 当前编号 DT:C +FID_DFJG = 9315 # 债券兑付价格 DT:C +FID_FXED = 9316 # 债券发行额度 DT:I +FID_FXSL = 9317 # 债券发行数量 DT:I +FID_TS = 9318 # 天数 DT:I +FID_SXFL = 9319 # 手续费率 DT:I +FID_YQLL = 9320 # 逾期利率 DT:I +FID_TGFL = 9321 # 托管费率 DT:I +FID_LJJZ = 9322 # 基金累计净值 DT:D +FID_MWFSY = 9323 # 每万份收益 DT:D +FID_NSYL = 9324 # 基金年化收益率(%) DT:D +FID_TGJE = 9325 # 债券购买金额 DT:I +FID_DBGBH = 9326 # 代保管编号 DT:c +FID_DBGRQ = 9327 # 代保管日期 DT:I +FID_DFJE = 9328 # 兑付金额 DT:d +FID_DFLX = 9329 # 兑付利息 DT:D +FID_DFGY = 9330 # 兑付柜员 DT:C +FID_DFYYB = 9331 # 兑付营业部 DT:C +FID_GSRQ = 9332 # 挂失日期 DT:I +FID_NBDM = 9333 # 债券代码 DT:C +FID_DBGGY = 9334 # 代保管柜员 DT:C +FID_DBGYYB = 9335 # 代保管营业部 DT:C +FID_NF = 9336 # 年份 DT:I +FID_XQJE = 9337 # 现券金额 DT:D +FID_DBBC = 9338 # 代表变差 DT:I +FID_XQBC = 9339 # 现差变差 DT:I +FID_DBGBD = 9340 # 代保管变动 DT:I +FID_XQBD = 9341 # 现券变动 DT:I +FID_DBGSJ = 9342 # 代保管时间 DT:C +FID_GSSJ = 9343 # 挂失时间 DT:C +FID_DFSJ = 9344 # 兑付时间 DT:C +FID_PLRQ = 9345 # 派利日期 DT:I +FID_PLSJ = 9346 # 派利时间 DT:C +FID_DBGJE = 9347 # 代保管金额 DT:c +FID_TGBD = 9348 # 托管变动 DT:C +FID_SCDBG = 9349 # 上次代保管 DT:c +FID_SCXQ = 9350 # 上次现券 DT:C +FID_SCTG = 9351 # 上次托管 DT:c +FID_PZSM = 9352 # 品种说明 DT:C +FID_QYBZ = 9353 # 签约标志 DT:I +FID_QYJJDM = 9354 # 签约基金代码 DT:C +FID_DXDM = 9355 # 短信代码 DT:C +FID_DXMC = 9356 # 短信名称 DT:C +FID_JJFXDJ = 9357 # 基金风险等级 DT:I +FID_KHQR = 9358 # 客户确认标志 DT:I +FID_GRRGSGDBZGJE = 9359 # 个人认购申购单笔最高金额 DT:R +FID_GRRGSGDTZGJE = 9360 # 个人认购申购当天最高金额 DT:R +FID_MCDJSL = 9361 # 卖出冻结数量 DT:C +FID_JGRGSGDBZGJE = 9362 # 机构认购申购单笔最高金额 DT:R +FID_JGRGSGDTZGJE = 9363 # 机构认购申购当天最高金额 DT:R +FID_LCCPBZ = 9364 # 基金理财产品标志 DT:I +FID_CDYY = 9365 # 撤单原因 DT:C DT:给VIP成交触发使用 +FID_MRBDRQ = 9366 # 买入变动日期 DT:I +FID_MCBDRQ = 9367 # 卖出变动日期 DT:I +FID_GRSHDBSX = 9368 # 个人赎回单笔上限 DT:R +FID_GRSHDRSX = 9369 # 个人赎回当日上限 DT:R +FID_JGSHDBSX = 9370 # 机构赎回单笔上限 DT:R +FID_JGSHDRSX = 9371 # 机构赎回当日上限 DT:R +FID_CBM = 9418 # 字符编码 DT:C +FID_ZXTBZ = 9998 # 主系统标志 DT:请不要使用这个断,特殊 FID_SEAT_SH_XY = 9500 # 上海融资融券席位 DT:C FID_SEAT_SZ_XY = 9501 # 深圳融资融券席位 DT:C FID_HYBH = 2704 # 合约编号 diff --git a/vnpy/api/rest/rest_client.py b/vnpy/api/rest/rest_client.py index 1bc9034c..85cdd675 100644 --- a/vnpy/api/rest/rest_client.py +++ b/vnpy/api/rest/rest_client.py @@ -147,7 +147,7 @@ class RestClient(object): """ Add a new request. :param method: GET, POST, PUT, DELETE, QUERY - :param path: + :param path: :param callback: callback function if 2xx status, type: (dict, Request) :param params: dict for query string :param data: Http body. If it is a dict, it will be converted to form-data. Otherwise, it will be converted to bytes. @@ -296,7 +296,7 @@ class RestClient(object): """ Add a new request. :param method: GET, POST, PUT, DELETE, QUERY - :param path: + :param path: :param params: dict for query string :param data: dict for body :param headers: dict for headers diff --git a/vnpy/app/algo_trading/algos/dma_algo.py b/vnpy/app/algo_trading/algos/dma_algo.py index 14849c94..d95f9029 100644 --- a/vnpy/app/algo_trading/algos/dma_algo.py +++ b/vnpy/app/algo_trading/algos/dma_algo.py @@ -14,7 +14,7 @@ class DmaAlgo(AlgoTemplate): "vt_symbol": "", "direction": [Direction.LONG.value, Direction.SHORT.value], "order_type": [ - OrderType.MARKET.value, + OrderType.MARKET.value, OrderType.LIMIT.value, OrderType.STOP.value, OrderType.FAK.value, @@ -74,7 +74,7 @@ class DmaAlgo(AlgoTemplate): self.order_type, self.offset ) - + else: self.vt_orderid = self.sell( self.vt_symbol, @@ -96,4 +96,4 @@ class DmaAlgo(AlgoTemplate): def on_trade(self, trade: TradeData): """""" - pass + pass diff --git a/vnpy/app/cta_backtester/ui/widget.py b/vnpy/app/cta_backtester/ui/widget.py index ef54804f..70752e05 100644 --- a/vnpy/app/cta_backtester/ui/widget.py +++ b/vnpy/app/cta_backtester/ui/widget.py @@ -1013,13 +1013,13 @@ class CandleChartDialog(QtWidgets.QDialog): def update_trades(self, trades: list): """""" trade_data = [] - + for trade in trades: ix = self.dt_ix_map[trade.datetime] scatter = { - "pos": (ix, trade.price), - "data": 1, + "pos": (ix, trade.price), + "data": 1, "size": 14, "pen": pg.mkPen((255, 255, 255)) } @@ -1030,11 +1030,11 @@ class CandleChartDialog(QtWidgets.QDialog): else: scatter["symbol"] = "t" scatter["brush"] = pg.mkBrush((0, 0, 255)) - + trade_data.append(scatter) self.trade_scatter.setData(trade_data) - + def clear_data(self): """""" self.updated = False @@ -1042,7 +1042,7 @@ class CandleChartDialog(QtWidgets.QDialog): self.dt_ix_map.clear() self.trade_scatter.clear() - + def is_updated(self): """""" return self.updated diff --git a/vnpy/app/cta_strategy/backtesting.py b/vnpy/app/cta_strategy/backtesting.py index 33baa06f..7c1ed7d5 100644 --- a/vnpy/app/cta_strategy/backtesting.py +++ b/vnpy/app/cta_strategy/backtesting.py @@ -13,7 +13,7 @@ import seaborn as sns from pandas import DataFrame from deap import creator, base, tools, algorithms -from vnpy.trader.constant import (Direction, Offset, Exchange, +from vnpy.trader.constant import (Direction, Offset, Exchange, Interval, Status) from vnpy.trader.database import database_manager from vnpy.trader.object import OrderData, TradeData, BarData, TickData @@ -84,12 +84,12 @@ class OptimizationSetting: settings.append(setting) return settings - + def generate_setting_ga(self): - """""" + """""" settings_ga = [] - settings = self.generate_setting() - for d in settings: + settings = self.generate_setting() + for d in settings: param = [tuple(i) for i in d.items()] settings_ga.append(param) return settings_ga @@ -215,8 +215,8 @@ class BacktestingEngine: self.end = datetime.now() if self.start >= self.end: - self.output("起始日期必须小于结束日期") - return + self.output("起始日期必须小于结束日期") + return self.history_data.clear() # Clear previously loaded history data @@ -230,7 +230,7 @@ class BacktestingEngine: while start < self.end: end = min(end, self.end) # Make sure end time stays within set range - + if self.mode == BacktestingMode.BAR: data = load_bar_data( self.symbol, @@ -248,15 +248,15 @@ class BacktestingEngine: ) self.history_data.extend(data) - + progress += progress_delta / total_delta progress = min(progress, 1) progress_bar = "#" * int(progress * 10) self.output(f"加载进度:{progress_bar} [{progress:.0%}]") - + start = end end += progress_delta - + self.output(f"历史数据加载完成,数据量:{len(self.history_data)}") def run_backtesting(self): @@ -271,7 +271,7 @@ class BacktestingEngine: # Use the first [days] of history data for initializing strategy day_count = 0 ix = 0 - + for ix, data in enumerate(self.history_data): if self.datetime and data.datetime.day != self.datetime.day: day_count += 1 @@ -339,8 +339,8 @@ class BacktestingEngine: # Check DataFrame input exterior if df is None: df = self.daily_df - - # Check for init DataFrame + + # Check for init DataFrame if df is None: # Set all statistics to 0 if no trade. start_date = "" @@ -484,11 +484,11 @@ class BacktestingEngine: def show_chart(self, df: DataFrame = None): """""" - # Check DataFrame input exterior + # Check DataFrame input exterior if df is None: df = self.daily_df - # Check for init DataFrame + # Check for init DataFrame if df is None: return @@ -580,7 +580,7 @@ class BacktestingEngine: def generate_parameter(): """""" return random.choice(settings) - + def mutate_individual(individual, indpb): """""" size = len(individual) @@ -620,24 +620,24 @@ class BacktestingEngine: ga_mode = self.mode # Set up genetic algorithem - toolbox = base.Toolbox() - toolbox.register("individual", tools.initIterate, creator.Individual, generate_parameter) - toolbox.register("population", tools.initRepeat, list, toolbox.individual) - toolbox.register("mate", tools.cxTwoPoint) - toolbox.register("mutate", mutate_individual, indpb=1) - toolbox.register("evaluate", ga_optimize) - toolbox.register("select", tools.selNSGA2) + toolbox = base.Toolbox() + toolbox.register("individual", tools.initIterate, creator.Individual, generate_parameter) + toolbox.register("population", tools.initRepeat, list, toolbox.individual) + toolbox.register("mate", tools.cxTwoPoint) + toolbox.register("mutate", mutate_individual, indpb=1) + toolbox.register("evaluate", ga_optimize) + toolbox.register("select", tools.selNSGA2) total_size = len(settings) pop_size = population_size # number of individuals in each generation lambda_ = pop_size # number of children to produce at each generation mu = int(pop_size * 0.8) # number of individuals to select for the next generation - cxpb = 0.95 # probability that an offspring is produced by crossover + cxpb = 0.95 # probability that an offspring is produced by crossover mutpb = 1 - cxpb # probability that an offspring is produced by mutation ngen = ngen_size # number of generation - - pop = toolbox.population(pop_size) + + pop = toolbox.population(pop_size) hof = tools.ParetoFront() # end result of pareto front stats = tools.Statistics(lambda ind: ind.fitness.values) @@ -662,22 +662,22 @@ class BacktestingEngine: start = time() algorithms.eaMuPlusLambda( - pop, - toolbox, - mu, - lambda_, - cxpb, - mutpb, - ngen, + pop, + toolbox, + mu, + lambda_, + cxpb, + mutpb, + ngen, stats, halloffame=hof - ) - + ) + end = time() cost = int((end - start)) self.output(f"遗传算法优化完成,耗时{cost}秒") - + # Return result list results = [] @@ -685,7 +685,7 @@ class BacktestingEngine: setting = dict(parameter_values) target_value = ga_optimize(parameter_values)[0] results.append((setting, target_value, {})) - + return results def update_daily_close(self, price: float): @@ -743,14 +743,14 @@ class BacktestingEngine: # Check whether limit orders can be filled. long_cross = ( - order.direction == Direction.LONG - and order.price >= long_cross_price + order.direction == Direction.LONG + and order.price >= long_cross_price and long_cross_price > 0 ) short_cross = ( - order.direction == Direction.SHORT - and order.price <= short_cross_price + order.direction == Direction.SHORT + and order.price <= short_cross_price and short_cross_price > 0 ) @@ -811,12 +811,12 @@ class BacktestingEngine: for stop_order in list(self.active_stop_orders.values()): # Check whether stop order can be triggered. long_cross = ( - stop_order.direction == Direction.LONG + stop_order.direction == Direction.LONG and stop_order.price <= long_cross_price ) short_cross = ( - stop_order.direction == Direction.SHORT + stop_order.direction == Direction.SHORT and stop_order.price >= short_cross_price ) @@ -911,10 +911,10 @@ class BacktestingEngine: return [vt_orderid] def send_stop_order( - self, - direction: Direction, - offset: Offset, - price: float, + self, + direction: Direction, + offset: Offset, + price: float, volume: float ): """""" @@ -936,15 +936,15 @@ class BacktestingEngine: return stop_order.stop_orderid def send_limit_order( - self, + self, direction: Direction, offset: Offset, - price: float, + price: float, volume: float ): """""" self.limit_order_count += 1 - + order = OrderData( symbol=self.symbol, exchange=self.exchange, @@ -1008,13 +1008,13 @@ class BacktestingEngine: """ msg = f"{self.datetime}\t{msg}" self.logs.append(msg) - + def send_email(self, msg: str, strategy: CtaTemplate = None): """ Send email to default receiver. """ pass - + def sync_strategy_data(self, strategy: CtaTemplate): """ Sync strategy data into json file. @@ -1145,7 +1145,7 @@ def optimize( Function for running in multiprocessing.pool """ engine = BacktestingEngine() - + engine.set_parameters( vt_symbol=vt_symbol, interval=interval, diff --git a/vnpy/app/cta_strategy/engine.py b/vnpy/app/cta_strategy/engine.py index bc3e7fa7..2ed02660 100644 --- a/vnpy/app/cta_strategy/engine.py +++ b/vnpy/app/cta_strategy/engine.py @@ -22,17 +22,17 @@ from vnpy.trader.object import ( ContractData ) from vnpy.trader.event import ( - EVENT_TICK, - EVENT_ORDER, + EVENT_TICK, + EVENT_ORDER, EVENT_TRADE, EVENT_POSITION ) from vnpy.trader.constant import ( - Direction, - OrderType, - Interval, - Exchange, - Offset, + Direction, + OrderType, + Interval, + Exchange, + Offset, Status ) from vnpy.trader.utility import load_json, save_json, extract_vt_symbol, round_to @@ -162,7 +162,7 @@ class CtaEngine(BaseEngine): def process_order_event(self, event: Event): """""" order = event.data - + self.offset_converter.update_order(order) strategy = self.orderid_strategy_map.get(order.vt_orderid, None) @@ -187,7 +187,7 @@ class CtaEngine(BaseEngine): status=STOP_STATUS_MAP[order.status], vt_orderids=[order.vt_orderid], ) - self.call_strategy_func(strategy, strategy.on_stop_order, so) + self.call_strategy_func(strategy, strategy.on_stop_order, so) # Call strategy on_order function self.call_strategy_func(strategy, strategy.on_order, order) @@ -256,15 +256,15 @@ class CtaEngine(BaseEngine): price = tick.limit_down else: price = tick.bid_price_5 - + contract = self.main_engine.get_contract(stop_order.vt_symbol) vt_orderids = self.send_limit_order( - strategy, + strategy, contract, - stop_order.direction, - stop_order.offset, - price, + stop_order.direction, + stop_order.offset, + price, stop_order.volume, stop_order.lock ) @@ -329,13 +329,13 @@ class CtaEngine(BaseEngine): vt_orderids.append(vt_orderid) self.offset_converter.update_order_request(req, vt_orderid) - + # Save relationship between orderid and strategy. self.orderid_strategy_map[vt_orderid] = strategy self.strategy_orderid_map[strategy.strategy_name].add(vt_orderid) return vt_orderids - + def send_limit_order( self, strategy: CtaTemplate, @@ -359,7 +359,7 @@ class CtaEngine(BaseEngine): OrderType.LIMIT, lock ) - + def send_server_stop_order( self, strategy: CtaTemplate, @@ -372,8 +372,8 @@ class CtaEngine(BaseEngine): ): """ Send a stop order to server. - - Should only be used if stop order supported + + Should only be used if stop order supported on the trading server. """ return self.send_server_order( @@ -473,11 +473,11 @@ class CtaEngine(BaseEngine): if not contract: self.write_log(f"委托失败,找不到合约:{strategy.vt_symbol}", strategy) return "" - + # Round order price and volume to nearest incremental value price = round_to(price, contract.pricetick) volume = round_to(volume, contract.min_volume) - + if stop: if contract.stop_supported: return self.send_server_stop_order(strategy, contract, direction, offset, price, volume, lock) @@ -510,9 +510,9 @@ class CtaEngine(BaseEngine): return self.engine_type def load_bar( - self, - vt_symbol: str, - days: int, + self, + vt_symbol: str, + days: int, interval: Interval, callback: Callable[[BarData], None] ): @@ -536,7 +536,7 @@ class CtaEngine(BaseEngine): callback(bar) def load_tick( - self, + self, vt_symbol: str, days: int, callback: Callable[[TickData], None] @@ -836,9 +836,9 @@ class CtaEngine(BaseEngine): for strategy_name, strategy_config in self.strategy_setting.items(): self.add_strategy( - strategy_config["class_name"], + strategy_config["class_name"], strategy_name, - strategy_config["vt_symbol"], + strategy_config["vt_symbol"], strategy_config["setting"] ) diff --git a/vnpy/app/cta_strategy/template.py b/vnpy/app/cta_strategy/template.py index e88f7afc..10c2555e 100644 --- a/vnpy/app/cta_strategy/template.py +++ b/vnpy/app/cta_strategy/template.py @@ -33,7 +33,7 @@ class CtaTemplate(ABC): self.trading = False self.pos = 0 - # Copy a new variables list here to avoid duplicate insert when multiple + # Copy a new variables list here to avoid duplicate insert when multiple # strategy instances are created with the same strategy class. self.variables = copy(self.variables) self.variables.insert(0, "inited") diff --git a/vnpy/event/engine.py b/vnpy/event/engine.py index c2184023..b7576d59 100644 --- a/vnpy/event/engine.py +++ b/vnpy/event/engine.py @@ -13,9 +13,9 @@ EVENT_TIMER = "eTimer" class Event: """ - Event object consists of a type string which is used - by event engine for distributing event, and a data - object which contains the real data. + Event object consists of a type string which is used + by event engine for distributing event, and a data + object which contains the real data. """ def __init__(self, type: str, data: Any = None): @@ -30,7 +30,7 @@ HandlerType = Callable[[Event], None] class EventEngine: """ - Event engine distributes event object based on its type + Event engine distributes event object based on its type to those handlers registered. It also generates timer event by every interval seconds, @@ -64,7 +64,7 @@ class EventEngine: def _process(self, event: Event): """ First ditribute event to those handlers registered listening - to this type. + to this type. Then distrubute event to those general handlers which listens to all types. @@ -108,7 +108,7 @@ class EventEngine: def register(self, type: str, handler: HandlerType): """ - Register a new handler function for a specific event type. Every + Register a new handler function for a specific event type. Every function can only be registered once for each event type. """ handler_list = self._handlers[type] @@ -129,7 +129,7 @@ class EventEngine: def register_general(self, handler: HandlerType): """ - Register a new handler function for all event types. Every + Register a new handler function for all event types. Every function can only be registered once for each event type. """ if handler not in self._general_handlers: diff --git a/vnpy/gateway/binance/binance_gateway.py b/vnpy/gateway/binance/binance_gateway.py index 2f6f907d..7316ac35 100644 --- a/vnpy/gateway/binance/binance_gateway.py +++ b/vnpy/gateway/binance/binance_gateway.py @@ -543,7 +543,7 @@ class BinanceRestApi(RestClient): "limit": limit, "startTime": start_time * 1000, # convert to millisecond } - + # Add end time if specified if req.end: end_time = int(datetime.timestamp(req.end)) @@ -570,7 +570,7 @@ class BinanceRestApi(RestClient): break buf = [] - + for l in data: dt = datetime.fromtimestamp(l[0] / 1000) # convert to second @@ -641,7 +641,7 @@ class BinanceTradeWebsocketApi(WebsocketClient): frozen=float(d["l"]), gateway_name=self.gateway_name ) - + if account.balance: self.gateway.on_account(account) diff --git a/vnpy/gateway/ctp/ctp_gateway.py b/vnpy/gateway/ctp/ctp_gateway.py index dacad210..d08f3864 100644 --- a/vnpy/gateway/ctp/ctp_gateway.py +++ b/vnpy/gateway/ctp/ctp_gateway.py @@ -13,7 +13,7 @@ from vnpy.api.ctp import ( THOST_FTDC_OST_PartTradedQueueing, THOST_FTDC_OST_AllTraded, THOST_FTDC_OST_Canceled, - THOST_FTDC_D_Buy, + THOST_FTDC_D_Buy, THOST_FTDC_D_Sell, THOST_FTDC_PD_Long, THOST_FTDC_PD_Short, @@ -73,7 +73,7 @@ STATUS_CTP2VT = { } DIRECTION_VT2CTP = { - Direction.LONG: THOST_FTDC_D_Buy, + Direction.LONG: THOST_FTDC_D_Buy, Direction.SHORT: THOST_FTDC_D_Sell } DIRECTION_CTP2VT = {v: k for k, v in DIRECTION_VT2CTP.items()} @@ -81,13 +81,13 @@ DIRECTION_CTP2VT[THOST_FTDC_PD_Long] = Direction.LONG DIRECTION_CTP2VT[THOST_FTDC_PD_Short] = Direction.SHORT ORDERTYPE_VT2CTP = { - OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, + OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, OrderType.MARKET: THOST_FTDC_OPT_AnyPrice } ORDERTYPE_CTP2VT = {v: k for k, v in ORDERTYPE_VT2CTP.items()} OFFSET_VT2CTP = { - Offset.OPEN: THOST_FTDC_OF_Open, + Offset.OPEN: THOST_FTDC_OF_Open, Offset.CLOSE: THOST_FTDC_OFEN_Close, Offset.CLOSETODAY: THOST_FTDC_OFEN_CloseToday, Offset.CLOSEYESTERDAY: THOST_FTDC_OFEN_CloseYesterday, @@ -136,7 +136,7 @@ class CtpGateway(BaseGateway): } exchanges = list(EXCHANGE_CTP2VT.values()) - + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "CTP") @@ -154,15 +154,15 @@ class CtpGateway(BaseGateway): appid = setting["产品名称"] auth_code = setting["授权编码"] product_info = setting["产品信息"] - + if not td_address.startswith("tcp://"): td_address = "tcp://" + td_address if not md_address.startswith("tcp://"): md_address = "tcp://" + md_address - + self.td_api.connect(td_address, userid, password, brokerid, auth_code, appid, product_info) self.md_api.connect(md_address, userid, password, brokerid) - + self.init_query() def subscribe(self, req: SubscribeRequest): @@ -195,19 +195,19 @@ class CtpGateway(BaseGateway): error_id = error["ErrorID"] error_msg = error["ErrorMsg"] msg = f"{msg},代码:{error_id},信息:{error_msg}" - self.write_log(msg) - + self.write_log(msg) + def process_timer_event(self, event): """""" self.count += 1 if self.count < 2: return self.count = 0 - + func = self.query_functions.pop(0) func() self.query_functions.append(func) - + def init_query(self): """""" self.count = 0 @@ -221,20 +221,20 @@ class CtpMdApi(MdApi): def __init__(self, gateway): """Constructor""" super(CtpMdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 - + self.connect_status = False self.login_status = False self.subscribed = set() - + self.userid = "" self.password = "" self.brokerid = "" - + def onFrontConnected(self): """ Callback when front server is connected. @@ -256,23 +256,23 @@ class CtpMdApi(MdApi): if not error["ErrorID"]: self.login_status = True self.gateway.write_log("行情服务器登录成功") - + for symbol in self.subscribed: self.subscribeMarketData(symbol) else: self.gateway.write_error("行情服务器登录失败", error) - + def onRspError(self, error: dict, reqid: int, last: bool): """ Callback when error occured. """ self.gateway.write_error("行情接口报错", error) - + def onRspSubMarketData(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error or not error["ErrorID"]: return - + self.gateway.write_error("行情订阅失败", error) def onRtnDepthMarketData(self, data: dict): @@ -283,9 +283,9 @@ class CtpMdApi(MdApi): exchange = symbol_exchange_map.get(symbol, "") if not exchange: return - + timestamp = f"{data['ActionDay']} {data['UpdateTime']}.{int(data['UpdateMillisec']/100)}" - + tick = TickData( symbol=symbol, exchange=exchange, @@ -306,7 +306,7 @@ class CtpMdApi(MdApi): ask_volume_1=data["AskVolume1"], gateway_name=self.gateway_name ) - self.gateway.on_tick(tick) + self.gateway.on_tick(tick) def connect(self, address: str, userid: str, password: str, brokerid: int): """ @@ -315,12 +315,12 @@ class CtpMdApi(MdApi): self.userid = userid self.password = password self.brokerid = brokerid - + # If not connected, then start connection first. if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcMdApi(str(path) + "\\Md") - + self.registerFront(address) self.init() @@ -328,7 +328,7 @@ class CtpMdApi(MdApi): # If already connected, then login immediately. elif not self.login_status: self.login() - + def login(self): """ Login onto server. @@ -338,10 +338,10 @@ class CtpMdApi(MdApi): "Password": self.password, "BrokerID": self.brokerid } - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def subscribe(self, req: SubscribeRequest): """ Subscribe to tick data update. @@ -349,7 +349,7 @@ class CtpMdApi(MdApi): if self.login_status: self.subscribeMarketData(req.symbol) self.subscribed.add(req.symbol) - + def close(self): """ Close the connection. @@ -364,47 +364,47 @@ class CtpTdApi(TdApi): def __init__(self, gateway): """Constructor""" super(CtpTdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 self.order_ref = 0 - + self.connect_status = False self.login_status = False self.auth_staus = False self.login_failed = False - + self.userid = "" self.password = "" self.brokerid = "" self.auth_code = "" self.appid = "" self.product_info = "" - + self.frontid = 0 self.sessionid = 0 - + self.order_data = [] self.trade_data = [] self.positions = {} self.sysid_orderid_map = {} - + def onFrontConnected(self): """""" self.gateway.write_log("交易服务器连接成功") - + if self.auth_code: self.authenticate() else: self.login() - + def onFrontDisconnected(self, reason: int): """""" self.login_status = False - self.gateway.write_log(f"交易服务器连接断开,原因{reason}") - + self.gateway.write_log(f"交易服务器连接断开,原因{reason}") + def onRspAuthenticate(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error['ErrorID']: @@ -413,7 +413,7 @@ class CtpTdApi(TdApi): self.login() else: self.gateway.write_error("交易服务器授权验证失败", error) - + def onRspUserLogin(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error["ErrorID"]: @@ -421,7 +421,7 @@ class CtpTdApi(TdApi): self.sessionid = data["SessionID"] self.login_status = True self.gateway.write_log("交易服务器登录成功") - + # Confirm settlement req = { "BrokerID": self.brokerid, @@ -431,17 +431,17 @@ class CtpTdApi(TdApi): self.reqSettlementInfoConfirm(req, self.reqid) else: self.login_failed = True - + self.gateway.write_error("交易服务器登录失败", error) - + def onRspOrderInsert(self, data: dict, error: dict, reqid: int, last: bool): """""" order_ref = data["OrderRef"] orderid = f"{self.frontid}_{self.sessionid}_{order_ref}" - + symbol = data["InstrumentID"] exchange = symbol_exchange_map[symbol] - + order = OrderData( symbol=symbol, exchange=exchange, @@ -454,31 +454,31 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.gateway.write_error("交易委托失败", error) - + def onRspOrderAction(self, data: dict, error: dict, reqid: int, last: bool): """""" self.gateway.write_error("交易撤单失败", error) - + def onRspQueryMaxOrderVolume(self, data: dict, error: dict, reqid: int, last: bool): """""" pass - + def onRspSettlementInfoConfirm(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of settlment info confimation. """ self.gateway.write_log("结算信息确认成功") - + self.reqid += 1 self.reqQryInstrument({}, self.reqid) - + def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool): """""" if not data: return - + # Get buffered position object key = f"{data['InstrumentID'], data['PosiDirection']}" position = self.positions.get(key, None) @@ -490,7 +490,7 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.positions[key] = position - + # For SHFE position data update if position.exchange == Exchange.SHFE: if data["YdPosition"] and not data["TodayPosition"]: @@ -498,34 +498,34 @@ class CtpTdApi(TdApi): # For other exchange position data update else: position.yd_volume = data["Position"] - data["TodayPosition"] - + # Get contract size (spread contract has no size value) size = symbol_size_map.get(position.symbol, 0) - + # Calculate previous position cost cost = position.price * position.volume * size - + # Update new position volume position.volume += data["Position"] position.pnl += data["PositionProfit"] - + # Calculate average position price if position.volume and size: cost += data["PositionCost"] position.price = cost / (position.volume * size) - + # Get frozen volume if position.direction == Direction.LONG: position.frozen += data["ShortFrozen"] else: position.frozen += data["LongFrozen"] - + if last: for position in self.positions.values(): self.gateway.on_position(position) - + self.positions.clear() - + def onRspQryTradingAccount(self, data: dict, error: dict, reqid: int, last: bool): """""" if "AccountID" not in data: @@ -538,15 +538,15 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) account.available = data["Available"] - + self.gateway.on_account(account) - + def onRspQryInstrument(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of instrument query. """ product = PRODUCT_CTP2VT.get(data["ProductClass"], None) - if product: + if product: contract = ContractData( symbol=data["InstrumentID"], exchange=EXCHANGE_CTP2VT[data["ExchangeID"]], @@ -556,31 +556,31 @@ class CtpTdApi(TdApi): pricetick=data["PriceTick"], gateway_name=self.gateway_name ) - + # For option only if contract.product == Product.OPTION: contract.option_underlying = data["UnderlyingInstrID"], contract.option_type = OPTIONTYPE_CTP2VT.get(data["OptionsType"], None), contract.option_strike = data["StrikePrice"], contract.option_expiry = datetime.strptime(data["ExpireDate"], "%Y%m%d"), - + self.gateway.on_contract(contract) - + symbol_exchange_map[contract.symbol] = contract.exchange symbol_name_map[contract.symbol] = contract.name symbol_size_map[contract.symbol] = contract.size - + if last: self.gateway.write_log("合约信息查询成功") - + for data in self.order_data: self.onRtnOrder(data) self.order_data.clear() - + for data in self.trade_data: self.onRtnTrade(data) self.trade_data.clear() - + def onRtnOrder(self, data: dict): """ Callback of order status update. @@ -590,12 +590,12 @@ class CtpTdApi(TdApi): if not exchange: self.order_data.append(data) return - + frontid = data["FrontID"] sessionid = data["SessionID"] order_ref = data["OrderRef"] orderid = f"{frontid}_{sessionid}_{order_ref}" - + order = OrderData( symbol=symbol, exchange=exchange, @@ -611,9 +611,9 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.sysid_orderid_map[data["OrderSysID"]] = orderid - + def onRtnTrade(self, data: dict): """ Callback of trade status update. @@ -625,7 +625,7 @@ class CtpTdApi(TdApi): return orderid = self.sysid_orderid_map[data["OrderSysID"]] - + trade = TradeData( symbol=symbol, exchange=exchange, @@ -638,15 +638,15 @@ class CtpTdApi(TdApi): time=data["TradeTime"], gateway_name=self.gateway_name ) - self.gateway.on_trade(trade) - + self.gateway.on_trade(trade) + def connect( - self, - address: str, - userid: str, - password: str, - brokerid: int, - auth_code: str, + self, + address: str, + userid: str, + password: str, + brokerid: int, + auth_code: str, appid: str, product_info ): @@ -659,21 +659,21 @@ class CtpTdApi(TdApi): self.auth_code = auth_code self.appid = appid self.product_info = product_info - + if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcTraderApi(str(path) + "\\Td") - + self.subscribePrivateTopic(0) self.subscribePublicTopic(0) - + self.registerFront(address) - self.init() + self.init() self.connect_status = True else: self.authenticate() - + def authenticate(self): """ Authenticate with auth_code and appid. @@ -687,10 +687,10 @@ class CtpTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqAuthenticate(req, self.reqid) - + def login(self): """ Login onto server. @@ -707,16 +707,16 @@ class CtpTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def send_order(self, req: OrderRequest): """ Send new order. """ self.order_ref += 1 - + ctp_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -737,7 +737,7 @@ class CtpTdApi(TdApi): "VolumeCondition": THOST_FTDC_VC_AV, "MinVolume": 1 } - + if req.type == OrderType.FAK: ctp_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice ctp_req["TimeCondition"] = THOST_FTDC_TC_IOC @@ -745,23 +745,23 @@ class CtpTdApi(TdApi): elif req.type == OrderType.FOK: ctp_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice ctp_req["TimeCondition"] = THOST_FTDC_TC_IOC - ctp_req["VolumeCondition"] = THOST_FTDC_VC_CV - + ctp_req["VolumeCondition"] = THOST_FTDC_VC_CV + self.reqid += 1 self.reqOrderInsert(ctp_req, self.reqid) - + orderid = f"{self.frontid}_{self.sessionid}_{self.order_ref}" order = req.create_order_data(orderid, self.gateway_name) self.gateway.on_order(order) - + return order.vt_orderid - + def cancel_order(self, req: CancelRequest): """ Cancel existing order. """ frontid, sessionid, order_ref = req.orderid.split("_") - + ctp_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -772,32 +772,32 @@ class CtpTdApi(TdApi): "BrokerID": self.brokerid, "InvestorID": self.userid } - + self.reqid += 1 self.reqOrderAction(ctp_req, self.reqid) - + def query_account(self): """ Query account balance data. """ self.reqid += 1 self.reqQryTradingAccount({}, self.reqid) - + def query_position(self): """ Query position holding data. """ if not symbol_exchange_map: return - + req = { "BrokerID": self.brokerid, "InvestorID": self.userid } - - self.reqid += 1 + + self.reqid += 1 self.reqQryInvestorPosition(req, self.reqid) - + def close(self): """""" if self.connect_status: diff --git a/vnpy/gateway/ctptest/ctptest_gateway.py b/vnpy/gateway/ctptest/ctptest_gateway.py index 22aee478..a25f9dec 100644 --- a/vnpy/gateway/ctptest/ctptest_gateway.py +++ b/vnpy/gateway/ctptest/ctptest_gateway.py @@ -136,7 +136,7 @@ class CtptestGateway(BaseGateway): } exchanges = list(EXCHANGE_CTP2VT.values()) - + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "CTPTEST") @@ -154,15 +154,15 @@ class CtptestGateway(BaseGateway): appid = setting["产品名称"] auth_code = setting["授权编码"] product_info = setting["产品信息"] - + if not td_address.startswith("tcp://"): td_address = "tcp://" + td_address if not md_address.startswith("tcp://"): md_address = "tcp://" + md_address - + self.td_api.connect(td_address, userid, password, brokerid, auth_code, appid, product_info) self.md_api.connect(md_address, userid, password, brokerid) - + self.init_query() def subscribe(self, req: SubscribeRequest): @@ -195,19 +195,19 @@ class CtptestGateway(BaseGateway): error_id = error["ErrorID"] error_msg = error["ErrorMsg"] msg = f"{msg},代码:{error_id},信息:{error_msg}" - self.write_log(msg) - + self.write_log(msg) + def process_timer_event(self, event): """""" self.count += 1 if self.count < 2: return self.count = 0 - + func = self.query_functions.pop(0) func() self.query_functions.append(func) - + def init_query(self): """""" self.count = 0 @@ -221,20 +221,20 @@ class CtpMdApi(MdApi): def __init__(self, gateway): """Constructor""" super(CtpMdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 - + self.connect_status = False self.login_status = False self.subscribed = set() - + self.userid = "" self.password = "" self.brokerid = "" - + def onFrontConnected(self): """ Callback when front server is connected. @@ -256,23 +256,23 @@ class CtpMdApi(MdApi): if not error["ErrorID"]: self.login_status = True self.gateway.write_log("行情服务器登录成功") - + for symbol in self.subscribed: self.subscribeMarketData(symbol) else: self.gateway.write_error("行情服务器登录失败", error) - + def onRspError(self, error: dict, reqid: int, last: bool): """ Callback when error occured. """ self.gateway.write_error("行情接口报错", error) - + def onRspSubMarketData(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error or not error["ErrorID"]: return - + self.gateway.write_error("行情订阅失败", error) def onRtnDepthMarketData(self, data: dict): @@ -283,9 +283,9 @@ class CtpMdApi(MdApi): exchange = symbol_exchange_map.get(symbol, "") if not exchange: return - + timestamp = f"{data['ActionDay']} {data['UpdateTime']}.{int(data['UpdateMillisec']/100)}" - + tick = TickData( symbol=symbol, exchange=exchange, @@ -305,7 +305,7 @@ class CtpMdApi(MdApi): ask_volume_1=data["AskVolume1"], gateway_name=self.gateway_name ) - self.gateway.on_tick(tick) + self.gateway.on_tick(tick) def connect(self, address: str, userid: str, password: str, brokerid: int): """ @@ -314,12 +314,12 @@ class CtpMdApi(MdApi): self.userid = userid self.password = password self.brokerid = brokerid - + # If not connected, then start connection first. if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcMdApi(str(path) + "\\Md") - + self.registerFront(address) self.init() @@ -327,7 +327,7 @@ class CtpMdApi(MdApi): # If already connected, then login immediately. elif not self.login_status: self.login() - + def login(self): """ Login onto server. @@ -337,10 +337,10 @@ class CtpMdApi(MdApi): "Password": self.password, "BrokerID": self.brokerid } - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def subscribe(self, req: SubscribeRequest): """ Subscribe to tick data update. @@ -348,7 +348,7 @@ class CtpMdApi(MdApi): if self.login_status: self.subscribeMarketData(req.symbol) self.subscribed.add(req.symbol) - + def close(self): """ Close the connection. @@ -363,47 +363,47 @@ class CtpTdApi(TdApi): def __init__(self, gateway): """Constructor""" super(CtpTdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 self.order_ref = 0 - + self.connect_status = False self.login_status = False self.auth_staus = False self.login_failed = False - + self.userid = "" self.password = "" self.brokerid = "" self.auth_code = "" self.appid = "" self.product_info = "" - + self.frontid = 0 self.sessionid = 0 - + self.order_data = [] self.trade_data = [] self.positions = {} self.sysid_orderid_map = {} - + def onFrontConnected(self): """""" self.gateway.write_log("交易服务器连接成功") - + if self.auth_code: self.authenticate() else: self.login() - + def onFrontDisconnected(self, reason: int): """""" self.login_status = False - self.gateway.write_log(f"交易服务器连接断开,原因{reason}") - + self.gateway.write_log(f"交易服务器连接断开,原因{reason}") + def onRspAuthenticate(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error['ErrorID']: @@ -412,7 +412,7 @@ class CtpTdApi(TdApi): self.login() else: self.gateway.write_error("交易服务器授权验证失败", error) - + def onRspUserLogin(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error["ErrorID"]: @@ -420,7 +420,7 @@ class CtpTdApi(TdApi): self.sessionid = data["SessionID"] self.login_status = True self.gateway.write_log("交易服务器登录成功") - + # Confirm settlement req = { "BrokerID": self.brokerid, @@ -430,17 +430,17 @@ class CtpTdApi(TdApi): self.reqSettlementInfoConfirm(req, self.reqid) else: self.login_failed = True - + self.gateway.write_error("交易服务器登录失败", error) - + def onRspOrderInsert(self, data: dict, error: dict, reqid: int, last: bool): """""" order_ref = data["OrderRef"] orderid = f"{self.frontid}_{self.sessionid}_{order_ref}" - + symbol = data["InstrumentID"] exchange = symbol_exchange_map[symbol] - + order = OrderData( symbol=symbol, exchange=exchange, @@ -453,31 +453,31 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.gateway.write_error("交易委托失败", error) - + def onRspOrderAction(self, data: dict, error: dict, reqid: int, last: bool): """""" self.gateway.write_error("交易撤单失败", error) - + def onRspQueryMaxOrderVolume(self, data: dict, error: dict, reqid: int, last: bool): """""" pass - + def onRspSettlementInfoConfirm(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of settlment info confimation. """ self.gateway.write_log("结算信息确认成功") - + self.reqid += 1 self.reqQryInstrument({}, self.reqid) - + def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool): """""" if not data: return - + # Get buffered position object key = f"{data['InstrumentID'], data['PosiDirection']}" position = self.positions.get(key, None) @@ -489,7 +489,7 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.positions[key] = position - + # For SHFE position data update if position.exchange == Exchange.SHFE: if data["YdPosition"] and not data["TodayPosition"]: @@ -497,34 +497,34 @@ class CtpTdApi(TdApi): # For other exchange position data update else: position.yd_volume = data["Position"] - data["TodayPosition"] - + # Get contract size (spread contract has no size value) size = symbol_size_map.get(position.symbol, 0) - + # Calculate previous position cost cost = position.price * position.volume * size - + # Update new position volume position.volume += data["Position"] position.pnl += data["PositionProfit"] - + # Calculate average position price if position.volume and size: cost += data["PositionCost"] position.price = cost / (position.volume * size) - + # Get frozen volume if position.direction == Direction.LONG: position.frozen += data["ShortFrozen"] else: position.frozen += data["LongFrozen"] - + if last: for position in self.positions.values(): self.gateway.on_position(position) - + self.positions.clear() - + def onRspQryTradingAccount(self, data: dict, error: dict, reqid: int, last: bool): """""" if "AccountID" not in data: @@ -537,15 +537,15 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) account.available = data["Available"] - + self.gateway.on_account(account) - + def onRspQryInstrument(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of instrument query. """ product = PRODUCT_CTP2VT.get(data["ProductClass"], None) - if product: + if product: contract = ContractData( symbol=data["InstrumentID"], exchange=EXCHANGE_CTP2VT[data["ExchangeID"]], @@ -555,31 +555,31 @@ class CtpTdApi(TdApi): pricetick=data["PriceTick"], gateway_name=self.gateway_name ) - + # For option only if contract.product == Product.OPTION: contract.option_underlying = data["UnderlyingInstrID"], contract.option_type = OPTIONTYPE_CTP2VT.get(data["OptionsType"], None), contract.option_strike = data["StrikePrice"], contract.option_expiry = datetime.strptime(data["ExpireDate"], "%Y%m%d"), - + self.gateway.on_contract(contract) - + symbol_exchange_map[contract.symbol] = contract.exchange symbol_name_map[contract.symbol] = contract.name symbol_size_map[contract.symbol] = contract.size - + if last: self.gateway.write_log("合约信息查询成功") - + for data in self.order_data: self.onRtnOrder(data) self.order_data.clear() - + for data in self.trade_data: self.onRtnTrade(data) self.trade_data.clear() - + def onRtnOrder(self, data: dict): """ Callback of order status update. @@ -589,12 +589,12 @@ class CtpTdApi(TdApi): if not exchange: self.order_data.append(data) return - + frontid = data["FrontID"] sessionid = data["SessionID"] order_ref = data["OrderRef"] orderid = f"{frontid}_{sessionid}_{order_ref}" - + order = OrderData( symbol=symbol, exchange=exchange, @@ -610,9 +610,9 @@ class CtpTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.sysid_orderid_map[data["OrderSysID"]] = orderid - + def onRtnTrade(self, data: dict): """ Callback of trade status update. @@ -624,7 +624,7 @@ class CtpTdApi(TdApi): return orderid = self.sysid_orderid_map[data["OrderSysID"]] - + trade = TradeData( symbol=symbol, exchange=exchange, @@ -637,15 +637,15 @@ class CtpTdApi(TdApi): time=data["TradeTime"], gateway_name=self.gateway_name ) - self.gateway.on_trade(trade) - + self.gateway.on_trade(trade) + def connect( - self, - address: str, - userid: str, - password: str, - brokerid: int, - auth_code: str, + self, + address: str, + userid: str, + password: str, + brokerid: int, + auth_code: str, appid: str, product_info ): @@ -658,21 +658,21 @@ class CtpTdApi(TdApi): self.auth_code = auth_code self.appid = appid self.product_info = product_info - + if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcTraderApi(str(path) + "\\Td") - + self.subscribePrivateTopic(0) self.subscribePublicTopic(0) - + self.registerFront(address) - self.init() + self.init() self.connect_status = True else: self.authenticate() - + def authenticate(self): """ Authenticate with auth_code and appid. @@ -686,10 +686,10 @@ class CtpTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqAuthenticate(req, self.reqid) - + def login(self): """ Login onto server. @@ -706,16 +706,16 @@ class CtpTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def send_order(self, req: OrderRequest): """ Send new order. """ self.order_ref += 1 - + ctp_req = { "InstrumentID": req.symbol, "LimitPrice": req.price, @@ -735,7 +735,7 @@ class CtpTdApi(TdApi): "VolumeCondition": THOST_FTDC_VC_AV, "MinVolume": 1 } - + if req.type == OrderType.FAK: ctp_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice ctp_req["TimeCondition"] = THOST_FTDC_TC_IOC @@ -743,23 +743,23 @@ class CtpTdApi(TdApi): elif req.type == OrderType.FOK: ctp_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice ctp_req["TimeCondition"] = THOST_FTDC_TC_IOC - ctp_req["VolumeCondition"] = THOST_FTDC_VC_CV - + ctp_req["VolumeCondition"] = THOST_FTDC_VC_CV + self.reqid += 1 self.reqOrderInsert(ctp_req, self.reqid) - + orderid = f"{self.frontid}_{self.sessionid}_{self.order_ref}" order = req.create_order_data(orderid, self.gateway_name) self.gateway.on_order(order) - + return order.vt_orderid - + def cancel_order(self, req: CancelRequest): """ Cancel existing order. """ frontid, sessionid, order_ref = req.orderid.split("_") - + ctp_req = { "InstrumentID": req.symbol, "Exchange": req.exchange, @@ -770,32 +770,32 @@ class CtpTdApi(TdApi): "BrokerID": self.brokerid, "InvestorID": self.userid } - + self.reqid += 1 self.reqOrderAction(ctp_req, self.reqid) - + def query_account(self): """ Query account balance data. """ self.reqid += 1 self.reqQryTradingAccount({}, self.reqid) - + def query_position(self): """ Query position holding data. """ if not symbol_exchange_map: return - + req = { "BrokerID": self.brokerid, "InvestorID": self.userid } - - self.reqid += 1 + + self.reqid += 1 self.reqQryInvestorPosition(req, self.reqid) - + def close(self): """""" if self.connect_status: diff --git a/vnpy/gateway/hbdm/hbdm_gateway.py b/vnpy/gateway/hbdm/hbdm_gateway.py index 5a822659..663feaf0 100644 --- a/vnpy/gateway/hbdm/hbdm_gateway.py +++ b/vnpy/gateway/hbdm/hbdm_gateway.py @@ -366,7 +366,7 @@ class HbdmRestApi(RestClient): else: for d in data["data"]: dt = datetime.fromtimestamp(d["id"]) - + bar = BarData( symbol=req.symbol, exchange=req.exchange, @@ -617,7 +617,7 @@ class HbdmRestApi(RestClient): for d in data["data"]["trades"]: dt = datetime.fromtimestamp(d["create_date"] / 1000) time = dt.strftime("%H:%M:%S") - + trade = TradeData( tradeid=d["match_id"], orderid=d["order_id"], @@ -744,7 +744,7 @@ class HbdmRestApi(RestClient): Callback when sending order caused exception. """ orders = request.extra - + for order in orders: order.status = Status.REJECTED self.gateway.on_order(order) @@ -770,7 +770,7 @@ class HbdmRestApi(RestClient): """""" if data["status"] != "error": return False - + error_code = data["err_code"] error_msg = data["err_msg"] @@ -795,17 +795,17 @@ class HbdmWebsocketApiBase(WebsocketClient): self.req_id = 0 def connect( - self, - key: str, - secret: str, - url: str, - proxy_host: str, + self, + key: str, + secret: str, + url: str, + proxy_host: str, proxy_port: int ): """""" self.key = key self.secret = secret - + host, path = _split_url(url) self.sign_host = host self.path = path @@ -822,7 +822,7 @@ class HbdmWebsocketApiBase(WebsocketClient): "type": "api", "cid": str(self.req_id), } - params.update(create_signature(self.key, "GET", self.sign_host, self.path, self.secret)) + params.update(create_signature(self.key, "GET", self.sign_host, self.path, self.secret)) return self.send_packet(params) def on_login(self, packet): @@ -832,7 +832,7 @@ class HbdmWebsocketApiBase(WebsocketClient): @staticmethod def unpack_data(data): """""" - return json.loads(zlib.decompress(data, 31)) + return json.loads(zlib.decompress(data, 31)) def on_packet(self, packet): """""" @@ -851,17 +851,17 @@ class HbdmWebsocketApiBase(WebsocketClient): return self.on_login() else: self.on_data(packet) - - def on_data(self, packet): + + def on_data(self, packet): """""" print("data : {}".format(packet)) - def on_error_msg(self, packet): + def on_error_msg(self, packet): """""" msg = packet["err-msg"] if msg == "invalid pong": return - + self.gateway.write_log(packet["err-msg"]) @@ -900,7 +900,7 @@ class HbdmTradeWebsocketApi(HbdmWebsocketApiBase): op = packet.get("op", None) if op != "notify": return - + topic = packet["topic"] if "orders" in topic: self.on_order(packet) @@ -930,7 +930,7 @@ class HbdmTradeWebsocketApi(HbdmWebsocketApiBase): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + # Push trade event trades = data["trade"] if not trades: @@ -951,7 +951,7 @@ class HbdmTradeWebsocketApi(HbdmWebsocketApiBase): volume=d["trade_volume"], time=time, gateway_name=self.gateway_name, - ) + ) self.gateway.on_trade(trade) @@ -974,7 +974,7 @@ class HbdmDataWebsocketApi(HbdmWebsocketApiBase): for ws_symbol in self.ticks.keys(): self.subscribe_data(ws_symbol) - + def subscribe(self, req: SubscribeRequest): """""" contract_type = symbol_type_map.get(req.symbol, "") @@ -995,25 +995,25 @@ class HbdmDataWebsocketApi(HbdmWebsocketApiBase): datetime=datetime.now(), gateway_name=self.gateway_name, ) - self.ticks[ws_symbol] = tick + self.ticks[ws_symbol] = tick self.subscribe_data(ws_symbol) - + def subscribe_data(self, ws_symbol: str): """""" # Subscribe to market depth update self.req_id += 1 req = { "sub": f"market.{ws_symbol}.depth.step0", - "id": str(self.req_id) + "id": str(self.req_id) } self.send_packet(req) - + # Subscribe to market detail update self.req_id += 1 req = { "sub": f"market.{ws_symbol}.detail", - "id": str(self.req_id) + "id": str(self.req_id) } self.send_packet(req) @@ -1040,7 +1040,7 @@ class HbdmDataWebsocketApi(HbdmWebsocketApiBase): if "bids" not in tick_data or "asks" not in tick_data: print(data) return - + bids = tick_data["bids"] for n in range(5): price, volume = bids[n] @@ -1061,7 +1061,7 @@ class HbdmDataWebsocketApi(HbdmWebsocketApiBase): ws_symbol = data["ch"].split(".")[1] tick = self.ticks[ws_symbol] tick.datetime = datetime.fromtimestamp(data["ts"] / 1000) - + tick_data = data["tick"] tick.open_price = tick_data["open"] tick.high_price = tick_data["high"] @@ -1100,16 +1100,16 @@ def create_signature(api_key, method, host, path, secret_key, get_params=None): sorted_params.extend(list(get_params.items())) sorted_params = list(sorted(sorted_params)) encode_params = urllib.parse.urlencode(sorted_params) - + payload = [method, host, path, encode_params] payload = "\n".join(payload) payload = payload.encode(encoding="UTF8") - + secret_key = secret_key.encode(encoding="UTF8") - + digest = hmac.new(secret_key, payload, digestmod=hashlib.sha256).digest() signature = base64.b64encode(digest) - + params = dict(sorted_params) params["Signature"] = signature.decode("UTF8") return params diff --git a/vnpy/gateway/huobi/huobi_gateway.py b/vnpy/gateway/huobi/huobi_gateway.py index 08c18e05..fc58dd13 100644 --- a/vnpy/gateway/huobi/huobi_gateway.py +++ b/vnpy/gateway/huobi/huobi_gateway.py @@ -373,7 +373,7 @@ class HuobiRestApi(RestClient): name = f"{base_currency.upper()}/{quote_currency.upper()}" pricetick = 1 / pow(10, d["price-precision"]) min_volume = 1 / pow(10, d["amount-precision"]) - + contract = ContractData( symbol=d["symbol"], exchange=Exchange.HUOBI, @@ -433,13 +433,13 @@ class HuobiRestApi(RestClient): cancel_request = request.extra local_orderid = cancel_request.orderid order = self.order_manager.get_order_with_local_orderid(local_orderid) - + if self.check_error(data, "撤单"): order.status = Status.REJECTED else: order.status = Status.CANCELLED self.gateway.write_log(f"委托撤单成功:{order.orderid}") - + self.order_manager.on_order(order) def on_error( @@ -459,7 +459,7 @@ class HuobiRestApi(RestClient): """""" if data["status"] != "error": return False - + error_code = data["err-code"] error_msg = data["err-msg"] @@ -483,17 +483,17 @@ class HuobiWebsocketApiBase(WebsocketClient): self.path = "" def connect( - self, - key: str, - secret: str, - url: str, - proxy_host: str, + self, + key: str, + secret: str, + url: str, + proxy_host: str, proxy_port: int ): """""" self.key = key self.secret = secret - + host, path = _split_url(url) self.sign_host = host self.path = path @@ -504,7 +504,7 @@ class HuobiWebsocketApiBase(WebsocketClient): def login(self): """""" params = {"op": "auth"} - params.update(create_signature(self.key, "GET", self.sign_host, self.path, self.secret)) + params.update(create_signature(self.key, "GET", self.sign_host, self.path, self.secret)) return self.send_packet(params) def on_login(self, packet): @@ -514,7 +514,7 @@ class HuobiWebsocketApiBase(WebsocketClient): @staticmethod def unpack_data(data): """""" - return json.loads(zlib.decompress(data, 31)) + return json.loads(zlib.decompress(data, 31)) def on_packet(self, packet): """""" @@ -533,17 +533,17 @@ class HuobiWebsocketApiBase(WebsocketClient): return self.on_login() else: self.on_data(packet) - - def on_data(self, packet): + + def on_data(self, packet): """""" print("data : {}".format(packet)) - def on_error_msg(self, packet): + def on_error_msg(self, packet): """""" msg = packet["err-msg"] if msg == "invalid pong": return - + self.gateway.write_log(packet["err-msg"]) @@ -586,7 +586,7 @@ class HuobiTradeWebsocketApi(HuobiWebsocketApiBase): op = packet.get("op", None) if op != "notify": return - + topic = packet["topic"] if "orders" in topic: self.on_order(packet["data"]) @@ -594,19 +594,19 @@ class HuobiTradeWebsocketApi(HuobiWebsocketApiBase): def on_order(self, data: dict): """""" sys_orderid = str(data["order-id"]) - + order = self.order_manager.get_order_with_sys_orderid(sys_orderid) if not order: self.order_manager.add_push_data(sys_orderid, data) return - + traded_volume = float(data["filled-amount"]) # Push order event order.traded += traded_volume order.status = STATUS_HUOBI2VT.get(data["order-state"], None) self.order_manager.on_order(order) - + # Push trade event if not traded_volume: return @@ -621,7 +621,7 @@ class HuobiTradeWebsocketApi(HuobiWebsocketApiBase): volume=float(data["filled-amount"]), time=datetime.now().strftime("%H:%M:%S"), gateway_name=self.gateway_name, - ) + ) self.gateway.on_trade(trade) @@ -642,7 +642,7 @@ class HuobiDataWebsocketApi(HuobiWebsocketApiBase): def on_connected(self): """""" self.gateway.write_log("行情Websocket API连接成功") - + def subscribe(self, req: SubscribeRequest): """""" symbol = req.symbol @@ -655,21 +655,21 @@ class HuobiDataWebsocketApi(HuobiWebsocketApiBase): datetime=datetime.now(), gateway_name=self.gateway_name, ) - self.ticks[symbol] = tick - + self.ticks[symbol] = tick + # Subscribe to market depth update self.req_id += 1 req = { "sub": f"market.{symbol}.depth.step0", - "id": str(self.req_id) + "id": str(self.req_id) } self.send_packet(req) - + # Subscribe to market detail update self.req_id += 1 req = { "sub": f"market.{symbol}.detail", - "id": str(self.req_id) + "id": str(self.req_id) } self.send_packet(req) @@ -691,7 +691,7 @@ class HuobiDataWebsocketApi(HuobiWebsocketApiBase): symbol = data["ch"].split(".")[1] tick = self.ticks[symbol] tick.datetime = datetime.fromtimestamp(data["ts"] / 1000) - + bids = data["tick"]["bids"] for n in range(5): price, volume = bids[n] @@ -712,7 +712,7 @@ class HuobiDataWebsocketApi(HuobiWebsocketApiBase): symbol = data["ch"].split(".")[1] tick = self.ticks[symbol] tick.datetime = datetime.fromtimestamp(data["ts"] / 1000) - + tick_data = data["tick"] tick.open_price = float(tick_data["open"]) tick.high_price = float(tick_data["high"]) @@ -751,16 +751,16 @@ def create_signature(api_key, method, host, path, secret_key, get_params=None): sorted_params.extend(list(get_params.items())) sorted_params = list(sorted(sorted_params)) encode_params = urllib.parse.urlencode(sorted_params) - + payload = [method, host, path, encode_params] payload = "\n".join(payload) payload = payload.encode(encoding="UTF8") - + secret_key = secret_key.encode(encoding="UTF8") - + digest = hmac.new(secret_key, payload, digestmod=hashlib.sha256).digest() signature = base64.b64encode(digest) - + params = dict(sorted_params) params["Signature"] = signature.decode("UTF8") return params diff --git a/vnpy/gateway/mini/mini_gateway.py b/vnpy/gateway/mini/mini_gateway.py index 889316c2..1811396f 100644 --- a/vnpy/gateway/mini/mini_gateway.py +++ b/vnpy/gateway/mini/mini_gateway.py @@ -13,7 +13,7 @@ from vnpy.api.mini import ( THOST_FTDC_OST_PartTradedQueueing, THOST_FTDC_OST_AllTraded, THOST_FTDC_OST_Canceled, - THOST_FTDC_D_Buy, + THOST_FTDC_D_Buy, THOST_FTDC_D_Sell, THOST_FTDC_PD_Long, THOST_FTDC_PD_Short, @@ -73,7 +73,7 @@ STATUS_MINI2VT = { } DIRECTION_VT2MINI = { - Direction.LONG: THOST_FTDC_D_Buy, + Direction.LONG: THOST_FTDC_D_Buy, Direction.SHORT: THOST_FTDC_D_Sell } DIRECTION_MINI2VT = {v: k for k, v in DIRECTION_VT2MINI.items()} @@ -81,13 +81,13 @@ DIRECTION_MINI2VT[THOST_FTDC_PD_Long] = Direction.LONG DIRECTION_MINI2VT[THOST_FTDC_PD_Short] = Direction.SHORT ORDERTYPE_VT2MINI = { - OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, + OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, OrderType.MARKET: THOST_FTDC_OPT_AnyPrice } ORDERTYPE_MINI2VT = {v: k for k, v in ORDERTYPE_VT2MINI.items()} OFFSET_VT2MINI = { - Offset.OPEN: THOST_FTDC_OF_Open, + Offset.OPEN: THOST_FTDC_OF_Open, Offset.CLOSE: THOST_FTDC_OFEN_Close, Offset.CLOSETODAY: THOST_FTDC_OFEN_CloseToday, Offset.CLOSEYESTERDAY: THOST_FTDC_OFEN_CloseYesterday, @@ -136,7 +136,7 @@ class MiniGateway(BaseGateway): } exchanges = list(EXCHANGE_MINI2VT.values()) - + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "MINI") @@ -154,15 +154,15 @@ class MiniGateway(BaseGateway): appid = setting["产品名称"] auth_code = setting["授权编码"] product_info = setting["产品信息"] - + if not td_address.startswith("tcp://"): td_address = "tcp://" + td_address if not md_address.startswith("tcp://"): md_address = "tcp://" + md_address - + self.td_api.connect(td_address, userid, password, brokerid, auth_code, appid, product_info) self.md_api.connect(md_address, userid, password, brokerid) - + self.init_query() def subscribe(self, req: SubscribeRequest): @@ -195,19 +195,19 @@ class MiniGateway(BaseGateway): error_id = error["ErrorID"] error_msg = error["ErrorMsg"] msg = f"{msg},代码:{error_id},信息:{error_msg}" - self.write_log(msg) - + self.write_log(msg) + def process_timer_event(self, event): """""" self.count += 1 if self.count < 2: return self.count = 0 - + func = self.query_functions.pop(0) func() self.query_functions.append(func) - + def init_query(self): """""" self.count = 0 @@ -221,20 +221,20 @@ class MiniMdApi(MdApi): def __init__(self, gateway): """Constructor""" super(MiniMdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 - + self.connect_status = False self.login_status = False self.subscribed = set() - + self.userid = "" self.password = "" self.brokerid = "" - + def onFrontConnected(self): """ Callback when front server is connected. @@ -256,23 +256,23 @@ class MiniMdApi(MdApi): if not error["ErrorID"]: self.login_status = True self.gateway.write_log("行情服务器登录成功") - + for symbol in self.subscribed: self.subscribeMarketData(symbol) else: self.gateway.write_error("行情服务器登录失败", error) - + def onRspError(self, error: dict, reqid: int, last: bool): """ Callback when error occured. """ self.gateway.write_error("行情接口报错", error) - + def onRspSubMarketData(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error or not error["ErrorID"]: return - + self.gateway.write_error("行情订阅失败", error) def onRtnDepthMarketData(self, data: dict): @@ -283,9 +283,9 @@ class MiniMdApi(MdApi): exchange = symbol_exchange_map.get(symbol, "") if not exchange: return - + timestamp = f"{data['ActionDay']} {data['UpdateTime']}.{int(data['UpdateMillisec']/100)}" - + tick = TickData( symbol=symbol, exchange=exchange, @@ -328,7 +328,7 @@ class MiniMdApi(MdApi): tick.ask_volume_4 = data["AskVolume4"] tick.ask_volume_5 = data["AskVolume5"] - self.gateway.on_tick(tick) + self.gateway.on_tick(tick) def connect(self, address: str, userid: str, password: str, brokerid: int): """ @@ -337,12 +337,12 @@ class MiniMdApi(MdApi): self.userid = userid self.password = password self.brokerid = brokerid - + # If not connected, then start connection first. if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcMdApi(str(path) + "\\Md") - + self.registerFront(address) self.init() @@ -350,7 +350,7 @@ class MiniMdApi(MdApi): # If already connected, then login immediately. elif not self.login_status: self.login() - + def login(self): """ Login onto server. @@ -360,10 +360,10 @@ class MiniMdApi(MdApi): "Password": self.password, "BrokerID": self.brokerid } - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def subscribe(self, req: SubscribeRequest): """ Subscribe to tick data update. @@ -371,7 +371,7 @@ class MiniMdApi(MdApi): if self.login_status: self.subscribeMarketData(req.symbol) self.subscribed.add(req.symbol) - + def close(self): """ Close the connection. @@ -386,47 +386,47 @@ class MiniTdApi(TdApi): def __init__(self, gateway): """Constructor""" super(MiniTdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 self.order_ref = 0 - + self.connect_status = False self.login_status = False self.auth_staus = False self.login_failed = False - + self.userid = "" self.password = "" self.brokerid = "" self.auth_code = "" self.appid = "" self.product_info = "" - + self.frontid = 0 self.sessionid = 0 - + self.order_data = [] self.trade_data = [] self.positions = {} self.sysid_orderid_map = {} - + def onFrontConnected(self): """""" self.gateway.write_log("交易服务器连接成功") - + if self.auth_code: self.authenticate() else: self.login() - + def onFrontDisconnected(self, reason: int): """""" self.login_status = False - self.gateway.write_log(f"交易服务器连接断开,原因{reason}") - + self.gateway.write_log(f"交易服务器连接断开,原因{reason}") + def onRspAuthenticate(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error['ErrorID']: @@ -435,7 +435,7 @@ class MiniTdApi(TdApi): self.login() else: self.gateway.write_error("交易服务器授权验证失败", error) - + def onRspUserLogin(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error["ErrorID"]: @@ -443,23 +443,23 @@ class MiniTdApi(TdApi): self.sessionid = data["SessionID"] self.login_status = True self.gateway.write_log("交易服务器登录成功") - + # Get instrument data directly without confirm settlement self.reqid += 1 self.reqQryInstrument({}, self.reqid) else: self.login_failed = True - + self.gateway.write_error("交易服务器登录失败", error) - + def onRspOrderInsert(self, data: dict, error: dict, reqid: int, last: bool): """""" order_ref = data["OrderRef"] orderid = f"{self.frontid}_{self.sessionid}_{order_ref}" - + symbol = data["InstrumentID"] exchange = symbol_exchange_map[symbol] - + order = OrderData( symbol=symbol, exchange=exchange, @@ -472,23 +472,23 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.gateway.write_error("交易委托失败", error) - + def onRspOrderAction(self, data: dict, error: dict, reqid: int, last: bool): """""" self.gateway.write_error("交易撤单失败", error) - + def onRspQueryMaxOrderVolume(self, data: dict, error: dict, reqid: int, last: bool): """""" pass - + def onRspSettlementInfoConfirm(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of settlment info confimation. """ pass - + def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool): """""" if data: @@ -503,7 +503,7 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.positions[key] = position - + # For SHFE position data update if position.exchange == Exchange.SHFE: if data["YdPosition"] and not data["TodayPosition"]: @@ -511,34 +511,34 @@ class MiniTdApi(TdApi): # For other exchange position data update else: position.yd_volume = data["Position"] - data["TodayPosition"] - + # Get contract size (spread contract has no size value) size = symbol_size_map.get(position.symbol, 0) - + # Calculate previous position cost cost = position.price * position.volume * size - + # Update new position volume position.volume += data["Position"] position.pnl += data["PositionProfit"] - + # Calculate average position price if position.volume and size: cost += data["PositionCost"] position.price = cost / (position.volume * size) - + # Get frozen volume if position.direction == Direction.LONG: position.frozen += data["ShortFrozen"] else: position.frozen += data["LongFrozen"] - + if last: for position in self.positions.values(): self.gateway.on_position(position) - + self.positions.clear() - + def onRspQryTradingAccount(self, data: dict, error: dict, reqid: int, last: bool): """""" if "AccountID" not in data: @@ -551,15 +551,15 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) account.available = data["Available"] - + self.gateway.on_account(account) - + def onRspQryInstrument(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of instrument query. """ product = PRODUCT_MINI2VT.get(data.get("ProductClass", None), None) - if product: + if product: contract = ContractData( symbol=data["InstrumentID"], exchange=EXCHANGE_MINI2VT[data["ExchangeID"]], @@ -569,31 +569,31 @@ class MiniTdApi(TdApi): pricetick=data["PriceTick"], gateway_name=self.gateway_name ) - + # For option only if contract.product == Product.OPTION: contract.option_underlying = data["UnderlyingInstrID"], contract.option_type = OPTIONTYPE_MINI2VT.get(data["OptionsType"], None), contract.option_strike = data["StrikePrice"], contract.option_expiry = datetime.strptime(data["ExpireDate"], "%Y%m%d"), - + self.gateway.on_contract(contract) - + symbol_exchange_map[contract.symbol] = contract.exchange symbol_name_map[contract.symbol] = contract.name symbol_size_map[contract.symbol] = contract.size - + if last: self.gateway.write_log("合约信息查询成功") - + for data in self.order_data: self.onRtnOrder(data) self.order_data.clear() - + for data in self.trade_data: self.onRtnTrade(data) self.trade_data.clear() - + def onRtnOrder(self, data: dict): """ Callback of order status update. @@ -603,12 +603,12 @@ class MiniTdApi(TdApi): if not exchange: self.order_data.append(data) return - + frontid = data["FrontID"] sessionid = data["SessionID"] order_ref = data["OrderRef"] orderid = f"{frontid}_{sessionid}_{order_ref}" - + order = OrderData( symbol=symbol, exchange=exchange, @@ -624,9 +624,9 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.sysid_orderid_map[data["OrderSysID"]] = orderid - + def onRtnTrade(self, data: dict): """ Callback of trade status update. @@ -638,7 +638,7 @@ class MiniTdApi(TdApi): return orderid = self.sysid_orderid_map[data["OrderSysID"]] - + trade = TradeData( symbol=symbol, exchange=exchange, @@ -651,15 +651,15 @@ class MiniTdApi(TdApi): time=data["TradeTime"], gateway_name=self.gateway_name ) - self.gateway.on_trade(trade) - + self.gateway.on_trade(trade) + def connect( - self, - address: str, - userid: str, - password: str, - brokerid: int, - auth_code: str, + self, + address: str, + userid: str, + password: str, + brokerid: int, + auth_code: str, appid: str, product_info ): @@ -672,21 +672,21 @@ class MiniTdApi(TdApi): self.auth_code = auth_code self.appid = appid self.product_info = product_info - + if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcTraderApi(str(path) + "\\Td") - + self.subscribePrivateTopic(0) self.subscribePublicTopic(0) - + self.registerFront(address) - self.init() + self.init() self.connect_status = True else: self.authenticate() - + def authenticate(self): """ Authenticate with auth_code and appid. @@ -700,10 +700,10 @@ class MiniTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqAuthenticate(req, self.reqid) - + def login(self): """ Login onto server. @@ -720,16 +720,16 @@ class MiniTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def send_order(self, req: OrderRequest): """ Send new order. """ self.order_ref += 1 - + mini_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -750,7 +750,7 @@ class MiniTdApi(TdApi): "VolumeCondition": THOST_FTDC_VC_AV, "MinVolume": 1 } - + if req.type == OrderType.FAK: mini_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice mini_req["TimeCondition"] = THOST_FTDC_TC_IOC @@ -758,23 +758,23 @@ class MiniTdApi(TdApi): elif req.type == OrderType.FOK: mini_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice mini_req["TimeCondition"] = THOST_FTDC_TC_IOC - mini_req["VolumeCondition"] = THOST_FTDC_VC_CV - + mini_req["VolumeCondition"] = THOST_FTDC_VC_CV + self.reqid += 1 self.reqOrderInsert(mini_req, self.reqid) - + orderid = f"{self.frontid}_{self.sessionid}_{self.order_ref}" order = req.create_order_data(orderid, self.gateway_name) self.gateway.on_order(order) - + return order.vt_orderid - + def cancel_order(self, req: CancelRequest): """ Cancel existing order. """ frontid, sessionid, order_ref = req.orderid.split("_") - + mini_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -785,32 +785,32 @@ class MiniTdApi(TdApi): "BrokerID": self.brokerid, "InvestorID": self.userid } - + self.reqid += 1 self.reqOrderAction(mini_req, self.reqid) - + def query_account(self): """ Query account balance data. """ self.reqid += 1 self.reqQryTradingAccount({}, self.reqid) - + def query_position(self): """ Query position holding data. """ if not symbol_exchange_map: return - + req = { "BrokerID": self.brokerid, "InvestorID": self.userid } - - self.reqid += 1 + + self.reqid += 1 self.reqQryInvestorPosition(req, self.reqid) - + def close(self): """""" if self.connect_status: diff --git a/vnpy/gateway/minitest/minitest_gateway.py b/vnpy/gateway/minitest/minitest_gateway.py index e00aa80d..cd315540 100644 --- a/vnpy/gateway/minitest/minitest_gateway.py +++ b/vnpy/gateway/minitest/minitest_gateway.py @@ -11,7 +11,7 @@ from vnpy.api.mini import ( THOST_FTDC_OST_PartTradedQueueing, THOST_FTDC_OST_AllTraded, THOST_FTDC_OST_Canceled, - THOST_FTDC_D_Buy, + THOST_FTDC_D_Buy, THOST_FTDC_D_Sell, THOST_FTDC_PD_Long, THOST_FTDC_PD_Short, @@ -73,7 +73,7 @@ STATUS_MINI2VT = { } DIRECTION_VT2MINI = { - Direction.LONG: THOST_FTDC_D_Buy, + Direction.LONG: THOST_FTDC_D_Buy, Direction.SHORT: THOST_FTDC_D_Sell } DIRECTION_MINI2VT = {v: k for k, v in DIRECTION_VT2MINI.items()} @@ -81,13 +81,13 @@ DIRECTION_MINI2VT[THOST_FTDC_PD_Long] = Direction.LONG DIRECTION_MINI2VT[THOST_FTDC_PD_Short] = Direction.SHORT ORDERTYPE_VT2MINI = { - OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, + OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, OrderType.MARKET: THOST_FTDC_OPT_AnyPrice } ORDERTYPE_MINI2VT = {v: k for k, v in ORDERTYPE_VT2MINI.items()} OFFSET_VT2MINI = { - Offset.OPEN: THOST_FTDC_OF_Open, + Offset.OPEN: THOST_FTDC_OF_Open, Offset.CLOSE: THOST_FTDC_OFEN_Close, Offset.CLOSETODAY: THOST_FTDC_OFEN_CloseToday, Offset.CLOSEYESTERDAY: THOST_FTDC_OFEN_CloseYesterday, @@ -136,7 +136,7 @@ class MinitestGateway(BaseGateway): } exchanges = list(EXCHANGE_MINI2VT.values()) - + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "MINITEST") @@ -154,15 +154,15 @@ class MinitestGateway(BaseGateway): appid = setting["产品名称"] auth_code = setting["授权编码"] product_info = setting["产品信息"] - + if not td_address.startswith("tcp://"): td_address = "tcp://" + td_address if not md_address.startswith("tcp://"): md_address = "tcp://" + md_address - + self.td_api.connect(td_address, userid, password, brokerid, auth_code, appid, product_info) self.md_api.connect(md_address, userid, password, brokerid) - + self.init_query() def subscribe(self, req: SubscribeRequest): @@ -195,19 +195,19 @@ class MinitestGateway(BaseGateway): error_id = error["ErrorID"] error_msg = error["ErrorMsg"] msg = f"{msg},代码:{error_id},信息:{error_msg}" - self.write_log(msg) - + self.write_log(msg) + def process_timer_event(self, event): """""" self.count += 1 if self.count < 2: return self.count = 0 - + func = self.query_functions.pop(0) func() self.query_functions.append(func) - + def init_query(self): """""" self.count = 0 @@ -221,20 +221,20 @@ class MiniMdApi(MdApi): def __init__(self, gateway): """Constructor""" super(MiniMdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 - + self.connect_status = False self.login_status = False self.subscribed = set() - + self.userid = "" self.password = "" self.brokerid = "" - + def onFrontConnected(self): """ Callback when front server is connected. @@ -256,23 +256,23 @@ class MiniMdApi(MdApi): if not error["ErrorID"]: self.login_status = True self.gateway.write_log("行情服务器登录成功") - + for symbol in self.subscribed: self.subscribeMarketData(symbol) else: self.gateway.write_error("行情服务器登录失败", error) - + def onRspError(self, error: dict, reqid: int, last: bool): """ Callback when error occured. """ self.gateway.write_error("行情接口报错", error) - + def onRspSubMarketData(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error or not error["ErrorID"]: return - + self.gateway.write_error("行情订阅失败", error) def onRtnDepthMarketData(self, data: dict): @@ -283,9 +283,9 @@ class MiniMdApi(MdApi): exchange = symbol_exchange_map.get(symbol, "") if not exchange: return - + timestamp = f"{data['ActionDay']} {data['UpdateTime']}.{int(data['UpdateMillisec']/100)}" - + tick = TickData( symbol=symbol, exchange=exchange, @@ -328,7 +328,7 @@ class MiniMdApi(MdApi): tick.ask_volume_4 = data["AskVolume4"] tick.ask_volume_5 = data["AskVolume5"] - self.gateway.on_tick(tick) + self.gateway.on_tick(tick) def connect(self, address: str, userid: str, password: str, brokerid: int): """ @@ -337,12 +337,12 @@ class MiniMdApi(MdApi): self.userid = userid self.password = password self.brokerid = brokerid - + # If not connected, then start connection first. if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcMdApi(str(path) + "\\Md") - + self.registerFront(address) self.init() @@ -350,7 +350,7 @@ class MiniMdApi(MdApi): # If already connected, then login immediately. elif not self.login_status: self.login() - + def login(self): """ Login onto server. @@ -360,10 +360,10 @@ class MiniMdApi(MdApi): "Password": self.password, "BrokerID": self.brokerid } - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def subscribe(self, req: SubscribeRequest): """ Subscribe to tick data update. @@ -371,7 +371,7 @@ class MiniMdApi(MdApi): if self.login_status: self.subscribeMarketData(req.symbol) self.subscribed.add(req.symbol) - + def close(self): """ Close the connection. @@ -386,47 +386,47 @@ class MiniTdApi(TdApi): def __init__(self, gateway): """Constructor""" super(MiniTdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 self.order_ref = 0 - + self.connect_status = False self.login_status = False self.auth_staus = False self.login_failed = False - + self.userid = "" self.password = "" self.brokerid = "" self.auth_code = "" self.appid = "" self.product_info = "" - + self.frontid = 0 self.sessionid = 0 - + self.order_data = [] self.trade_data = [] self.positions = {} self.sysid_orderid_map = {} - + def onFrontConnected(self): """""" self.gateway.write_log("交易服务器连接成功") - + if self.auth_code: self.authenticate() else: self.login() - + def onFrontDisconnected(self, reason: int): """""" self.login_status = False - self.gateway.write_log(f"交易服务器连接断开,原因{reason}") - + self.gateway.write_log(f"交易服务器连接断开,原因{reason}") + def onRspAuthenticate(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error['ErrorID']: @@ -435,7 +435,7 @@ class MiniTdApi(TdApi): self.login() else: self.gateway.write_error("交易服务器授权验证失败", error) - + def onRspUserLogin(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error["ErrorID"]: @@ -443,23 +443,23 @@ class MiniTdApi(TdApi): self.sessionid = data["SessionID"] self.login_status = True self.gateway.write_log("交易服务器登录成功") - + # Get instrument data directly without confirm settlement self.reqid += 1 self.reqQryInstrument({}, self.reqid) else: self.login_failed = True - + self.gateway.write_error("交易服务器登录失败", error) - + def onRspOrderInsert(self, data: dict, error: dict, reqid: int, last: bool): """""" order_ref = data["OrderRef"] orderid = f"{self.frontid}_{self.sessionid}_{order_ref}" - + symbol = data["InstrumentID"] exchange = symbol_exchange_map[symbol] - + order = OrderData( symbol=symbol, exchange=exchange, @@ -472,23 +472,23 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.gateway.write_error("交易委托失败", error) - + def onRspOrderAction(self, data: dict, error: dict, reqid: int, last: bool): """""" self.gateway.write_error("交易撤单失败", error) - + def onRspQueryMaxOrderVolume(self, data: dict, error: dict, reqid: int, last: bool): """""" pass - + def onRspSettlementInfoConfirm(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of settlment info confimation. """ pass - + def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool): """""" if data: @@ -503,7 +503,7 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.positions[key] = position - + # For SHFE position data update if position.exchange == Exchange.SHFE: if data["YdPosition"] and not data["TodayPosition"]: @@ -511,34 +511,34 @@ class MiniTdApi(TdApi): # For other exchange position data update else: position.yd_volume = data["Position"] - data["TodayPosition"] - + # Get contract size (spread contract has no size value) size = symbol_size_map.get(position.symbol, 0) - + # Calculate previous position cost cost = position.price * position.volume * size - + # Update new position volume position.volume += data["Position"] position.pnl += data["PositionProfit"] - + # Calculate average position price if position.volume and size: cost += data["PositionCost"] position.price = cost / (position.volume * size) - + # Get frozen volume if position.direction == Direction.LONG: position.frozen += data["ShortFrozen"] else: position.frozen += data["LongFrozen"] - + if last: for position in self.positions.values(): self.gateway.on_position(position) - + self.positions.clear() - + def onRspQryTradingAccount(self, data: dict, error: dict, reqid: int, last: bool): """""" if "AccountID" not in data: @@ -551,15 +551,15 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) account.available = data["Available"] - + self.gateway.on_account(account) - + def onRspQryInstrument(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of instrument query. """ product = PRODUCT_MINI2VT.get(data.get("ProductClass", None), None) - if product: + if product: contract = ContractData( symbol=data["InstrumentID"], exchange=EXCHANGE_MINI2VT[data["ExchangeID"]], @@ -569,31 +569,31 @@ class MiniTdApi(TdApi): pricetick=data["PriceTick"], gateway_name=self.gateway_name ) - + # For option only if contract.product == Product.OPTION: contract.option_underlying = data["UnderlyingInstrID"], contract.option_type = OPTIONTYPE_MINI2VT.get(data["OptionsType"], None), contract.option_strike = data["StrikePrice"], contract.option_expiry = datetime.strptime(data["ExpireDate"], "%Y%m%d"), - + self.gateway.on_contract(contract) - + symbol_exchange_map[contract.symbol] = contract.exchange symbol_name_map[contract.symbol] = contract.name symbol_size_map[contract.symbol] = contract.size - + if last: self.gateway.write_log("合约信息查询成功") - + for data in self.order_data: self.onRtnOrder(data) self.order_data.clear() - + for data in self.trade_data: self.onRtnTrade(data) self.trade_data.clear() - + def onRtnOrder(self, data: dict): """ Callback of order status update. @@ -603,12 +603,12 @@ class MiniTdApi(TdApi): if not exchange: self.order_data.append(data) return - + frontid = data["FrontID"] sessionid = data["SessionID"] order_ref = data["OrderRef"] orderid = f"{frontid}_{sessionid}_{order_ref}" - + order = OrderData( symbol=symbol, exchange=exchange, @@ -624,9 +624,9 @@ class MiniTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.sysid_orderid_map[data["OrderSysID"]] = orderid - + def onRtnTrade(self, data: dict): """ Callback of trade status update. @@ -638,7 +638,7 @@ class MiniTdApi(TdApi): return orderid = self.sysid_orderid_map[data["OrderSysID"]] - + trade = TradeData( symbol=symbol, exchange=exchange, @@ -651,15 +651,15 @@ class MiniTdApi(TdApi): time=data["TradeTime"], gateway_name=self.gateway_name ) - self.gateway.on_trade(trade) - + self.gateway.on_trade(trade) + def connect( - self, - address: str, - userid: str, - password: str, - brokerid: int, - auth_code: str, + self, + address: str, + userid: str, + password: str, + brokerid: int, + auth_code: str, appid: str, product_info ): @@ -672,21 +672,21 @@ class MiniTdApi(TdApi): self.auth_code = auth_code self.appid = appid self.product_info = product_info - + if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcTraderApi(str(path) + "\\Td") - + self.subscribePrivateTopic(0) self.subscribePublicTopic(0) - + self.registerFront(address) - self.init() + self.init() self.connect_status = True else: self.authenticate() - + def authenticate(self): """ Authenticate with auth_code and appid. @@ -700,10 +700,10 @@ class MiniTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqAuthenticate(req, self.reqid) - + def login(self): """ Login onto server. @@ -720,16 +720,16 @@ class MiniTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def send_order(self, req: OrderRequest): """ Send new order. """ self.order_ref += 1 - + mini_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -750,7 +750,7 @@ class MiniTdApi(TdApi): "VolumeCondition": THOST_FTDC_VC_AV, "MinVolume": 1 } - + if req.type == OrderType.FAK: mini_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice mini_req["TimeCondition"] = THOST_FTDC_TC_IOC @@ -758,23 +758,23 @@ class MiniTdApi(TdApi): elif req.type == OrderType.FOK: mini_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice mini_req["TimeCondition"] = THOST_FTDC_TC_IOC - mini_req["VolumeCondition"] = THOST_FTDC_VC_CV - + mini_req["VolumeCondition"] = THOST_FTDC_VC_CV + self.reqid += 1 self.reqOrderInsert(mini_req, self.reqid) - + orderid = f"{self.frontid}_{self.sessionid}_{self.order_ref}" order = req.create_order_data(orderid, self.gateway_name) self.gateway.on_order(order) - + return order.vt_orderid - + def cancel_order(self, req: CancelRequest): """ Cancel existing order. """ frontid, sessionid, order_ref = req.orderid.split("_") - + mini_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -785,32 +785,32 @@ class MiniTdApi(TdApi): "BrokerID": self.brokerid, "InvestorID": self.userid } - + self.reqid += 1 self.reqOrderAction(mini_req, self.reqid) - + def query_account(self): """ Query account balance data. """ self.reqid += 1 self.reqQryTradingAccount({}, self.reqid) - + def query_position(self): """ Query position holding data. """ if not symbol_exchange_map: return - + req = { "BrokerID": self.brokerid, "InvestorID": self.userid } - - self.reqid += 1 + + self.reqid += 1 self.reqQryInvestorPosition(req, self.reqid) - + def close(self): """""" if self.connect_status: diff --git a/vnpy/gateway/okexf/okexf_gateway.py b/vnpy/gateway/okexf/okexf_gateway.py index 28138c41..7d86bbe9 100644 --- a/vnpy/gateway/okexf/okexf_gateway.py +++ b/vnpy/gateway/okexf/okexf_gateway.py @@ -84,7 +84,7 @@ class OkexfGateway(BaseGateway): "API Key": "", "Secret Key": "", "Passphrase": "", - "Leverage": 10, + "Leverage": 10, "会话数": 3, "代理地址": "", "代理端口": "", @@ -248,7 +248,7 @@ class OkexfRestApi(RestClient): return "" orderid = f"a{self.connect_time}{self._new_order_id()}" - + data = { "client_oid": orderid, "type": TYPE_VT2OKEXF[(req.offset, req.direction)], @@ -377,8 +377,8 @@ class OkexfRestApi(RestClient): balance=float(d["equity"]), frozen=float(d.get("margin_for_unfilled", 0)), gateway_name=self.gateway_name, - ) - self.gateway.on_account(account) + ) + self.gateway.on_account(account) self.gateway.write_log("账户资金查询成功") def on_query_position(self, data, request): @@ -447,7 +447,7 @@ class OkexfRestApi(RestClient): order = request.extra order.status = Status.REJECTED - order.time = datetime.now().strftime("%H:%M:%S.%f") + order.time = datetime.now().strftime("%H:%M:%S.%f") self.gateway.on_order(order) msg = f"委托失败,状态码:{status_code},信息:{request.response.text}" self.gateway.write_log(msg) @@ -532,12 +532,12 @@ class OkexfRestApi(RestClient): for i in range(10): path = f"/api/futures/v3/instruments/{req.symbol}/candles" - + # Create query params params = { "granularity": INTERVAL_VT2OKEXF[req.interval] } - + if end_time: params["end"] = end_time @@ -586,7 +586,7 @@ class OkexfRestApi(RestClient): index = list(buf.keys()) index.sort() - + history = [buf[i] for i in index] return history @@ -886,7 +886,7 @@ class OkexfWebsocketApi(WebsocketClient): gateway_name=self.gateway_name, ) self.gateway.on_position(pos) - + def generate_signature(msg: str, secret_key: str): """OKEX V3 signature""" @@ -901,6 +901,6 @@ def get_timestamp(): def utc_to_local(timestamp): - time = datetime.strptime(timestamp, "%Y-%m-%dT%H:%M:%S.%fZ") + time = datetime.strptime(timestamp, "%Y-%m-%dT%H:%M:%S.%fZ") utc_time = time + timedelta(hours=8) return utc_time diff --git a/vnpy/gateway/sopt/sopt_gateway.py b/vnpy/gateway/sopt/sopt_gateway.py index f0522fb9..95283ca3 100644 --- a/vnpy/gateway/sopt/sopt_gateway.py +++ b/vnpy/gateway/sopt/sopt_gateway.py @@ -13,7 +13,7 @@ from vnpy.api.sopt import ( THOST_FTDC_OST_PartTradedQueueing, THOST_FTDC_OST_AllTraded, THOST_FTDC_OST_Canceled, - THOST_FTDC_D_Buy, + THOST_FTDC_D_Buy, THOST_FTDC_D_Sell, THOST_FTDC_PD_Long, THOST_FTDC_PD_Short, @@ -73,7 +73,7 @@ STATUS_SOPT2VT = { } DIRECTION_VT2SOPT = { - Direction.LONG: THOST_FTDC_D_Buy, + Direction.LONG: THOST_FTDC_D_Buy, Direction.SHORT: THOST_FTDC_D_Sell } DIRECTION_SOPT2VT = {v: k for k, v in DIRECTION_VT2SOPT.items()} @@ -81,13 +81,13 @@ DIRECTION_SOPT2VT[THOST_FTDC_PD_Long] = Direction.LONG DIRECTION_SOPT2VT[THOST_FTDC_PD_Short] = Direction.SHORT ORDERTYPE_VT2SOPT = { - OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, + OrderType.LIMIT: THOST_FTDC_OPT_LimitPrice, OrderType.MARKET: THOST_FTDC_OPT_AnyPrice } ORDERTYPE_SOPT2VT = {v: k for k, v in ORDERTYPE_VT2SOPT.items()} OFFSET_VT2SOPT = { - Offset.OPEN: THOST_FTDC_OF_Open, + Offset.OPEN: THOST_FTDC_OF_Open, Offset.CLOSE: THOST_FTDC_OFEN_Close, Offset.CLOSETODAY: THOST_FTDC_OFEN_CloseToday, Offset.CLOSEYESTERDAY: THOST_FTDC_OFEN_CloseYesterday, @@ -133,7 +133,7 @@ class SoptGateway(BaseGateway): } exchanges = list(EXCHANGE_SOPT2VT.values()) - + def __init__(self, event_engine): """Constructor""" super().__init__(event_engine, "SOPT") @@ -151,15 +151,15 @@ class SoptGateway(BaseGateway): appid = setting["产品名称"] auth_code = setting["授权编码"] product_info = setting["产品信息"] - + if not td_address.startswith("tcp://"): td_address = "tcp://" + td_address if not md_address.startswith("tcp://"): md_address = "tcp://" + md_address - + self.td_api.connect(td_address, userid, password, brokerid, auth_code, appid, product_info) self.md_api.connect(md_address, userid, password, brokerid) - + self.init_query() def subscribe(self, req: SubscribeRequest): @@ -192,19 +192,19 @@ class SoptGateway(BaseGateway): error_id = error["ErrorID"] error_msg = error["ErrorMsg"] msg = f"{msg},代码:{error_id},信息:{error_msg}" - self.write_log(msg) - + self.write_log(msg) + def process_timer_event(self, event): """""" self.count += 1 if self.count < 2: return self.count = 0 - + func = self.query_functions.pop(0) func() self.query_functions.append(func) - + def init_query(self): """""" self.count = 0 @@ -218,20 +218,20 @@ class SoptMdApi(MdApi): def __init__(self, gateway): """Constructor""" super(SoptMdApi, self).__init__() - + self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 - + self.connect_status = False self.login_status = False self.subscribed = set() - + self.userid = "" self.password = "" self.brokerid = "" - + def onFrontConnected(self): """ Callback when front server is connected. @@ -253,23 +253,23 @@ class SoptMdApi(MdApi): if not error["ErrorID"]: self.login_status = True self.gateway.write_log("行情服务器登录成功") - + for symbol in self.subscribed: self.subscribeMarketData(symbol) else: self.gateway.write_error("行情服务器登录失败", error) - + def onRspError(self, error: dict, reqid: int, last: bool): """ Callback when error occured. """ self.gateway.write_error("行情接口报错", error) - + def onRspSubMarketData(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error or not error["ErrorID"]: return - + self.gateway.write_error("行情订阅失败", error) def onRtnDepthMarketData(self, data: dict): @@ -281,7 +281,7 @@ class SoptMdApi(MdApi): if not exchange: return timestamp = f"{data['TradingDay']} {data['UpdateTime']}.{int(data['UpdateMillisec']/100)}" - + tick = TickData( symbol=symbol, exchange=exchange, @@ -302,7 +302,7 @@ class SoptMdApi(MdApi): ask_volume_1=data["AskVolume1"], gateway_name=self.gateway_name ) - self.gateway.on_tick(tick) + self.gateway.on_tick(tick) def connect(self, address: str, userid: str, password: str, brokerid: int): """ @@ -311,7 +311,7 @@ class SoptMdApi(MdApi): self.userid = userid self.password = password self.brokerid = brokerid - + # If not connected, then start connection first. if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) @@ -322,7 +322,7 @@ class SoptMdApi(MdApi): # If already connected, then login immediately. elif not self.login_status: self.login() - + def login(self): """ Login onto server. @@ -332,10 +332,10 @@ class SoptMdApi(MdApi): "Password": self.password, "BrokerID": self.brokerid } - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def subscribe(self, req: SubscribeRequest): """ Subscribe to tick data update. @@ -343,7 +343,7 @@ class SoptMdApi(MdApi): if self.login_status: self.subscribeMarketData(req.symbol) self.subscribed.add(req.symbol) - + def close(self): """ Close the connection. @@ -358,49 +358,49 @@ class SoptTdApi(TdApi): def __init__(self, gateway): """Constructor""" super(SoptTdApi, self).__init__() - + self.test = [] self.gateway = gateway self.gateway_name = gateway.gateway_name - + self.reqid = 0 self.order_ref = 0 - + self.connect_status = False self.login_status = False self.auth_staus = False self.login_failed = False - + self.userid = "" self.password = "" self.brokerid = "" self.auth_code = "" self.appid = "" self.product_info = "" - + self.frontid = 0 self.sessionid = 0 - + self.order_data = [] self.trade_data = [] self.positions = {} self.sysid_orderid_map = {} - + def onFrontConnected(self): """""" self.gateway.write_log("交易服务器连接成功") - + if self.auth_code: self.authenticate() else: self.login() - + def onFrontDisconnected(self, reason: int): """""" self.login_status = False - self.gateway.write_log(f"交易服务器连接断开,原因{reason}") - + self.gateway.write_log(f"交易服务器连接断开,原因{reason}") + def onRspAuthenticate(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error['ErrorID']: @@ -409,7 +409,7 @@ class SoptTdApi(TdApi): self.login() else: self.gateway.write_error("交易服务器授权验证失败", error) - + def onRspUserLogin(self, data: dict, error: dict, reqid: int, last: bool): """""" if not error["ErrorID"]: @@ -417,7 +417,7 @@ class SoptTdApi(TdApi): self.sessionid = data["SessionID"] self.login_status = True self.gateway.write_log("交易服务器登录成功") - + # Confirm settlement req = { "BrokerID": self.brokerid, @@ -427,17 +427,17 @@ class SoptTdApi(TdApi): self.reqSettlementInfoConfirm(req, self.reqid) else: self.login_failed = True - + self.gateway.write_error("交易服务器登录失败", error) - + def onRspOrderInsert(self, data: dict, error: dict, reqid: int, last: bool): """""" order_ref = data["OrderRef"] orderid = f"{self.frontid}_{self.sessionid}_{order_ref}" - + symbol = data["InstrumentID"] exchange = symbol_exchange_map[symbol] - + order = OrderData( symbol=symbol, exchange=exchange, @@ -450,31 +450,31 @@ class SoptTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.gateway.write_error("交易委托失败", error) - + def onRspOrderAction(self, data: dict, error: dict, reqid: int, last: bool): """""" self.gateway.write_error("交易撤单失败", error) - + def onRspQueryMaxOrderVolume(self, data: dict, error: dict, reqid: int, last: bool): """""" pass - + def onRspSettlementInfoConfirm(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of settlment info confimation. """ self.gateway.write_log("结算信息确认成功") - + self.reqid += 1 self.reqQryInstrument({}, self.reqid) - + def onRspQryInvestorPosition(self, data: dict, error: dict, reqid: int, last: bool): """""" if not data: return - + # Get buffered position object key = f"{data['InstrumentID'], data['PosiDirection']}" position = self.positions.get(key, None) @@ -486,7 +486,7 @@ class SoptTdApi(TdApi): gateway_name=self.gateway_name ) self.positions[key] = position - + # For SHFE position data update if position.exchange == Exchange.SHFE: if data["YdPosition"] and not data["TodayPosition"]: @@ -494,34 +494,34 @@ class SoptTdApi(TdApi): # For other exchange position data update else: position.yd_volume = data["Position"] - data["TodayPosition"] - + # Get contract size (spread contract has no size value) size = symbol_size_map.get(position.symbol, 0) - + # Calculate previous position cost cost = position.price * position.volume * size - + # Update new position volume position.volume += data["Position"] position.pnl += data["PositionProfit"] - + # Calculate average position price if position.volume and size: cost += data["PositionCost"] position.price = cost / (position.volume * size) - + # Get frozen volume if position.direction == Direction.LONG: position.frozen += data["ShortFrozen"] else: position.frozen += data["LongFrozen"] - + if last: for position in self.positions.values(): self.gateway.on_position(position) - + self.positions.clear() - + def onRspQryTradingAccount(self, data: dict, error: dict, reqid: int, last: bool): """""" account = AccountData( @@ -531,16 +531,16 @@ class SoptTdApi(TdApi): gateway_name=self.gateway_name ) account.available = data["Available"] - + self.gateway.on_account(account) - + def onRspQryInstrument(self, data: dict, error: dict, reqid: int, last: bool): """ Callback of instrument query. """ product = PRODUCT_SOPT2VT.get(data["ProductClass"], None) - if product: + if product: contract = ContractData( symbol=data["InstrumentID"], exchange=EXCHANGE_SOPT2VT[data["ExchangeID"]], @@ -550,31 +550,31 @@ class SoptTdApi(TdApi): pricetick=data["PriceTick"], gateway_name=self.gateway_name ) - + # For option only if contract.product == Product.OPTION: contract.option_underlying = data["UnderlyingInstrID"], contract.option_type = OPTIONTYPE_SOPT2VT.get(data["OptionsType"], None), contract.option_strike = data["StrikePrice"], contract.option_expiry = datetime.strptime(data["ExpireDate"], "%Y%m%d"), - + self.gateway.on_contract(contract) - + symbol_exchange_map[contract.symbol] = contract.exchange symbol_name_map[contract.symbol] = contract.name symbol_size_map[contract.symbol] = contract.size - + if last: self.gateway.write_log("合约信息查询成功") - + for data in self.order_data: self.onRtnOrder(data) self.order_data.clear() - + for data in self.trade_data: self.onRtnTrade(data) self.trade_data.clear() - + def onRtnOrder(self, data: dict): """ Callback of order status update. @@ -584,12 +584,12 @@ class SoptTdApi(TdApi): if not exchange: self.order_data.append(data) return - + frontid = data["FrontID"] sessionid = data["SessionID"] order_ref = data["OrderRef"] orderid = f"{frontid}_{sessionid}_{order_ref}" - + order = OrderData( symbol=symbol, exchange=exchange, @@ -605,9 +605,9 @@ class SoptTdApi(TdApi): gateway_name=self.gateway_name ) self.gateway.on_order(order) - + self.sysid_orderid_map[data["OrderSysID"]] = orderid - + def onRtnTrade(self, data: dict): """ Callback of trade status update. @@ -619,7 +619,7 @@ class SoptTdApi(TdApi): return orderid = self.sysid_orderid_map[data["OrderSysID"]] - + trade = TradeData( symbol=symbol, exchange=exchange, @@ -632,15 +632,15 @@ class SoptTdApi(TdApi): time=data["TradeTime"], gateway_name=self.gateway_name ) - self.gateway.on_trade(trade) - + self.gateway.on_trade(trade) + def connect( - self, - address: str, - userid: str, - password: str, - brokerid: int, - auth_code: str, + self, + address: str, + userid: str, + password: str, + brokerid: int, + auth_code: str, appid: str, product_info ): @@ -653,21 +653,21 @@ class SoptTdApi(TdApi): self.auth_code = auth_code self.appid = appid self.product_info = product_info - + if not self.connect_status: path = get_folder_path(self.gateway_name.lower()) self.createFtdcTraderApi(str(path) + "\\Td") - + self.subscribePrivateTopic(0) self.subscribePublicTopic(0) - + self.registerFront(address) - self.init() + self.init() self.connect_status = True else: self.authenticate() - + def authenticate(self): """ Authenticate with auth_code and appid. @@ -681,10 +681,10 @@ class SoptTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqAuthenticate(req, self.reqid) - + def login(self): """ Login onto server. @@ -701,16 +701,16 @@ class SoptTdApi(TdApi): if self.product_info: req["UserProductInfo"] = self.product_info - + self.reqid += 1 self.reqUserLogin(req, self.reqid) - + def send_order(self, req: OrderRequest): """ Send new order. """ self.order_ref += 1 - + sopt_req = { "InstrumentID": req.symbol, "ExchangeID": req.exchange.value, @@ -731,7 +731,7 @@ class SoptTdApi(TdApi): "VolumeCondition": THOST_FTDC_VC_AV, "MinVolume": 1 } - + if req.type == OrderType.FAK: sopt_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice sopt_req["TimeCondition"] = THOST_FTDC_TC_IOC @@ -739,23 +739,23 @@ class SoptTdApi(TdApi): elif req.type == OrderType.FOK: sopt_req["OrderPriceType"] = THOST_FTDC_OPT_LimitPrice sopt_req["TimeCondition"] = THOST_FTDC_TC_IOC - sopt_req["VolumeCondition"] = THOST_FTDC_VC_CV - + sopt_req["VolumeCondition"] = THOST_FTDC_VC_CV + self.reqid += 1 self.reqOrderInsert(sopt_req, self.reqid) - + orderid = f"{self.frontid}_{self.sessionid}_{self.order_ref}" order = req.create_order_data(orderid, self.gateway_name) self.gateway.on_order(order) - + return order.vt_orderid - + def cancel_order(self, req: CancelRequest): """ Cancel existing order. """ frontid, sessionid, order_ref = req.orderid.split("_") - + sopt_req = { "InstrumentID": req.symbol, "Exchange": req.exchange, @@ -766,32 +766,32 @@ class SoptTdApi(TdApi): "BrokerID": self.brokerid, "InvestorID": self.userid } - + self.reqid += 1 self.reqOrderAction(sopt_req, self.reqid) - + def query_account(self): """ Query account balance data. """ self.reqid += 1 self.reqQryTradingAccount({}, self.reqid) - + def query_position(self): """ Query position holding data. """ if not symbol_exchange_map: return - + req = { "BrokerID": self.brokerid, "InvestorID": self.userid } - - self.reqid += 1 + + self.reqid += 1 self.reqQryInvestorPosition(req, self.reqid) - + def close(self): """""" if self.connect_status: diff --git a/vnpy/gateway/tap/tap_gateway.py b/vnpy/gateway/tap/tap_gateway.py index 7ba6ed99..b0ee5f3d 100644 --- a/vnpy/gateway/tap/tap_gateway.py +++ b/vnpy/gateway/tap/tap_gateway.py @@ -222,7 +222,7 @@ class QuoteApi(ITapQuoteAPINotify): def OnAPIReady(self): """ - Callback when API is ready for sending requests or queries. + Callback when API is ready for sending requests or queries. """ self.api.QryCommodity() @@ -400,7 +400,7 @@ class TradeApi(ITapTradeAPINotify): def OnAPIReady(self, code: int): """ - Callback when API is ready for sending requests or queries. + Callback when API is ready for sending requests or queries. """ self.api.QryCommodity() diff --git a/vnpy/gateway/xtp/xtp_gateway.py b/vnpy/gateway/xtp/xtp_gateway.py index 9baa1cda..28eced47 100644 --- a/vnpy/gateway/xtp/xtp_gateway.py +++ b/vnpy/gateway/xtp/xtp_gateway.py @@ -512,7 +512,7 @@ class XtpTraderApi(API.TraderSpi): self.margin_trading = False self.option_trading = False - # + # self.short_positions = {} def connect( @@ -791,13 +791,13 @@ class XtpTraderApi(API.TraderSpi): """""" pass - def OnQueryCreditDebtInfo(self, debt_info: XTPCrdDebtInfo, error_info: XTPRspInfoStruct, + def OnQueryCreditDebtInfo(self, debt_info: XTPCrdDebtInfo, error_info: XTPRspInfoStruct, request_id: int, is_last: bool, session_id: int) -> Any: """""" if debt_info.debt_type == 1: symbol = debt_info.ticker exchange = MARKET_XTP2VT[debt_info.market] - + position = self.short_positions.get(symbol, None) if not position: position = PositionData( @@ -809,7 +809,7 @@ class XtpTraderApi(API.TraderSpi): self.short_positions[symbol] = position position.volume += debt_info.remain_qty - + if is_last: for position in self.short_positions.values(): self.gateway.on_position(position) diff --git a/vnpy/trader/engine.py b/vnpy/trader/engine.py index b21b12c6..a9d2205b 100644 --- a/vnpy/trader/engine.py +++ b/vnpy/trader/engine.py @@ -293,7 +293,7 @@ class LogEngine(BaseEngine): def add_file_handler(self): """ - Add file output of log. + Add file output of log. """ today_date = datetime.now().strftime("%Y%m%d") filename = f"vt_{today_date}.log" diff --git a/vnpy/trader/gateway.py b/vnpy/trader/gateway.py index b7af2f59..e3d1b73d 100644 --- a/vnpy/trader/gateway.py +++ b/vnpy/trader/gateway.py @@ -213,7 +213,7 @@ class BaseGateway(ABC): def send_orders(self, reqs: Sequence[OrderRequest]): """ Send a batch of orders to server. - Use a for loop of send_order function by default. + Use a for loop of send_order function by default. Reimplement this function if batch order supported on server. """ vt_orderids = [] @@ -227,7 +227,7 @@ class BaseGateway(ABC): def cancel_orders(self, reqs: Sequence[CancelRequest]): """ Cancel a batch of orders to server. - Use a for loop of cancel_order function by default. + Use a for loop of cancel_order function by default. Reimplement this function if batch cancel supported on server. """ for req in reqs: diff --git a/vnpy/trader/object.py b/vnpy/trader/object.py index 7c0f6249..fd6c8bf6 100644 --- a/vnpy/trader/object.py +++ b/vnpy/trader/object.py @@ -14,7 +14,7 @@ ACTIVE_STATUSES = set([Status.SUBMITTING, Status.NOTTRADED, Status.PARTTRADED]) @dataclass class BaseData: """ - Any data object needs a gateway_name as source + Any data object needs a gateway_name as source and should inherit base data. """ @@ -102,7 +102,7 @@ class BarData(BaseData): @dataclass class OrderData(BaseData): """ - Order data contains information for tracking lastest status + Order data contains information for tracking lastest status of a specific order. """ diff --git a/vnpy/trader/ui/widget.py b/vnpy/trader/ui/widget.py index f59e4c45..ad8c0297 100644 --- a/vnpy/trader/ui/widget.py +++ b/vnpy/trader/ui/widget.py @@ -132,7 +132,7 @@ class PnlCell(BaseCell): def set_content(self, content: Any, data: Any): """ - Cell color is set based on whether pnl is + Cell color is set based on whether pnl is positive or negative. """ super(PnlCell, self).set_content(content, data) @@ -993,7 +993,7 @@ class AboutDialog(QtWidgets.QDialog): text = """ Developed by Traders, for Traders. License:MIT - + Website:www.vnpy.com Github:www.github.com/vnpy/vnpy diff --git a/vnpy/trader/utility.py b/vnpy/trader/utility.py index 88c1e105..ceadb8c6 100644 --- a/vnpy/trader/utility.py +++ b/vnpy/trader/utility.py @@ -119,7 +119,7 @@ def round_to(value: float, target: float): class BarGenerator: """ - For: + For: 1. generating 1 minute bar data from tick data 2. generateing x minute bar/x hour bar data from 1 minute data