CN108230147A - A kind of exchange settlement method, system and device for quantifying investment tactics - Google Patents

A kind of exchange settlement method, system and device for quantifying investment tactics Download PDF

Info

Publication number
CN108230147A
CN108230147A CN201711275385.2A CN201711275385A CN108230147A CN 108230147 A CN108230147 A CN 108230147A CN 201711275385 A CN201711275385 A CN 201711275385A CN 108230147 A CN108230147 A CN 108230147A
Authority
CN
China
Prior art keywords
information
order
transaction
account
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711275385.2A
Other languages
Chinese (zh)
Other versions
CN108230147B (en
Inventor
施伟强
张友松
张来喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Guotengan Vocational Education Technology Co ltd
Original Assignee
GTA INFORMATION TECHNOLOGY Co Ltd (GTA)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GTA INFORMATION TECHNOLOGY Co Ltd (GTA) filed Critical GTA INFORMATION TECHNOLOGY Co Ltd (GTA)
Priority to CN201711275385.2A priority Critical patent/CN108230147B/en
Publication of CN108230147A publication Critical patent/CN108230147A/en
Application granted granted Critical
Publication of CN108230147B publication Critical patent/CN108230147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明适用于数据处理技术领域,提供了一种量化投资策略的交易清算方法、系统及装置,包括:从后台服务器获取盘前表信息;从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。本发明能够在本地进行字段全面且基本无延时的交易清算。

The present invention is applicable to the technical field of data processing, and provides a transaction clearing method, system and device for quantitative investment strategies, including: obtaining pre-market table information from a background server; obtaining transaction parameter information from the background server or counter server, or Obtain transaction parameter information input by the user; perform account initialization, wherein the account initialization includes obtaining account information from the counter server; obtaining and saving the order from the counter server and/or according to the acquired order instruction input by the user information, order information comes from the account information, the order instruction input by the user, commission return, transaction return or order status query results; according to the pre-market table information, the transaction parameter information, the account number information and the order information for liquidation processing. The invention can carry out transaction clearing locally with comprehensive fields and substantially no delay.

Description

一种量化投资策略的交易清算方法、系统及装置A transaction clearing method, system and device for a quantitative investment strategy

技术领域technical field

本发明属于数据处理领域,尤其涉及一种量化投资策略的交易清算方法、系统及装置。The invention belongs to the field of data processing, and in particular relates to a transaction settlement method, system and device for quantitative investment strategies.

背景技术Background technique

近来,金融市场上交易的行为和类型越来越多,因此,交易清算也成为了交易链中最重要的一个环节。目前,本地获取交易清算结果有两种方式:在本地进行清算和获取柜台的清算结果。Recently, there are more and more transactions and types in the financial market. Therefore, transaction clearing has become the most important link in the transaction chain. At present, there are two ways to obtain the transaction clearing result locally: clearing locally and obtaining the clearing result at the counter.

然而,在本地进行清算获取的数据字段不够全面,而本地获取柜台清算结果存在延时且查询频率可能受到限制,因此本地很难快速获得真实的清算结果。However, the data fields obtained by local liquidation are not comprehensive enough, and there is a delay in obtaining the counter liquidation results locally and the query frequency may be limited, so it is difficult to quickly obtain real liquidation results locally.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种量化投资策略的交易清算方法、系统及装置,以解决现有技术中在本地进行清算获取的数据字段不够全面,而本地获取柜台清算结果存在延时且查询频率可能受到限制,因此本地很难快速获得真实的清算结果的问题。In view of this, the embodiment of the present invention provides a transaction clearing method, system and device for quantitative investment strategies to solve the problem that in the prior art, the data fields obtained by local clearing are not comprehensive enough, and there is a delay in obtaining the counter clearing results locally And the query frequency may be limited, so it is difficult to quickly obtain real liquidation results locally.

本发明实施例的第一方面提供了一种量化投资策略的交易清算方法,包括:The first aspect of the embodiments of the present invention provides a transaction settlement method for quantitative investment strategies, including:

从后台服务器获取盘前表信息;Obtain pre-market table information from the background server;

从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;Obtain transaction parameter information from the background server or counter server, or obtain transaction parameter information input by the user;

执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;performing account initialization, wherein the account initialization includes acquiring account information from the counter server;

从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;Obtain and save order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, the order instruction input by the user, commission return, and transaction return or order status query results; wherein, the order information is specifically derived from the unsettled order information obtained in the account information obtained during account initialization, the order instruction input by the user, and the order return pushed by the counter server , the transaction report or order status inquiry result pushed by the counter server;

根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。Perform liquidation processing according to the pre-market table information, the transaction parameter information, the account information and the order information.

本发明实施例的第二方面提供了一种量化投资策略的交易清算系统,包括:The second aspect of the embodiment of the present invention provides a quantitative investment strategy transaction clearing system, including:

盘前表信息获取模块,用于从后台服务器获取盘前表信息;A pre-market table information acquisition module is used to obtain the pre-market table information from the background server;

交易参数信息获取模块,用于从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;A transaction parameter information obtaining module, configured to obtain transaction parameter information from the background server or the counter server, or obtain transaction parameter information input by the user;

账号信息获取模块,用于执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;An account information acquisition module, configured to perform account initialization, wherein the account initialization includes acquiring account information from the counter server;

委托单信息管理模块,用于从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;The order information management module is used to obtain and save order information from the counter server and/or according to the obtained order instruction input by the user, the order information comes from the account information, and the order information entered by the user order order, entrustment return, transaction return or entrustment order status query result; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization acquisition account information, the order order input by the user, The entrustment return pushed by the counter server, the transaction return or order status inquiry result pushed by the counter server;

清算处理模块,用于根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。A liquidation processing module, configured to perform liquidation processing according to the pre-market table information, the transaction parameter information, the account information and the order information.

本发明实施例的第三方面提供了一种量化投资策略的交易清算装置,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述方法的步骤。The third aspect of the embodiments of the present invention provides a transaction clearing device for quantitative investment strategies, including a memory, a processor, and a computer program stored in the memory and operable on the processor. The processor executes The computer program implements the steps of the above method.

本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述方法的步骤。A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

本发明实施例从后台服务器获取盘前表信息;从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。本发明能够在本地进行字段全面且基本无延时的交易清算。In this embodiment of the present invention, the pre-market table information is obtained from the background server; the transaction parameter information is obtained from the background server or the counter server, or the transaction parameter information input by the user is obtained; and account initialization is performed, wherein the account initialization includes The server obtains account information; obtains and saves order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, and the order instruction input by the user, entrustment return, transaction return or entrustment order status query result; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization to obtain account information, the order instruction input by the user, and the counter The entrustment return pushed by the server, the transaction return or order status inquiry result pushed by the counter server; liquidation processing is performed according to the pre-market table information, the transaction parameter information, the account information and the order information. The invention can carry out transaction clearing locally with comprehensive fields and almost no delay.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without paying creative efforts.

图1是本发明实施例一提供的量化投资策略的交易清算方法的示意流程图;Fig. 1 is a schematic flowchart of the transaction settlement method of the quantitative investment strategy provided by Embodiment 1 of the present invention;

图2是本发明实施例二提供的量化投资策略的交易清算方法的示意流程图;Fig. 2 is a schematic flowchart of the transaction settlement method of the quantitative investment strategy provided by the second embodiment of the present invention;

图3是本发明实施例三提供的量化投资策略的交易清算方法的示意流程图;Fig. 3 is a schematic flowchart of the transaction settlement method of the quantitative investment strategy provided by the third embodiment of the present invention;

图4是本发明实施例四提供的量化投资策略的交易清算系统的结构示意图;Fig. 4 is a schematic structural diagram of a transaction clearing system for a quantitative investment strategy provided in Embodiment 4 of the present invention;

图5是本发明实施例五提供的量化投资策略的交易清算系统的结构示意图;Fig. 5 is a schematic structural diagram of the transaction clearing system of the quantitative investment strategy provided by Embodiment 5 of the present invention;

图6是本发明实施例六提供的量化投资策略的交易清算系统的结构示意图;FIG. 6 is a schematic structural diagram of a transaction clearing system for a quantitative investment strategy provided in Embodiment 6 of the present invention;

图7是本发明实施例七提供的量化投资策略的交易清算装置的示意图。Fig. 7 is a schematic diagram of a transaction settlement device for a quantitative investment strategy provided by Embodiment 7 of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含一系列步骤或单元的过程、方法或系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。The terms "comprising" and any variations thereof in the description and claims of the present invention and the above drawings are intended to cover non-exclusive inclusion. For example, a process, method or system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or optionally further includes Other steps or units inherent in these processes, methods, products or apparatus. In addition, the terms "first", "second", and "third", etc. are used to distinguish different objects, not to describe a specific order.

为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present invention, specific examples are used below to illustrate.

实施例一:Embodiment one:

如图1所示,本实施例提供一种量化投资策略的交易清算方法,该方法可以由手机、平板电脑、PC客户端等智能终端来运行。As shown in FIG. 1 , this embodiment provides a transaction settlement method for quantitative investment strategies, which can be run by smart terminals such as mobile phones, tablet computers, and PC clients.

本实施例所提供的量化投资策略的交易清算方法包括:The transaction clearing method of the quantitative investment strategy provided in this embodiment includes:

S101、从后台服务器获取盘前表信息。S101. Obtain pre-market table information from a background server.

在本实施例中,所述方法可以用于对股票交易、期货交易或期权交易进行清算。In this embodiment, the method can be used to clear stock transactions, futures transactions or options transactions.

在本实施例中,本地存储空间是指当前运行清算处理程序的终端设备内置或外接的存储设备中的存储空间。In this embodiment, the local storage space refers to the storage space in the built-in or external storage device of the terminal device currently running the liquidation processing program.

在本实施例中,后台服务器是指对所述清算处理程序进行后台维护的软件服务商或开发者所运行的服务器。柜台服务器是指券商的交易服务器。In this embodiment, the background server refers to a server run by a software service provider or a developer who performs background maintenance on the liquidation processing program. The counter server refers to the trading server of the brokerage.

在具体应用中,盘前表信息具体可以包括:交易代码,交易所,品种类型,涨跌停价,昨结价,剩余天数,合约乘数,交易日期,行权价格,标的证券前收盘价,品种ID最低保障系数,交易所初始保证金等与量化投资策略的交易相关的信息,还可以包括其他交易信息,本实施例中不对盘前表信息的内容做具体限定。In a specific application, the pre-market table information can specifically include: transaction code, exchange, product type, limit price, yesterday's settlement price, remaining days, contract multiplier, transaction date, exercise price, and previous closing price of the underlying securities , the minimum guarantee coefficient of the product ID, the initial margin of the exchange and other information related to the quantitative investment strategy transaction, and other transaction information can also be included. In this embodiment, the content of the pre-market table information is not specifically limited.

其中,所述期货指得主要不是货,而是以某种大众产品如棉花、大豆、石油等及金融资产如股票、债券等为标的标准化可交易合约。Among them, the futures mainly refer not to goods, but to standardized tradable contracts based on certain mass products such as cotton, soybeans, oil, etc. and financial assets such as stocks and bonds.

所述期权又称为选择权,是一种衍生性金融工具。是指买方向卖方支付期权费(指权利金)后拥有的在未来一段时间内(指美式期权)或未来某一特定日期(指欧式期权)以事先规定好的价格(指履约价格)向卖方购买或出售一定数量的特定商品的权利,但不负有必须买进或卖出的义务(即期权买方拥有选择是否行使买入或卖出的权利,而期权卖方都必须无条件服从买方的选择并履行成交时的允诺)。The option, also known as option, is a derivative financial instrument. It means that after the buyer pays the option premium (referring to the premium) to the seller, it will be paid to the seller at a predetermined price (referring to the strike price) within a certain period of time in the future (referring to the American option) or on a certain date in the future (referring to the European option). The right to buy or sell a certain amount of specific commodities, but there is no obligation to buy or sell (that is, the option buyer has the right to choose whether to exercise buying or selling, and the option seller must unconditionally obey the buyer's choice and Fulfillment of promises at the time of transaction).

所述昨结价是指昨日交易收盘时结算的价格。The settlement price yesterday refers to the price settled at the close of trading yesterday.

所述合约乘数是指在股指期货交易中,合约的价值是以一定的货币金额与标的指数的乘积来表示。这一定的货币金额是由合约所固定的,称为合约乘数。The contract multiplier refers to that in stock index futures trading, the value of the contract is represented by the product of a certain monetary amount and the underlying index. This certain currency amount is fixed by the contract and is called the contract multiplier.

所述行权价格是指发行人发行权证时所约定的,权证持有人向发行人购买或出售标的证券的价格。The exercise price mentioned above refers to the price agreed upon by the issuer when issuing the warrant, and the price at which the warrant holder purchases or sells the underlying securities from the issuer.

所述标的证券是投资者融入资金可买入的证券和证券公司可对投资者融出的证券。所述收盘价是指某种证券在证券交易所每个交易日里的最后一笔买卖成交价格。The target securities are securities that investors can buy with borrowed funds and securities that securities companies can lend to investors. The closing price refers to the last transaction price of a certain security in each trading day on the stock exchange.

在一个实施例中,步骤S101具体包括:In one embodiment, step S101 specifically includes:

若启动清算处理程序,则从所述后台服务器获取盘前表信息并保存至本地存储空间;If the liquidation processing program is started, the pre-market table information is obtained from the background server and saved to the local storage space;

启动清算处理程序后,若当前时间到达预定时间,则再次从所述后台服务器获取盘前表信息并保存至本地存储空间。After starting the liquidation processing program, if the current time reaches the predetermined time, the pre-market table information is obtained from the background server again and saved to the local storage space.

具体地,预定时间可以是预设的时间,也可以是预设时间间隔。Specifically, the predetermined time may be a preset time or a preset time interval.

具体应用中,获取盘前表信息保存在本地存储空间之后,启动账号初始化。In a specific application, after obtaining the pre-disk table information and saving it in the local storage space, account initialization is started.

在具体应用中,获取盘前表信息保存在本地存储空间之后,增加时间标记。In a specific application, after obtaining the pre-disk table information and saving it in the local storage space, a time stamp is added.

便于再启动程序时,可以通过读取本地存储空间获取盘前表时间标记信息,判断是否向后台服务器获取盘前表信息。When restarting the program, you can read the local storage space to obtain the time stamp information of the pre-disk table, and judge whether to obtain the pre-disk table information from the background server.

在具体应用中,自动保存所述交易的信息至本地存储空间,用于后续进行的本地清算处理。例如交易代码、交易代码与交易所组合信息或其他相关信息。In a specific application, the transaction information is automatically saved to a local storage space for subsequent local settlement processing. For example, transaction symbol, transaction symbol and exchange combination information or other relevant information.

在本实施例中:In this example:

S102、从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息。S102. Obtain transaction parameter information from the background server or counter server, or obtain transaction parameter information input by a user.

在一个实施例中,步骤S102具体包括:In one embodiment, step S102 specifically includes:

根据账号保存、设置、获取交易参数信息;Save, set, and obtain transaction parameter information according to the account;

检测自动获取功能是否开启;Detect whether the automatic acquisition function is enabled;

若自动获取功能开启,且所述账号为登录状态时,从所述柜台服务器获取交易参数信息;If the automatic acquisition function is enabled and the account is in a login state, acquire transaction parameter information from the counter server;

若自动获取功能关闭,则在接收到用户输入的交易参数获取指令时,根据所述交易参数获取指令从所述柜台服务器获取交易参数信息。If the automatic acquisition function is turned off, when a transaction parameter acquisition instruction input by the user is received, the transaction parameter information is acquired from the counter server according to the transaction parameter acquisition instruction.

具体地,将获取的用户输入的交易参数信息或柜台服务器的交易参数信息,保存到所述本地存储空间;判断所述本地存储空间有无保存所述账号对应的交易参数信息,若所述本地存储空间没有保存所述账号对应的交易参数信息,则从所述后台服务器获取交易参数信息。Specifically, save the acquired transaction parameter information input by the user or the transaction parameter information of the counter server in the local storage space; determine whether the local storage space stores the transaction parameter information corresponding to the account, if the local If the storage space does not save the transaction parameter information corresponding to the account, the transaction parameter information is obtained from the background server.

具体地,一个账号每天执行一次自动获取交易参数。Specifically, an account executes automatic acquisition of transaction parameters once a day.

具体地,获取交易参数在后台进行,用户可以同时进行交易。Specifically, acquisition of transaction parameters is performed in the background, and users can conduct transactions at the same time.

具体地,所述账号信息包括:资金信息、账户持仓信息和未结委托单信息等。Specifically, the account information includes: fund information, account position information, open order information, and the like.

具体地,所述交易参数信息包括:现货交易参数、期货交易参数和期权交易参数。Specifically, the transaction parameter information includes: spot transaction parameters, futures transaction parameters and option transaction parameters.

具体地,所述现货交易参数包括:交易品种,单边交易佣金,过户费比例,印花税率。Specifically, the spot transaction parameters include: transaction types, unilateral transaction commissions, transfer fee ratios, and stamp duty rates.

其中,所述单边交易是指买入或卖出其中一个方向的交易。Wherein, the unilateral transaction refers to a transaction of buying or selling in one direction.

所述印花税是对经济活动和经济交往中设立、领受具有法律效力的凭证的行为所征收的一种税。The stamp duty is a tax levied on the act of establishing and receiving legally effective certificates in economic activities and economic exchanges.

所述过户费是指委托买卖的股票、基金成交后,由买卖双方为变更股权登记所支付的费用。The transfer fee refers to the fee paid by the buyer and the seller for the change of equity registration after the entrusted trading of stocks and funds is completed.

具体地,所述期货交易参数包括:交易代码,空头保证金比率,多头保证金比率,开仓手续费(元/手),平仓手续费(元/手),平今手续费(元/手)以及开仓手续费(元/万元),平仓手续费(元/万元),平今手续费(元/万元)。Specifically, the futures trading parameters include: transaction code, short margin ratio, long margin ratio, opening commission (yuan/lot), liquidation commission (yuan/lot), closing today commission (yuan/lot) And open position handling fee (yuan/10,000 yuan), closing position handling fee (yuan/10,000 yuan), closing today handling fee (yuan/10,000 yuan).

其中,所述多头是指在期货交易中,投资者买入期货合约后所持有的仓位叫多头持仓,简称多头。Wherein, the long position refers to a position held by an investor after buying a futures contract in futures trading, which is called a long position, referred to as a long position.

所述空头是指卖出期货合约后所持有的仓位叫空头持仓,简称空头。持有多头的投资者认为期货合约价格会涨,所以买进;相反,持有空头的投资者认为期货合约价格以后会下跌,所以才卖出。The short position refers to the position held after selling the futures contract, which is called a short position, referred to as a short position. Investors who hold long positions think that the price of the futures contract will rise, so they buy it; on the contrary, investors who hold short positions think that the price of the futures contract will fall in the future, so they sell it.

所述保证金比率是客户要缴纳的保证金与买卖证券总市值的比率。The margin ratio is the ratio of the margin to be paid by the client to the total market value of the securities traded.

在期货交易中,“平今”就是平掉今天仓位,“平仓”就是平掉历史仓位。In futures trading, "flat today" means to close out today's position, and "close out" means to close out historical positions.

所述开仓又叫建仓,开仓是指期货交易者新买入或者新卖出一定数量的期货合约。The opening of a position is also called opening a position, which means that a futures trader newly buys or sells a certain number of futures contracts.

所述平仓是指期货交易者买入或者卖出与其所持期货合约的品种、数量及交割月份相同但交易方向相反的期货合约,了结期货交易的行为,简单的说就是“原先买入就卖出,原先是卖出的就买入”。The liquidation refers to the behavior of a futures trader to buy or sell a futures contract with the same type, quantity and delivery month as the futures contract he holds, but with the opposite trading direction, and close the futures transaction. If you sell, you buy what was originally sold.”

具体地,期权交易参数包括:交易品种的买入开仓手续费(元)卖出开仓手续费(元),买入平仓手续费(元),卖出平仓手续费(元),保证金上浮比例,保证金调整系数等。Specifically, the option transaction parameters include: transaction fee for buying and opening positions (yuan), selling and opening fees (yuan), buying and closing fees (yuan), and selling and closing fees (yuan), Margin increase ratio, margin adjustment factor, etc.

其中,所述卖出开仓是指投资者对未来价格趋势看跌而采取的交易手段,卖出看跌合约。卖出开仓,帐户资金冻结。价格下跌之后选择买进平仓,赚差价钱。Wherein, the selling to open a position refers to a trading method adopted by an investor to be bearish on a future price trend, and sell a put contract. Sell to open a position, and the account funds are frozen. After the price falls, choose to buy to close the position and earn the difference.

所述买入平仓是指投资者将持有的卖出合约对未来行情不再看跌而补回以前卖出合约,与原来的卖出合约对冲抵消退出市场,帐户资金解冻。The buying and liquidation means that the investor will no longer be bearish on the future market of the sold contract and make up for the previous sold contract, which will be offset with the original sold contract and withdraw from the market, and the funds in the account will be unfrozen.

在本实施例中:In this example:

S103、执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息。S103. Execute account initialization, wherein the account initialization includes acquiring account information from the counter server.

具体地,所述账号为用户在柜台服务器的账号。Specifically, the account is the user's account on the counter server.

具体地,所述账号信息包括:资金信息,账户持仓信息,未结委托单信息等。Specifically, the account information includes: fund information, account position information, outstanding order information, and the like.

其中,所述账号初始化还包括:Wherein, the account initialization also includes:

再次获取未结委托单信息;Obtain open order information again;

比较第二次获取的未结委托单信息与第一次获取的未结委托单信息;Compare the open order information obtained for the second time with the open order information obtained for the first time;

若第二次获取的未结委托单信息与第一次获取的未结委托单信息一致,则说明在获取期间没有成交回报;If the open order information acquired for the second time is consistent with the open order information acquired for the first time, it means that there is no transaction return during the acquisition period;

若第二次获取的未结委托单信息与第一次获取的未结委托单信息不一致,则再次执行上述步骤,直至第二次获取的未结委托单信息与第一次获取的未结委托单信息一致;If the open order information obtained for the second time is inconsistent with the open order information obtained for the first time, perform the above steps again until the open order information obtained for the second time is consistent with the open order information obtained for the first time The single information is consistent;

将最后一次获取的未结委托单信息、账户持仓信息、资金信息作为清算的数据基础,处理第二次获取的未结委托单信息与第一次获取的未结委托单信息一致之后的成交回报。Use the last acquired open order information, account position information, and fund information as the data basis for clearing, and process the transaction return after the second acquired open order information is consistent with the first acquired open order information .

进一步的,若从所述柜台服务器获取的账号信息中的部分信息不够准确或不够完整时,根据获得的交易参数、未结委托单信息,账户持仓信息和盘前表信息,重新对不够准确或不够完整的信息进行计算。Further, if part of the account information obtained from the counter server is inaccurate or incomplete, according to the obtained transaction parameters, outstanding order information, account position information and pre-market table information, re-check the inaccurate or incomplete Insufficient information for calculations.

进一步的,当账号初始化成功时,按账号保存资金信息、账户持仓信息、未结委托单信息。Further, when the account is initialized successfully, the fund information, account position information, and outstanding order information are saved according to the account.

例如,所述若从所述柜台服务器获取的账号信息中的部分信息不够准确或不够完整时,可能为所述获取的柜台服务器的持仓均价或所述冻结资金或所述保证金信息不够准确或不够完整。For example, if part of the account information obtained from the counter server is not accurate or complete, it may be that the obtained average position price of the counter server or the frozen funds or the margin information is not accurate enough or Not complete.

进一步的,在获取未结委托单时,若柜台服务器只返回OrderID,而没有返回ClientOrderID,则自动生成一个编号,作为该委托单的ClientOrderID。在本实施例中,采用GUID的方式,将ClientOrderID与OrderID结合,用来标记该委托单。同时,保存OrderID与ClientOrderID或委托单其他字段或字段组合的对应关系。Furthermore, if the counter server only returns the OrderID but not the ClientOrderID when obtaining the outstanding order, a number is automatically generated as the ClientOrderID of the order. In this embodiment, a GUID is used to combine ClientOrderID and OrderID to mark the order. At the same time, the corresponding relationship between OrderID and ClientOrderID or other fields or field combinations of the order is saved.

具体地,OrderID是指交易所委托单合同编号,ClientOrderID是指客户标记的委托单订单编号。Specifically, OrderID refers to the exchange order contract number, and ClientOrderID refers to the order number of the order marked by the client.

通过账号初始化操作,能够实现用户使用的终端的数据与所述柜台服务器的数据对齐。Through the account initialization operation, the data of the terminal used by the user can be aligned with the data of the counter server.

具体地,用户可以设置定时执行账号初始化。例如,白盘开盘前执行账号初始化。Specifically, the user can set a timing to perform account initialization. For example, account initialization is performed before the white market opens.

S104、从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果。S104. Obtain and save order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, the order instruction input by the user, and order return, Transaction returns or entrustment order status query results; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization and acquisition of account information, the order order input by the user, and the order information pushed by the counter server. Entrustment return, the transaction return or order status inquiry result pushed by the counter server.

在一个实施例中,步骤S104具体包括:In one embodiment, step S104 specifically includes:

若接收到用户输入的委托单下单指令,且根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,则对所述委托单进行下单,将所述下单信息转换为所述委托单信息保存到所述本地存储空间;If the order order input by the user is received, and the corresponding order information generated according to the order order input by the user satisfies the risk control conditions preset by the user, then the order will be placed, and the The order information is converted into the order information and saved to the local storage space;

获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报或成交回报转换为所述委托单信息,保存到所述本地存储空间;Obtain the entrustment return and transaction return pushed by the counter server, convert the entrustment return or transaction return into the order information, and save it in the local storage space;

若所述下单信息满足成交条件,且未获取到所述柜台服务器推送的成交回报时,则发起委托单状态查询,将接收到的委托单状态查询结果转换为所述委托单信息,保存到所述本地存储空间。If the order information meets the transaction conditions, and the transaction return pushed by the counter server is not obtained, the order status query is initiated, the received order status query result is converted into the order information, and saved in the The local storage space.

其中,所述委托回报是指所述委托单下单成功后,所述柜台服务器推送的回报。Wherein, the entrustment return refers to the return pushed by the counter server after the entrustment order is placed successfully.

所述成交回报是指所述委托单下单后有交易成交时,所述柜台服务器推送的回报。The transaction return refers to the return sent by the counter server when a transaction is completed after the order is placed.

具体地,所述委托单状态查询结果是指当所述下单信息满足成交条件,且未获取到所述柜台服务器推送的成交回报时,向所述柜台服务器发起委托单状态查询后,接收到的柜台服务器反馈的查询结果。Specifically, the query result of the order status means that when the order information meets the transaction conditions and the transaction return pushed by the counter server is not obtained, after the order status query is initiated to the counter server, the received The query result fed back by the counter server.

具体地,所述委托单信息包括:资金账号、证券代码、交易所、ClientOrderID(客户订单编号)、OrderID(委托单合同编号)、开平方向、多空方向、委托价市价/限价类型、委托数量、价格、委托单状态、最新成交价、最新成交量、累积成交数量、成交均价等等与量化投资策略的交易相关的信息,还可以包括其他交易信息。其中,所述委托价市价/限价类型是指所述委托单为市价单类型还是限价单类型。Specifically, the order information includes: fund account number, securities code, exchange, ClientOrderID (customer order number), OrderID (order contract number), opening and closing direction, long and short direction, commission price market price/limit price type, commission Quantity, price, order status, latest transaction price, latest transaction volume, cumulative transaction quantity, average transaction price, etc., which are related to the transaction of quantitative investment strategies, and may also include other transaction information. Wherein, the entrustment price market price/limit price type refers to whether the entrustment order is a market order type or a limit price order type.

所述开平方向是指平仓方向还是开仓方向。The opening and closing direction refers to the closing direction or the opening direction.

具体地,ClientOrderID或OrderID用于唯一标记一笔委托单。Specifically, ClientOrderID or OrderID is used to uniquely mark an order.

在本实施例中:In this example:

S105、根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。S105. Perform liquidation processing according to the pre-market table information, the transaction parameter information, the account information, and the order information.

在具体应用中,所述委托单信息包括:交易代码、委托量、累计成交量、当次成交量、剩余量及成交均价等等与量化投资策略的交易相关的信息,还可以包括其他交易信息,本实施例中不对委托单信息的内容做具体限定。In a specific application, the order information includes: transaction code, entrusted volume, cumulative transaction volume, current transaction volume, remaining volume, and average transaction price, etc., which are related to quantitative investment strategy transactions, and may also include other transactions information, the content of the order information is not specifically limited in this embodiment.

在具体应用中,若柜台成交回报能返回成交均价,采用柜台的成交均价,否则,通过保存委托单的成交信息计算得出成交均价,计算公式如下:In specific applications, if the counter transaction return can return the average transaction price, the counter’s average transaction price is used; otherwise, the average transaction price is calculated by saving the transaction information of the order, and the calculation formula is as follows:

成交均价=(本地保存累计成交量×本地保存成交均价+成交回报的当次成交量×成交回报的当次成交价)/(本地保存累计成交量+当次成交量)。Average transaction price = (accumulated trading volume stored locally × average price stored locally + current transaction volume of transaction return × current transaction price of transaction return) / (accumulated local storage transaction volume + current transaction volume).

具体地,用户可对其拥有的一个或多个账号进行具体操作。Specifically, the user can perform specific operations on one or more accounts he owns.

在一个实施例中,步骤S105包括:In one embodiment, step S105 includes:

S1051、若所述委托单在所述柜台服务器成交,未接收到所述柜台服务器推送的所述成交回报时,定时遍历未结委托单,对满足条件的委托单,向所述柜台服务器发起委托单状态查询。S1051. If the order is executed on the counter server, and the transaction report pushed by the counter server is not received, periodically traverse the outstanding order, and initiate an order to the counter server for the order that meets the conditions Single state query.

具体地,定时遍历可以是按照预定时间间隔遍历,也可以是在预定时间进行遍历。Specifically, the timing traversal may be traversing according to a predetermined time interval, or may be traversing at a predetermined time.

所述条件包括:市价单,以当前市场价格成交的委托单;The conditions include: market price orders, orders executed at the current market price;

限价单,用户设定买入或卖出的委托价格的委托单。Limit order, an order in which the user sets the order price for buying or selling.

获取设定时间间隔内的快照价格,所述快照价格包括:Obtain snapshot prices within a set time interval, the snapshot prices include:

预设时间间隔内市场最高价和市场最低价。Market High and Market Low for a preset time interval.

在一个实施例中,步骤S1051之后包括:In one embodiment, after step S1051 includes:

若所述委托单符合市价单,则判定所述委托单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;If the order conforms to the market order, it is determined that the order transaction is completed, and an order status query is initiated to the counter server, and if the counter server returns the order status query result, local liquidation processing is performed;

若所述委托单为限价单,且所述限价单买入的委托价格大于或等于所述预设时间间隔内市场最低价,则判定所述限价单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;If the order is a limit order, and the entrustment price of the limit order purchase is greater than or equal to the lowest price in the market within the preset time interval, it is determined that the limit order transaction is completed, and the counter server Initiate an order status query, and if the counter server returns the order status query result, perform local liquidation processing;

若所述委托单为限价单,且所述限价单卖出的委托价格小于或等于所述预设时间间隔内市场最高价,则判定所述限价单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;If the order is a limit order, and the entrustment price of the limit order is less than or equal to the highest market price within the preset time interval, it is determined that the limit order transaction is completed, and the counter server Initiate an order status query, and if the counter server returns the order status query result, perform local liquidation processing;

若所述委托单为待撤委托单,需向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;If the order is a pending order, it is necessary to initiate an order status inquiry to the counter server, and if the counter server returns the order status inquiry result, perform local liquidation processing;

若所述委托单不满足委托单成交条件,不向所述柜台服务器发起委托单状态查询。If the order does not meet the order transaction conditions, no order status inquiry is initiated to the counter server.

具体地,所述待撤委托单是指用户根据实际需要进行撤单处理的委托单,所述柜台服务器根据用户的处理进行撤单操作,所述待撤委托单转变成为已撤委托单。Specifically, the order to be canceled refers to an order for which the user cancels the order according to actual needs, and the counter server performs the order cancellation operation according to the user's processing, and the order to be canceled is converted into a canceled order.

在本实施例中,下单时,自动生成一个编号,作为该委托单的ClientOrderID,比如采用生成GUID的方式,同时保存ClientOrderID与委托单其它字段或字段组合的对应关系。如果柜台服务器需要,将ClientOrderID发往柜台服务器,如果柜台服务器不需要,ClientOrderID只保存于本地,待收到柜台服务器回报信息,根据保存的对应关系,通过委托单其它字段或字段组合,找到对应的ClientOrderID。In this embodiment, when an order is placed, a number is automatically generated as the ClientOrderID of the order, such as by generating a GUID, and the corresponding relationship between the ClientOrderID and other fields or field combinations of the order is saved at the same time. If the counter server needs it, send the ClientOrderID to the counter server. If the counter server does not need it, the ClientOrderID is only saved locally. After receiving the counter server’s return information, according to the saved corresponding relationship, find the corresponding one through other fields or field combinations of the order form. ClientOrderID.

具体地,全局唯一标识符(GUID,Globally Unique Identifier)是一种由算法生成的二进制长度为128位的数字标识符。Specifically, a Globally Unique Identifier (GUID, Globally Unique Identifier) is a digital identifier generated by an algorithm with a binary length of 128 bits.

在具体应用中,若接收到委托回报,成交回报时,则更新、保存所述委托单信息,根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算。In a specific application, if an entrustment return is received and a transaction is returned, the order information is updated and saved, and the transaction is performed according to the pre-market table information, the transaction parameter information, the account information, and the order information. liquidation.

具体地,从柜台服务器获得的数据,直接用于清算。从柜台服务器获取不到的数据,在本地进行计算。Specifically, the data obtained from the counter server is directly used for settlement. The data that cannot be obtained from the counter server is calculated locally.

在具体应用中,程序在对委托单进行清算时,根据账号类型,或者根据交易代码,交易所,查询前面保存的盘前表信息,确认交易品种类型后,决定采用哪种清算规则。In a specific application, when the program clears the order, it will query the pre-market table information saved earlier according to the account type, or according to the transaction code and exchange, and determine which clearing rule to use after confirming the type of transaction.

具体地,清算规则包括:股票清算规则,期货清算规则,期权清算规则等。Specifically, the clearing rules include: stock clearing rules, futures clearing rules, option clearing rules, and the like.

具体地,不同品种的清算规则不一样,清算规则按照交易所规定方式,可以做小的修改。Specifically, the clearing rules of different products are different, and the clearing rules can be slightly modified according to the method stipulated by the exchange.

在具体应用中,清算时计算内容包括:计算对应代码持仓的可用数量,冻结数量,今仓数量,冻结资金,可用金额,占用保证金等与量化投资策略的交易相关的信息,还可以包括其他交易信息,本实施例中不对交易清算信息的内容做具体限定。In a specific application, the calculation content during liquidation includes: calculation of the available quantity of corresponding code positions, frozen quantity, current position quantity, frozen funds, available amount, occupied margin and other information related to quantitative investment strategy transactions, and other transactions can also be included information, the content of the transaction settlement information is not specifically limited in this embodiment.

在具体应用中,计算市价单冻结资金时,需要用到涨跌停价;计算期货时,要用到交易规则的合约乘数;以及需要用到交易参数的保证金比例,交易手术费等。In specific applications, when calculating the market order to freeze funds, the price limit price needs to be used; when calculating futures, the contract multiplier of the trading rules is used; and the margin ratio of trading parameters, trading operation fees, etc. are needed.

其中,所述冻结数量是指一笔委托单持仓由于下单平仓被冻结,不能操作的数量。例如,期货有2手多头持仓,用户下单卖出平仓1手,则冻结数量为1手,可用持仓数量为1手。Wherein, the frozen quantity refers to the quantity that cannot be operated because the position of an order is frozen due to order closing. For example, if there are 2 long positions in futures, and the user places an order to sell to close 1 lot, then the frozen quantity is 1 lot, and the available position quantity is 1 lot.

所述今仓数量是指今天开仓成交的数量。The quantity of current positions mentioned above refers to the quantity of open positions traded today.

所述合约乘数是指在股指期货交易中,合约的价值是以一定的货币金额与标的指数的乘积来表示。这一定的货币金额是由合约所固定的,称为合约乘数。The contract multiplier refers to that in stock index futures trading, the value of the contract is represented by the product of a certain monetary amount and the underlying index. This certain currency amount is fixed by the contract and is called the contract multiplier.

具体的,部分数据,例如期货持仓的开仓均价,在平仓成交时,本地无法清算,可以采用有平仓成交时,定期向柜台查询的方式,不影响其他字段的本地清算。Specifically, some data, such as the average opening price of a futures position, cannot be liquidated locally when the position is closed. You can use the method of regularly querying the counter when there is a liquidation transaction, which will not affect the local liquidation of other fields.

具体地,所有保存在本地存储空间的数据,可以保存于内存,也可以保存在本地文件中,也可以保存在本地数据库。Specifically, all the data stored in the local storage space can be stored in memory, or in a local file, or in a local database.

本实施例通过从后台服务器获取盘前表信息;从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。本实施例能够在本地进行字段全面且基本无延时的交易清算。In this embodiment, the pre-market table information is obtained from the background server; the transaction parameter information is obtained from the background server or the counter server, or the transaction parameter information input by the user is obtained; and the account initialization is performed, wherein the account initialization includes obtaining the The server obtains account information; obtains and saves order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, and the order instruction input by the user, entrustment return, transaction return or entrustment order status query result; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization to obtain account information, the order instruction input by the user, and the counter The entrustment return pushed by the server, the transaction return or order status inquiry result pushed by the counter server; liquidation processing is performed according to the pre-market table information, the transaction parameter information, the account information and the order information. This embodiment can perform transaction clearing locally with comprehensive fields and almost no delay.

实施例二:Embodiment two:

如图2所示,本实施例是在实施例一的基础上对从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息的进一步细化。As shown in FIG. 2 , this embodiment is a further refinement of obtaining transaction parameter information from the background server or counter server, or obtaining transaction parameter information input by a user, based on the first embodiment.

在本实施例中,从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息,包括:In this embodiment, obtaining the transaction parameter information from the background server or the counter server, or obtaining the transaction parameter information input by the user, includes:

S1021、根据账号保存、设置、获取交易参数信息;S1021. Save, set, and acquire transaction parameter information according to the account;

S1022、检测自动获取功能是否开启;S1022. Detect whether the automatic acquisition function is enabled;

S1023、若自动获取功能开启,且所述账号为登录状态时,从所述柜台服务器获取交易参数信息;S1023. If the automatic acquisition function is enabled and the account is in a login state, acquire transaction parameter information from the counter server;

S1024、若自动获取功能关闭,则在接收到用户输入的交易参数获取指令时,根据所述交易参数获取指令从所述柜台服务器获取交易参数信息。S1024. If the automatic acquisition function is disabled, when receiving a transaction parameter acquisition instruction input by the user, acquire transaction parameter information from the counter server according to the transaction parameter acquisition instruction.

在本实施例中,在预定时间,所述自动获取功能执行特定次数。可以根据实际情况进行具体设置。具体地,预定时间可以是预设的时间,也可以是预设时间间隔。例如,在9点,若自动获取功能开启,且所述账号为登录状态时,自动获取功能执行一次。例如,一天所述自动获取功能执行一次。In this embodiment, at a predetermined time, the automatic acquisition function is executed a specific number of times. Specific settings can be made according to the actual situation. Specifically, the predetermined time may be a preset time or a preset time interval. For example, at 9:00, if the automatic acquisition function is enabled and the account is in a login state, the automatic acquisition function is executed once. For example, the automatic acquisition function is performed once a day.

在本实施例中,S1023包括:In this embodiment, S1023 includes:

若自动获取功能开启,通过当前用户的账号登录柜台服务器,所述账号登录成功后,即所述账号为登录状态时,对所述登录账号执行账号初始化,从所述柜台服务器获取交易参数信息,获取完成后,再执行一次账号初始化。If the automatic acquisition function is turned on, log in the counter server through the account of the current user, and after the account is successfully logged in, that is, when the account is in the login state, perform account initialization on the login account, and obtain transaction parameter information from the counter server, After the acquisition is complete, perform account initialization again.

具体地,所述交易参数信息包括:现货交易参数、期货交易参数和期权交易参数。Specifically, the transaction parameter information includes: spot transaction parameters, futures transaction parameters and option transaction parameters.

具体地,现货交易参数包括:交易品种,单边交易佣金,过户费比例,印花税率。Specifically, the spot transaction parameters include: transaction types, unilateral transaction commissions, transfer fee ratios, and stamp duty rates.

具体地,期货交易参数包括:交易代码,空头保证金比率,多头保证金比率,开仓手续费(元/手),平仓手续费(元/手),平今手续费(元/手)以及开仓手续费(元/万元),平仓手续费(元/万元),平今手续费(元/万元)。Specifically, the futures trading parameters include: transaction code, short margin ratio, long margin ratio, opening fee (yuan/lot), closing fee (yuan/lot), flat-to-day handling fee (yuan/lot) and opening Warehouse handling fee (yuan/10,000 yuan), liquidation handling fee (yuan/10,000 yuan), closing today handling fee (yuan/10,000 yuan).

具体地,期权交易参数包括:交易品种的买入开仓手续费(元),卖出开仓手续费(元),买入平仓手续费(元),卖出平仓手续费(元),保证金上浮比例,保证金调整系数等。Specifically, the option transaction parameters include: buying and opening handling fee (yuan), selling opening handling fee (yuan), buying and closing handling fee (yuan), and selling and closing handling fee (yuan) , margin increase ratio, margin adjustment coefficient, etc.

在具体应用中,所述从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息,还包括:In a specific application, the acquisition of transaction parameter information from the background server or counter server, or acquisition of transaction parameter information input by the user, further includes:

检测所述柜台服务器是否提供交易参数接口;Detecting whether the counter server provides a transaction parameter interface;

若所述柜台服务器提供交易参数接口,则进入S1022,检测自动获取功能是否开启;If the counter server provides a transaction parameter interface, enter S1022 to detect whether the automatic acquisition function is enabled;

若所述柜台服务器没有提供交易参数接口,则获取用户通过交易参数设置界面输入的交易参数信息;If the counter server does not provide a transaction parameter interface, then obtain the transaction parameter information input by the user through the transaction parameter setting interface;

若没有获取到用户通过所述交易参数设置界面输入的交易参数信息,则从所述后台服务器获取交易参数信息;If the transaction parameter information input by the user through the transaction parameter setting interface is not obtained, the transaction parameter information is obtained from the background server;

将从所述后台服务器或柜台服务器获取的交易参数信息,或获取用户输入的交易参数信息保存到所述本地存储空间。The transaction parameter information obtained from the background server or the counter server, or the transaction parameter information input by the user is obtained and stored in the local storage space.

具体地,若从所述后台服务器获取交易参数信息之后,检测到所述柜台服务器提供交易参数接口或自动获取功能开启或用户输入交易参数获取指令,则重新执行S102。Specifically, if it is detected that the counter server provides a transaction parameter interface or the automatic acquisition function is enabled or the user inputs a transaction parameter acquisition instruction after acquiring the transaction parameter information from the background server, S102 is re-executed.

本实施例通过根据账号保存、设置、获取交易参数信息,检测自动获取功能是否开启,若自动获取功能开启,且所述账号为登录状态时,从所述柜台服务器获取交易参数信息,若自动获取功能关闭,则在接收到用户输入的交易参数获取指令时,根据所述交易参数获取指令从所述柜台服务器获取交易参数信息,或获取用户通过所述交易参数设置界面输入的交易参数信息或从所述后台服务器获取交易参数信息,将从所述后台服务器或柜台服务器获取的交易参数信息,或获取用户输入的交易参数信息保存到所述本地存储空间。实现了不同方式获取交易参数,便于在本地进行字段全面且基本无延时的交易清算。This embodiment detects whether the automatic acquisition function is enabled by saving, setting, and obtaining transaction parameter information according to the account number. If the automatic acquisition function is enabled and the account is in the login state, the transaction parameter information is obtained from the counter server. If the function is turned off, when the transaction parameter acquisition instruction input by the user is received, the transaction parameter information is obtained from the counter server according to the transaction parameter acquisition instruction, or the transaction parameter information input by the user through the transaction parameter setting interface or from the The background server obtains transaction parameter information, and saves the transaction parameter information obtained from the background server or the counter server, or the transaction parameter information input by the user, into the local storage space. Realize different ways to obtain transaction parameters, which facilitates local transaction clearing with comprehensive fields and basically no delay.

实施例三:Embodiment three:

如图3所示,本实施例是在实施例一的基础上对所述从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息的进一步细化。As shown in FIG. 3 , this embodiment is a further refinement of the acquisition and storage of order information from the counter server and/or according to the acquired order instruction input by the user on the basis of the first embodiment.

在本实施例中,所述从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,包括:In this embodiment, the acquiring and saving the order information from the counter server and/or according to the obtained order instruction input by the user includes:

S1041、若接收到用户输入的委托单下单指令,且根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,则对所述委托单进行下单,将所述下单信息转换为所述委托单信息保存到所述本地存储空间;S1041. If the order order input by the user is received, and the corresponding order information generated according to the order order input by the user satisfies the risk control conditions preset by the user, place an order for the order, and The order information is converted into the order information and stored in the local storage space;

S1042、获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报或成交回报转换为所述委托单信息,保存到所述本地存储空间;S1042. Obtain the entrustment return and transaction return pushed by the counter server, convert the entrustment return or transaction return into the order information, and save it in the local storage space;

S1043、若所述下单信息满足成交条件,且未获取到所述柜台服务器推送的成交回报时,则发起委托单状态查询,将接收到的委托单状态查询结果转换为所述委托单信息,保存到所述本地存储空间。S1043. If the order information meets the transaction conditions, and the transaction return pushed by the counter server is not obtained, initiate an order status query, and convert the received order status query result into the order information, Save to said local storage.

具体地,接收到所述下单信息、所述委托回报,所述成交回报或所述委托单状态查询结果后,将所述下单信息、所述委托回报,所述成交回报或所述委托单状态查询结果中包含的信息,转换为所述委托单信息,保存在本地存储空间。转换方式为对应字段赋值。其中,所述委托单信息在接收到不同状态的委托单信息后,更新、保存最后一次接收到的状态的委托单信息。例如,接收到所述委托回报后,将所述本地存储空间存储的委托单信息的内容更新为所述委托回报。Specifically, after receiving the order information, the entrustment return, the transaction return or the order status inquiry result, the order information, the entrustment return, the transaction return or the entrustment The information contained in the order status query result is converted into the order information and saved in the local storage space. The conversion method assigns values to the corresponding fields. Wherein, after receiving the order information in different states, the order information updates and saves the order information in the last received state. For example, after receiving the entrustment return, the content of the order information stored in the local storage space is updated to the entrustment return.

具体地,一个账号每天执行一次自动获取交易参数。Specifically, an account executes automatic acquisition of transaction parameters once a day.

具体地,获取交易参数信息在后台进行,用户可以同时进行交易。Specifically, acquisition of transaction parameter information is performed in the background, and users can conduct transactions at the same time.

在具体应用中,所述获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报或成交回报转换为所述委托单信息,保存到所述本地存储空间之后,还包括:In a specific application, after obtaining the entrustment return and transaction return pushed by the counter server, converting the entrustment return or transaction return into the order information, and saving it in the local storage space, further includes:

若所述委托单信息和所述成交回报属于同一笔委托单时,比较所述委托单信息和所述成交回报的委托单状态或累计成交量和当次成交量,判断所述成交回报是延时到达的成交回报或是所述委托单信息和所述成交回报之间有丢失的成交回报,包括:If the order information and the transaction return belong to the same order, compare the order status or the accumulated transaction volume with the current transaction volume between the order information and the transaction return, and judge that the transaction return is delayed The transaction return that arrives at the time or the transaction return that is lost between the order information and the transaction return, including:

判断所述委托单信息中的委托单状态和所述成交回报的委托单状态;其中,所述委托单状态存在时间先后顺序,所述委托单下单后的委托单状态顺序为:待报,已报,部成,已成;所述委托单撤单后的委托单状态顺序为:待撤,已撤;Judging the state of the order in the order information and the order state of the transaction return; wherein, the state of the order has a chronological order, and the order of the state of the order after the order is placed is: to be reported, Submitted, Partially Completed, Completed; the status order of the order after the said order is withdrawn is: to be withdrawn, withdrawn;

若所述成交回报的委托单状态在所述委托单信息中的委托单状态之前,则判断所述成交回报为延时到达,丢弃所述成交回报;If the order status of the transaction return is before the order status in the order information, it is judged that the transaction return is a delayed arrival, and the transaction return is discarded;

若所述委托单信息和所述成交回报都为部分成交回报,则比较所述成交回报的累计成交量和所述委托单信息的累计成交量;If both the order information and the transaction return are partial transaction returns, then compare the cumulative transaction volume of the transaction return with the cumulative transaction volume of the order information;

若所述委托单信息的累计成交量大于所述成交回报的累计成交量,则判断所述成交回报是延时到达的成交回报,丢弃所述成交回报;If the cumulative transaction volume of the order information is greater than the cumulative transaction volume of the transaction return, it is judged that the transaction return is a delayed arrival transaction return, and the transaction return is discarded;

若所述委托单信息的累计成交量小于所述成交回报的累计成交量,则计算所述成交回报的累计成交量和所述委托单信息的累计成交量的差值;If the cumulative trading volume of the order information is less than the cumulative trading volume of the transaction report, calculate the difference between the cumulative transaction volume of the transaction report and the cumulative transaction volume of the order information;

若所述差值大于所述成交回报的当次成交量,则判定所述委托单信息和所述成交回报之间有丢失的成交回报,则根据所述成交回报和所述委托单信息重新计算当次成交量和当次成交价格,得到包含丢失成交回报的新成交回报,将所述包含丢失成交回报的新成交回报转换为所述委托单信息,保存在本地存储空间;If the difference is greater than the current transaction volume of the transaction return, it is determined that there is a missing transaction return between the order information and the transaction return, and recalculate based on the transaction return and the order information The current transaction volume and the current transaction price obtain a new transaction return including the lost transaction return, convert the new transaction return including the lost transaction return into the order information, and save it in the local storage space;

若所述差值等于所述成交回报的当次成交量,则将所述成交回报转换为所述委托单信息,保存在本地存储空间。If the difference is equal to the current transaction volume of the transaction return, the transaction return is converted into the order information and stored in the local storage space.

具体地,所述委托单状态包括:待报、已报、待撤、已撤、部成(部分成交)、已成(全部成交)。Specifically, the status of the order includes: waiting to be reported, submitted, pending cancellation, withdrawn, partially completed (partial transaction), completed (full transaction).

其中,待报状态是指委托单下单指令还未被数据处理报到交易所的状态。已报状态是指委托单下单指令已经被数据处理报到交易所,柜台服务器接收到交易所发出的下单反馈的状态。部分成交是指委托单的累计成交量比下单量小,同时没有被撤销的状态,。已成是指委托单的累计成交量等于下单量的状态,即所述委托单全部成交。Among them, the pending status refers to the status in which the order instruction of the order has not been processed and reported to the exchange. The reported status refers to the status in which the order order has been processed and reported to the exchange, and the counter server has received the order feedback from the exchange. Partially executed refers to the state where the cumulative transaction volume of the order is smaller than the order volume and has not been canceled at the same time. Completed refers to the state in which the cumulative transaction volume of the order is equal to the order volume, that is, all the orders are executed.

具体地,若所述成交回报的委托单状态在所述委托单信息中的委托单状态之前是指:判断所述成交回报的委托单状态和所述委托单信息中的委托单状态的顺序的前后。例如,若所述成交回报的委托单状态为待撤,所述委托单信息中的委托单状态为已撤,则所述成交回报的委托单状态在所述委托单信息中的委托单状态之前,则判断所述成交回报为延时到达,丢弃所述成交回报。Specifically, if the order state of the transaction return is before the order state in the order information, it means: judging the sequence of the order state of the transaction return and the order state in the order information before and after. For example, if the order status of the transaction return is to be canceled and the order status in the order information is withdrawn, then the order status of the transaction return is before the order status in the order information , then it is judged that the transaction return is a delayed arrival, and the transaction return is discarded.

具体地,所述重新计算包括计算当次成交量和当次成交价格,得到包含丢失回报的新成交回报;其中,当次成交价格=(成交回报的累计成交量×成交回报的成交均价-委托单信息的累计成交量×委托单信息的成交均价-成交回报的当次成交量×成交回报的成交均价)/当次成交量;Specifically, the recalculation includes calculating the current transaction volume and the current transaction price to obtain a new transaction return including the lost return; wherein, the current transaction price=(cumulative transaction volume of the transaction return×average transaction price of the transaction return- Cumulative trading volume of order information × average transaction price of order information - current transaction volume of transaction returns × average transaction price of transaction returns)/current transaction volume;

当次成交量=(成交回报的累计成交量-委托单信息的累计成交量-成交回报的当次成交量)。The current transaction volume = (accumulated transaction volume of the transaction report - the cumulative transaction volume of the order information - the current transaction volume of the transaction report).

具体地,所述柜台推送成交回报时,所述成交回报包括成交回报的当次成交量及所述柜台成交的累计成交量。即所述成交回报的累计成交量为所述委托单信息的累计成交量、成交回报的当次成交量与丢失的成交回报的成交量之和。Specifically, when the counter pushes the transaction report, the transaction report includes the current transaction volume of the transaction report and the cumulative transaction volume of the counter transaction. That is, the cumulative trading volume of the transaction return is the sum of the cumulative transaction volume of the order information, the current transaction volume of the transaction return and the transaction volume of the lost transaction return.

具体地,所述根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,包括:Specifically, the generation of corresponding order information according to the order order input by the user satisfies the risk control conditions preset by the user, including:

所述根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的系统风控条件和账号风控条件。The corresponding order information generated according to the order order instruction input by the user satisfies the system risk control conditions and account risk control conditions preset by the user.

具体地,所述系统风控条件包括:Specifically, the system risk control conditions include:

系统下单瞬发量不超过下单瞬发量阈值,超过则拒单;The system's instant order volume does not exceed the order instant volume threshold, and if it exceeds, the order will be rejected;

允许未获回报委托数不超过的未获回报委托数阈值,超过则拒单;Allow the number of unreturned orders not to exceed the threshold of the number of unreturned orders, and reject the order if it exceeds;

所述委托单中的交易代码不在交易黑名单中,若所述委托单中的交易代码在交易黑名单中则拒单;The transaction code in the order is not in the transaction blacklist, if the transaction code in the order is in the transaction blacklist, the order will be rejected;

具体地,所述账号风控条件包括:Specifically, the account risk control conditions include:

当前账号的当日下单数不超过当日下单数阈值,超过则拒单;The number of orders placed by the current account on the day does not exceed the threshold of the number of orders placed on the day, and if it exceeds, the order will be rejected;

所述委托单中的每个交易代码对应的最大持仓量不超过最大持仓量阈值,超过则拒单;The maximum open interest corresponding to each transaction code in the order does not exceed the maximum open interest threshold, and if it exceeds the threshold, the order will be rejected;

当前用户的账户资金使用比例不超过账户资金使用比例阈值,超过则拒单;The current user's account fund usage ratio does not exceed the account fund usage ratio threshold, and if it exceeds, the order will be rejected;

当前用户的账户资金使用上限不超过账户资金使用上限阈值,超过则拒单;The current user's account fund usage limit does not exceed the account fund usage limit threshold, and if it exceeds, the order will be rejected;

所述委托单中的交易代码数量不超过交易代码数量阈值,超过则拒单。The number of transaction codes in the order does not exceed the threshold of the number of transaction codes, and if it exceeds, the order is rejected.

具体地,系统下单瞬发量是指接收下单时,计算下单数量/秒。Specifically, the instant order quantity of the system refers to the calculated order quantity per second when an order is received.

具体地,下单成功时,系统下单瞬发量加一,每秒进行一次归零。Specifically, when the order is placed successfully, the system will add one to the instant order amount, and reset it to zero every second.

允许未获回报委托数是指下单成功时,未接收到回报数。The allowable number of unreturned orders refers to the number of orders that have not been received when the order is placed successfully.

具体地,下单成功时,系统未接收到回报数,则未获回报数加一。若收到委托汇报,成交回报或拒单回报,则未获回报数减一。Specifically, when the order is placed successfully, but the system does not receive the reward, the reward not received is increased by one. If an entrustment report, transaction report or order rejection report is received, the number of unreceived returns will be reduced by one.

具体地,账户资金使用比例是指计算出本次下单需冻结的资金量与已经使用的资金量之和,再计算得出本次下单需冻结的资金量与已经使用的资金量之和占总权益的比例。Specifically, the proportion of funds used in the account refers to the calculation of the sum of the amount of funds that need to be frozen for placing an order and the amount of funds that have already been used, and then calculate the sum of the amount of funds that need to be frozen for placing an order and the amount of funds that have already been used percentage of total equity.

账户资金使用上限是指本次下单需冻结的资金量与已经使用的资金量之和。The upper limit of account fund use refers to the sum of the amount of funds that need to be frozen for placing an order and the amount of funds that have already been used.

交易代码数量是指本次交易的委托单代码数量。The number of transaction codes refers to the number of order codes for this transaction.

在具体应用中,计算总权益时,可以根据持仓代码的最新价格,计算最新权益。In specific applications, when calculating the total equity, the latest equity can be calculated based on the latest price of the position code.

在具体应用中,若委托单不满足风控条件,则不对所述委托单进行下单。In a specific application, if the order does not meet the risk control conditions, no order will be placed on the order.

在本实施例中,只对开仓情况下进行委托单的风控条件判断,平仓情况下不进行委托单的风控条件判断。In this embodiment, the judgment of the risk control condition of the order is only performed in the case of opening a position, and the judgment of the risk control condition of the order is not performed in the case of closing a position.

具体地,所述账号的当日下单数等信息,可以保存在本地存储空间,具体地,可以保存于内存,也可以保存在本地文件中,也可以保存在本地数据库。Specifically, information such as the number of orders placed by the account on the day can be stored in a local storage space, specifically, can be stored in memory, can also be stored in a local file, or can be stored in a local database.

具体地,用户可以设置定时清除保存信息机制,例如,定期清除白盘、夜盘开盘前等的保存信息。Specifically, the user can set a mechanism for regularly clearing saved information, for example, regularly clearing the saved information of white disks and night disks before opening.

本实施通过若接收到用户输入的委托单下单指令,且根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,则对所述委托单进行下单,并将所述下单信息转换为所述委托单信息保存到所述本地存储空间;获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报和成交回报转换为所述委托单信息保存到所述本地存储空间,并对成交回报的延时到达、丢失等现象进行处理,实现了对满足条件的委托单进行下单交易、实时获取、更新委托单信息,便于在本地进行字段全面且基本无延时的交易清算。In this implementation, if the order order input by the user is received, and the corresponding order information generated according to the order order input by the user satisfies the risk control conditions preset by the user, then the order is placed for the order, and convert the order information into the order information and save it in the local storage space; obtain the commission return and transaction return pushed by the counter server, and convert the commission return and transaction return into the order The information is saved to the local storage space, and the delayed arrival and loss of transaction returns are processed, so that order transactions, real-time acquisition and update of order information for qualified orders are realized, and it is convenient for local processing Comprehensive trade clearing with virtually no delays.

实施例四:Embodiment four:

如图4所示,本实施例提供一种量化投资策略的交易清算系统100,用于执行图1所对应的实施例中的方法步骤。As shown in FIG. 4 , this embodiment provides a quantitative investment strategy transaction clearing system 100 for executing the method steps in the embodiment corresponding to FIG. 1 .

量化投资策略的交易清算系统100包括:The transaction clearing system 100 for quantitative investment strategies includes:

盘前表信息获取模块101,用于从后台服务器获取盘前表信息;The pre-disk table information acquisition module 101 is used to obtain the pre-disk table information from the background server;

交易参数信息获取模块102,用于从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;A transaction parameter information obtaining module 102, configured to obtain transaction parameter information from the background server or counter server, or obtain transaction parameter information input by the user;

账号信息获取模块103,用于执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;The account information acquisition module 103 is configured to perform account initialization, wherein the account initialization includes acquiring account information from the counter server;

委托单信息管理模块104,用于从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;Order information management module 104, configured to obtain and save order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, and the order information entered by the user An order instruction, an entrustment return, a transaction return, or an order status inquiry result; wherein, the order information is specifically derived from the unsettled order information obtained in the account initialization to obtain account information, and the order order input by the user , the entrustment return pushed by the counter server, the transaction return or order status inquiry result pushed by the counter server;

清算处理模块105,用于根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。The liquidation processing module 105 is configured to perform liquidation processing according to the pre-market table information, the transaction parameter information, the account information and the order information.

在一个实施例中,盘前表信息获取模块101包括:In one embodiment, the information acquisition module 101 of the pre-market table includes:

获取盘前表信息单元,用于若启动清算处理程序,则从所述后台服务器获取盘前表信息并保存至本地存储空间;Obtaining the pre-market table information unit, used to obtain the pre-market table information from the background server and save it to the local storage space if the liquidation processing program is started;

更新盘前表信息单元,用于启动清算处理程序后,若当前时间到达预定时间,则再次从所述后台服务器获取盘前表信息并保存至本地存储空间。The pre-market table information unit is updated, which is used to obtain the pre-market table information from the background server again and save it to the local storage space if the current time reaches the predetermined time after the liquidation processing program is started.

具体应用中,启动获取盘前表信息单元之后,启动账号初始化单元。In a specific application, the account initialization unit is started after the unit for acquiring pre-disk table information is started.

具体应用中,在获取盘前表信息单元之后,启动时间标记子单元,用于增加盘前表信息时间标记。In a specific application, after the pre-disk table information unit is acquired, the time stamp subunit is activated to add the time stamp of the pre-disk table information.

具体地,所述账号信息包括:资金信息、账户持仓信息和未结委托单信息等。Specifically, the account information includes: fund information, account position information, open order information, and the like.

在具体应用中,账号信息获取模块103具体用于:执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息。In a specific application, the account information acquiring module 103 is specifically configured to: perform account initialization, wherein the account initialization includes acquiring account information from the counter server.

在一个实施例中,账号信息获取模块103包括账号初始化单元。In one embodiment, the account information obtaining module 103 includes an account initialization unit.

在具体应用中,所述账号初始化单元包括:In a specific application, the account initialization unit includes:

获取子单元,用于向柜台服务器获取未结委托单信息、资金信息、账户持仓信息;Acquisition sub-unit, used to obtain outstanding order information, fund information, and account position information from the counter server;

未结再查子单元,用于再次获取未结委托单信息;Unclosed recheck subunit, used to obtain open order information again;

第一未结比较子单元,用于比较第二次获取的未结委托单信息与第一次获取的未结委托单信息;The first open comparison subunit is used to compare the open order information obtained for the second time with the open order information obtained for the first time;

第二未结比较子单元,用于若第二次获取的未结委托单信息与第一次获取的未结委托单信息一致,则说明在获取期间没有成交回报;The second open comparison subunit is used to indicate that there is no transaction return during the acquisition period if the open order information obtained for the second time is consistent with the open order information obtained for the first time;

第三未结比较子单元,用于若第二次获取的未结委托单信息与第一次获取的未结委托单信息不一致,则再次执行上述步骤,直至第二次获取的未结委托单信息与第一次获取的未结委托单信息一致;The third open comparison subunit is used to perform the above steps again until the open order information obtained for the second time is inconsistent with the open order information obtained for the first time if the open order information obtained for the second time is inconsistent with the open order information obtained for the first time The information is consistent with the open order information acquired for the first time;

成交回报处理子单元,用于将最后一次获取的未结委托单信息、账户持仓信息、资金信息作为清算的数据基础,处理第二次获取的未结委托单信息与第一次获取的未结委托单信息一致之后的成交回报。The transaction return processing subunit is used to use the last acquired open order information, account position information, and fund information as the data basis for clearing, and process the second acquired open order information and the first acquired open order information. The transaction return after the order information is consistent.

在具体应用中,所述账号初始化单元还包括:In a specific application, the account initialization unit also includes:

重新计算子单元,用于若从所述柜台服务器获取的账号信息中的部分信息不够准确或不够完整时,根据获得的交易参数、未结委托单信息,账户持仓信息和盘前表信息,重新对不够准确或不够完整的信息进行计算;The recalculation subunit is used to recalculate the account information according to the obtained transaction parameters, outstanding order information, account position information and pre-market table information if some information in the account information obtained from the counter server is not accurate or complete. Perform calculations based on inaccurate or incomplete information;

信息存储子单元,用于当账号初始化成功时,按账号保存资金信息、账户持仓信息、未结委托单信息。The information storage sub-unit is used to save fund information, account position information, and outstanding order information by account when the account is initialized successfully.

例如,所述若从所述柜台服务器获取的账号信息中的部分信息不够准确或不够完整时,可能为所述获取的柜台服务器的持仓均价或所述冻结资金或所述保证金信息不够准确或不够完整。For example, if part of the account information obtained from the counter server is not accurate or complete, it may be that the obtained average position price of the counter server or the frozen funds or the margin information is not accurate enough or Not complete.

在一个实施例中,清算处理模块105包括:In one embodiment, the liquidation processing module 105 includes:

委托单条件判断单元,用于若所述委托单在所述柜台服务器成交,未接收到所述柜台服务器推送的所述成交回报时,定时遍历未结委托单,对满足条件的委托单,向所述柜台服务器发起委托单状态查询。The order condition judging unit is used to periodically traverse the open order if the order is executed at the counter server and the transaction report pushed by the counter server is not received, and send the order to the order form that satisfies the conditions The counter server initiates an order status query.

在一个实施例中,所述委托单条件判断单元包括:In one embodiment, the order condition judging unit includes:

市价单判断子单元,用于若所述委托单符合市价单,则判定所述委托单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;The market order judging subunit is used to determine that the order transaction is completed if the order conforms to the market order, and initiate an order status query to the counter server, and if the counter server returns the order status query result, then Carry out local liquidation processing;

第一限价单判断子单元,用于若所述委托单为限价单,且所述限价单买入的委托价格大于或等于所述预设时间间隔内市场最低价,则判定所述限价单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;The first limit order judging subunit is used to determine if the order is a limit order, and the order price of the limit order purchase is greater than or equal to the lowest market price within the preset time interval, then judge the The limit order transaction is completed, and the order status query is initiated to the counter server, and if the counter server returns the order status query result, local liquidation processing is performed;

第二限价单判断子单元,用于若所述委托单为限价单,且所述限价单卖出的委托价格小于或等于所述预设时间间隔内市场最高价,则判定所述限价单交易成交,向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理;The second limit order judging subunit is used to judge that if the order is a limit order, and the entrustment price for selling the limit order is less than or equal to the highest price in the market within the preset time interval, The limit order transaction is completed, and the order status query is initiated to the counter server, and if the counter server returns the order status query result, local liquidation processing is performed;

待撤委托单子单元,用于若所述委托单为待撤委托单,需向所述柜台服务器发起委托单状态查询,若所述柜台服务器返回委托单状态查询结果,则进行本地清算处理。The pending order subunit is used to initiate an order status query to the counter server if the order is a pending order, and perform local liquidation processing if the counter server returns an order status query result.

未成交单元,用于若所述委托单不满足委托单成交条件,不向所述柜台服务器发起委托单状态查询。The unfinished unit is configured to not initiate an order status inquiry to the counter server if the order does not meet the order closing conditions.

本实施例通过从后台服务器获取盘前表信息;从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。本实施例能够在本地进行字段全面且基本无延时的交易清算。In this embodiment, the pre-market table information is obtained from the background server; the transaction parameter information is obtained from the background server or the counter server, or the transaction parameter information input by the user is obtained; and the account initialization is performed, wherein the account initialization includes obtaining the The server obtains account information; obtains and saves order information from the counter server and/or according to the obtained order instruction input by the user, the order information is derived from the account information, and the order instruction input by the user, entrustment return, transaction return or entrustment order status query result; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization to obtain account information, the order instruction input by the user, and the counter The entrustment return pushed by the server, the transaction return or order status inquiry result pushed by the counter server; liquidation processing is performed according to the pre-market table information, the transaction parameter information, the account information and the order information. This embodiment can perform transaction clearing locally with comprehensive fields and almost no delay.

实施例五:Embodiment five:

如图5所示,在本实施例中,实施例四中的交易参数信息获取模块102包括用于执行图2所对应的实施例中的方法步骤的结构,其包括:As shown in Figure 5, in this embodiment, the transaction parameter information acquisition module 102 in Embodiment 4 includes a structure for executing the method steps in the embodiment corresponding to Figure 2, which includes:

交易参数信息管理单元1021,用于根据账号保存、设置、获取交易参数信息;A transaction parameter information management unit 1021, configured to save, set, and obtain transaction parameter information according to the account;

第一自动获取检测单元1022,用于检测自动获取功能是否开启;The first automatic acquisition detection unit 1022 is configured to detect whether the automatic acquisition function is enabled;

第一交易参数信息获取单元1023,用于若自动获取功能开启,且所述账号为登录状态时,从所述柜台服务器获取交易参数信息;The first transaction parameter information acquisition unit 1023 is configured to acquire transaction parameter information from the counter server if the automatic acquisition function is enabled and the account is in a login state;

第二交易参数信息获取单元1024,用于若自动获取功能关闭,则在接收到用户输入的交易参数获取指令时,根据所述交易参数获取指令从所述柜台服务器获取交易参数信息。The second transaction parameter information acquisition unit 1024 is configured to acquire transaction parameter information from the counter server according to the transaction parameter acquisition instruction when receiving a transaction parameter acquisition instruction input by the user if the automatic acquisition function is disabled.

在本实施例中,第一交易参数信息获取单元1023具体用于若自动获取功能开启,通过当前用户的账号登录柜台服务器,所述账号登录成功后,即所述账号为登录状态时,对所述登录账号执行账号初始化,从所述柜台服务器获取交易参数信息,获取完成后,再执行一次账号初始化。In this embodiment, the first transaction parameter information acquisition unit 1023 is specifically configured to log in to the counter server through the account of the current user if the automatic acquisition function is turned on, and after the account is successfully logged in, that is, when the account is in the login state, Perform account initialization for the login account, obtain transaction parameter information from the counter server, and perform account initialization again after the acquisition is completed.

一个实施例中,所述交易参数信息获取模块102还包括:In one embodiment, the transaction parameter information acquisition module 102 also includes:

交易参数接口检测单元,用于检测所述柜台服务器是否提供交易参数接口;A transaction parameter interface detection unit, configured to detect whether the counter server provides a transaction parameter interface;

检测启动单元,用于若所述柜台服务器提供交易参数接口,则进入第一自动获取检测单元1022,检测自动获取功能是否开启;The detection start unit is used to enter the first automatic acquisition detection unit 1022 if the counter server provides a transaction parameter interface, and detect whether the automatic acquisition function is turned on;

获取用户设置交易参数单元,用于若所述柜台服务器没有提供交易参数接口,则获取用户通过交易参数设置界面输入的交易参数信息;Obtaining a user setting transaction parameter unit, which is used to obtain transaction parameter information input by the user through the transaction parameter setting interface if the counter server does not provide a transaction parameter interface;

获取后台交易参数单元,用于若没有获取到用户通过所述交易参数设置界面输入的交易参数信息,则从所述后台服务器获取交易参数信息;A background transaction parameter acquisition unit is used to obtain transaction parameter information from the background server if the transaction parameter information input by the user through the transaction parameter setting interface is not obtained;

交易参数信息存储单元,用于将从所述后台服务器或柜台服务器获取的交易参数信息,或获取用户输入的交易参数信息保存到所述本地存储空间。The transaction parameter information storage unit is configured to save the transaction parameter information acquired from the background server or the counter server, or the transaction parameter information input by the user, into the local storage space.

本实施例通过根据账号保存、设置、获取交易参数信息,检测自动获取功能是否开启,若自动获取功能开启,且所述账号为登录状态时,从所述柜台服务器获取交易参数信息,若自动获取功能关闭,则在接收到用户输入的交易参数获取指令时,根据所述交易参数获取指令从所述柜台服务器获取交易参数信息,或获取用户通过所述交易参数设置界面输入的交易参数信息或从所述后台服务器获取交易参数信息,将从所述后台服务器或柜台服务器获取的交易参数信息,或获取用户输入的交易参数信息保存到所述本地存储空间。实现了不同方式获取交易参数,便于在本地进行字段全面且基本无延时的交易清算。This embodiment detects whether the automatic acquisition function is enabled by saving, setting, and obtaining transaction parameter information according to the account number. If the automatic acquisition function is enabled and the account is in the login state, the transaction parameter information is obtained from the counter server. If the function is turned off, when the transaction parameter acquisition instruction input by the user is received, the transaction parameter information is obtained from the counter server according to the transaction parameter acquisition instruction, or the transaction parameter information input by the user through the transaction parameter setting interface or from the The background server obtains transaction parameter information, and saves the transaction parameter information obtained from the background server or the counter server, or the transaction parameter information input by the user, into the local storage space. Realize different ways to obtain transaction parameters, which facilitates local transaction clearing with comprehensive fields and basically no delay.

实施例六:Embodiment six:

如图6所示,在本实施例中,实施例四中的委托单信息管理模块104包括用于执行图3所对应的实施例中的方法步骤的结构,其包括:As shown in FIG. 6, in this embodiment, the order information management module 104 in Embodiment 4 includes a structure for executing the method steps in the embodiment corresponding to FIG. 3, which includes:

获取委托单下单单元1041,用于若接收到用户输入的委托单下单指令,且根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,则对所述委托单进行下单,将所述下单信息转换为所述委托单信息保存到所述本地存储空间;Obtaining order placing unit 1041, configured to, if receiving an order order input by the user and generating corresponding order information according to the order order input by the user satisfies the risk control conditions preset by the user, then Place an order with the entrustment order, convert the order information into the order information and save it in the local storage space;

获取委托回报单元1042,用于获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报或成交回报转换为所述委托单信息,保存到所述本地存储空间;Obtaining an entrustment return unit 1042, configured to acquire the entrustment return and transaction return pushed by the counter server, convert the entrustment return or transaction return into the order information, and save it in the local storage space;

未获成交回报处理单元1043,用于若所述下单信息满足成交条件,且未获取到所述柜台服务器推送的成交回报时,则发起委托单状态查询,将接收到的委托单状态查询结果转换为所述委托单信息,保存到所述本地存储空间。The unobtained transaction return processing unit 1043 is configured to initiate an order status query if the order information meets the transaction conditions and the transaction return pushed by the counter server is not obtained, and the received order status query result converted into the order information and saved to the local storage space.

在具体应用中,所述委托单信息管理模块104,还包括:In a specific application, the order information management module 104 further includes:

成交回报判断单元,用于若所述委托单信息和所述成交回报属于同一笔委托单时,比较所述委托单信息和所述成交回报的委托单状态或累计成交量和当次成交量,判断所述成交回报是延时到达的成交回报或是所述委托单信息和所述成交回报之间有丢失的成交回报,包括:A transaction return judging unit, configured to compare the order information and the order status or the cumulative transaction volume with the current transaction volume between the order information and the transaction return if the order information and the transaction return belong to the same order, Judging that the transaction return is a delayed transaction return or a transaction return that is lost between the order information and the transaction return, including:

委托单状态比较子单元,用于判断所述委托单信息中的委托单状态和所述成交回报的委托单状态;其中,所述委托单状态存在时间先后顺序,所述委托单下单后的委托单状态顺序为:待报,已报,部成,已成;所述委托单撤单后的委托单状态顺序为:待撤,已撤;The order status comparison subunit is used to judge the order status in the order information and the order status of the transaction return; wherein, the order status has a chronological order, and the order status after the order is placed The status order of the order is: waiting to be reported, reported, partially completed, and completed; the order of order status after the order is canceled is: pending, withdrawn;

第一延时处理子单元,用于若所述成交回报的委托单状态在所述委托单信息中的委托单状态之前,则判断所述成交回报为延时到达,丢弃所述成交回报;The first delay processing subunit is used to judge that the transaction return is delayed arrival if the order status of the transaction return is before the order status in the order information, and discard the transaction return;

部成判断子单元,用于若所述委托单信息和所述成交回报都为部分成交回报,则比较所述成交回报的累计成交量和所述委托单信息的累计成交量;Partial judgment sub-unit, used to compare the cumulative transaction volume of the transaction return with the cumulative transaction volume of the order information if both the order information and the transaction return are partial transaction returns;

第二延时处理子单元,用于若所述委托单信息的累计成交量大于所述成交回报的累计成交量,则判断所述成交回报是延时到达的成交回报,丢弃所述成交回报;The second delay processing subunit is used for judging that the transaction return is a delayed arrival transaction return if the cumulative transaction volume of the order information is greater than the cumulative transaction volume of the transaction return, and discarding the transaction return;

差值计算子单元,用于若所述委托单信息的累计成交量小于所述成交回报的累计成交量,则计算所述成交回报的累计成交量和所述委托单信息的累计成交量的差值;The difference calculation subunit is used to calculate the difference between the cumulative trading volume of the transaction return and the cumulative trading volume of the order information if the cumulative trading volume of the order information is less than the cumulative trading volume of the transaction return value;

第一差值比较子单元,用于若所述差值大于所述成交回报的当次成交量,则判定所述委托单信息和所述成交回报之间有丢失的成交回报,则根据所述成交回报和所述委托单信息重新计算当次成交量和当次成交价格,得到包含丢失成交回报的新成交回报,将所述包含丢失成交回报的新成交回报转换为所述委托单信息,保存在本地存储空间;The first difference comparison subunit is used to determine that there is a missing transaction return between the order information and the transaction return if the difference is greater than the current transaction volume of the transaction return, and then according to the The transaction return and the order information recalculate the current transaction volume and current transaction price to obtain a new transaction return including the lost transaction return, convert the new transaction return including the lost transaction return into the order information, and save in local storage;

第二差值比较子单元,用于若所述差值等于所述成交回报的当次成交量,则将所述成交回报转换为所述委托单信息,保存在本地存储空间。The second difference comparison subunit is used to convert the transaction return into the order information and save it in the local storage space if the difference is equal to the current transaction volume of the transaction return.

具体地,所述重新计算包括计算当次成交量和当次成交价格,得到包含丢失回报的新成交回报;其中,当次成交价格=(成交回报的累计成交量×成交回报的成交均价-委托单信息的累计成交量×委托单信息的成交均价-成交回报的当次成交量×成交回报的成交均价)/当次成交量;Specifically, the recalculation includes calculating the current transaction volume and the current transaction price to obtain a new transaction return including the lost return; wherein, the current transaction price=(cumulative transaction volume of the transaction return×average transaction price of the transaction return- Cumulative trading volume of order information × average transaction price of order information - current transaction volume of transaction returns × average transaction price of transaction returns)/current transaction volume;

当次成交量=(成交回报的累计成交量-委托单信息的累计成交量-成交回报的当次成交量)。The current transaction volume = (accumulated transaction volume of the transaction report - the cumulative transaction volume of the order information - the current transaction volume of the transaction report).

具体地,风控条件判断单元包括系统风控条件判断单元和账号风控条件判断单元。Specifically, the risk control condition judgment unit includes a system risk control condition judgment unit and an account risk control condition judgment unit.

具体地,所述系统风控条件判断单元包括:Specifically, the system risk control condition judging unit includes:

系统下单瞬发量判断子单元,用于判断系统下单瞬发量是否超过下单瞬发量阈值,超过则拒单;The system order prompt quantity judgment subunit is used to judge whether the system order prompt quantity exceeds the order prompt quantity threshold, and rejects the order if it exceeds;

允许未获回报委托数判断子单元,用于判断允许未获回报委托数是否超过的未获回报委托数阈值,超过则拒单;The allowable unreturned order number judgment subunit is used to judge whether the allowed unreturned order number exceeds the threshold value of the unreturned order number, and if it exceeds, the order will be rejected;

交易黑名单判断子单元,用于判断所述委托单中的交易代码在不在交易黑名单中,若所述委托单中的交易代码在交易黑名单中则拒单;The transaction blacklist judging subunit is used to judge whether the transaction code in the order is in the transaction blacklist, and reject the order if the transaction code in the order is in the transaction blacklist;

具体地,所述账号风控条件判断单元包括:Specifically, the account risk control condition judging unit includes:

当日下单数判断子单元,用于判断当前账号的当日下单数是否超过当日下单数阈值,超过则拒单;The judgment subunit of the number of orders placed on the current day is used to judge whether the number of orders placed on the current account exceeds the threshold value of the number of orders placed on the current day, and reject the order if it exceeds;

最大持仓量判断子单元,用于判断所述委托单中的每个交易代码对应的最大持仓量是否超过最大持仓量阈值,超过则拒单;The maximum position determination subunit is used to determine whether the maximum position corresponding to each transaction code in the order exceeds the maximum position threshold, and rejects the order if it exceeds;

账户资金使用比例判断子单元,用于判断当前用户的账户资金使用比例是否超过账户资金使用比例阈值,超过则拒单;The sub-unit for judging the ratio of account funds usage is used to judge whether the ratio of account funds usage of the current user exceeds the threshold value of the ratio of account funds usage, and reject the order if it exceeds;

账户资金使用上限判断子单元,用于判断当前用户的账户资金使用上限是否超过账户资金使用上限阈值,超过则拒单;The upper limit judgment subunit of account funds is used to judge whether the current user's account fund use upper limit exceeds the account fund use upper limit threshold, and reject the order if it exceeds;

交易代码数量判断子单元,用于判断所述委托单中的交易代码数量是否超过交易代码数量阈值,超过则拒单。The subunit for judging the number of transaction codes is used to judge whether the number of transaction codes in the order exceeds the threshold value of the number of transaction codes, and reject the order if it exceeds.

本实施通过若接收到用户输入的委托单下单指令,且根据用户输入的委托单下单指令生成对应的下单信息满足用户预先设置的风控条件,则对所述委托单进行下单,将所述下单信息转换为所述委托单信息保存到所述本地存储空间;获取所述柜台服务器推送的委托回报和成交回报,并将所述委托回报或成交回报转换为所述委托单信息,保存到所述本地存储空间;并对成交回报的延时到达、丢失等现象进行处理,实现了对满足条件的委托单进行下单交易、实时获取、更新委托单信息,便于在本地进行字段全面且基本无延时的交易清算。In this implementation, if the order order input by the user is received, and the corresponding order information generated according to the order order input by the user satisfies the risk control conditions preset by the user, then the order is placed for the order, converting the order information into the order information and storing it in the local storage space; obtaining the order return and transaction return pushed by the counter server, and converting the order return or transaction return into the order information , save to the local storage space; and deal with the delayed arrival and loss of transaction returns, etc., so as to realize the order transaction, real-time acquisition and update of order information for qualified orders, which is convenient for local processing Comprehensive trade clearing with virtually no delays.

应理解,所述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the embodiments do not mean the order of execution, the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention .

实施例七:Embodiment seven:

本实施例提供一种量化投资策略的交易清算装置。This embodiment provides a transaction clearing device for quantitative investment strategies.

图7是本发明一实施例提供的量化投资策略的交易清算装置的示意图。如图7所示,该实施例的量化投资策略的交易清算装置7包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机程序72,例如量化投资策略的交易清算程序。所述处理器70执行所述计算机程序72时实现所述各个量化投资策略的交易清算方法实施例中的步骤,例如图1所示的步骤S101至S105。或者,所述处理器70执行所述计算机程序72时实现所述各装置实施例中各单元的功能。Fig. 7 is a schematic diagram of a transaction settlement device for a quantitative investment strategy provided by an embodiment of the present invention. As shown in FIG. 7 , the transaction clearing device 7 of the quantitative investment strategy of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and operable on the processor 70, for example Transaction liquidation procedures for quantitative investment strategies. When the processor 70 executes the computer program 72, it realizes the steps in the embodiment of the transaction clearing method of each quantitative investment strategy, such as steps S101 to S105 shown in FIG. 1 . Alternatively, when the processor 70 executes the computer program 72, the functions of the units in the various device embodiments are realized.

示例性的,所述计算机程序72可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器71中,并由所述处理器70执行,以完成本发明。所述一个或多个单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序72在所述量化投资策略的交易清算装置7中的执行过程。例如,所述计算机程序72可以被分割成盘前表信息获取模块,交易参数信息获取模块,账号信息获取模块,委托单信息管理模块,清算处理模块,各模块具体功能如下:Exemplarily, the computer program 72 can be divided into one or more units, and the one or more units are stored in the memory 71 and executed by the processor 70 to implement the present invention. The one or more units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 72 in the transaction clearing device 7 of the quantitative investment strategy. For example, the computer program 72 can be divided into a module for obtaining pre-market table information, a module for obtaining transaction parameter information, a module for obtaining account information, a module for managing order information, and a module for liquidation processing. The specific functions of each module are as follows:

盘前表信息获取模块,用于从后台服务器获取盘前表信息;A pre-market table information acquisition module is used to obtain the pre-market table information from the background server;

交易参数信息获取模块,用于从所述后台服务器或柜台服务器获取交易参数信息,或获取用户输入的交易参数信息;A transaction parameter information obtaining module, configured to obtain transaction parameter information from the background server or the counter server, or obtain transaction parameter information input by the user;

账号信息获取模块,用于执行账号初始化,其中,所述账号初始化包括从所述柜台服务器获取账号信息;An account information acquisition module, configured to perform account initialization, wherein the account initialization includes acquiring account information from the counter server;

委托单信息管理模块,用于从所述柜台服务器和/或根据获取的用户输入的下单指令获取和保存委托单信息,所述委托单信息来源于所述账号信息,所述用户输入的下单指令,委托回报,成交回报或委托单状态查询结果;其中,所述委托单信息具体来源于所述账号初始化获取账号信息中获取的未结委托单信息,所述用户输入的下单指令,所述柜台服务器推送的委托回报,所述柜台服务器推送的成交回报或委托单状态查询结果;The order information management module is used to obtain and save order information from the counter server and/or according to the obtained order instruction input by the user, the order information comes from the account information, and the order information entered by the user order order, entrustment return, transaction return or entrustment order status query result; wherein, the entrustment order information is specifically derived from the unsettled order information obtained in the account initialization acquisition account information, the order order input by the user, The entrustment return pushed by the counter server, the transaction return or order status inquiry result pushed by the counter server;

清算处理模块,用于根据所述盘前表信息、所述交易参数信息、所述账号信息和所述委托单信息进行清算处理。A liquidation processing module, configured to perform liquidation processing according to the pre-market table information, the transaction parameter information, the account information and the order information.

所述量化投资策略的交易清算装置7可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述量化投资策略的交易清算装置可包括,但不仅限于,处理器70、存储器71。本领域技术人员可以理解,图7仅仅是量化投资策略的交易清算装置7的示例,并不构成对量化投资策略的交易清算装置7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述量化投资策略的交易清算装置还可以包括输入输出设备、网络接入设备、总线等。The transaction clearing device 7 of the quantitative investment strategy may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server. The transaction clearing device of the quantitative investment strategy may include, but not limited to, a processor 70 and a memory 71 . Those skilled in the art can understand that Fig. 7 is only an example of the transaction clearing device 7 of the quantitative investment strategy, and does not constitute a limitation on the transaction clearing device 7 of the quantitative investment strategy, and may include more or less components than those shown in the figure, Or combine certain components, or different components, for example, the transaction clearing device of the quantitative investment strategy may also include input and output devices, network access devices, buses and so on.

所称处理器70可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 70 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

所述存储器71可以是所述量化投资策略的交易清算装置7的内部存储单元,例如量化投资策略的交易清算装置7的硬盘或内存。所述存储器71也可以是所述量化投资策略的交易清算装置7的外部存储设备,例如所述量化投资策略的交易清算装置7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述量化投资策略的交易清算装置7的内部存储单元也包括外部存储设备。所述存储器71用于存储所述计算机程序以及所述量化投资策略的交易清算装置所需的其他程序和数据。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The memory 71 may be an internal storage unit of the quantitative investment strategy transaction clearing device 7, such as a hard disk or memory of the quantitative investment strategy transaction clearing device 7. The memory 71 can also be an external storage device of the transaction clearing device 7 of the quantitative investment strategy, such as a plug-in hard disk equipped on the transaction clearing device 7 of the quantitative investment strategy, a smart memory card (Smart Media Card, SMC ), Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 71 may also include both an internal storage unit of the transaction clearing device 7 of the quantitative investment strategy and an external storage device. The memory 71 is used to store the computer program and other programs and data required by the transaction clearing device of the quantitative investment strategy. The memory 71 can also be used to temporarily store data that has been output or will be output.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以所述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将所述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。所述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the functional units and modules is used for illustration. In practical applications, the functions can be assigned to different functional units according to needs Completion of units and modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist separately physically, or two or more units can be integrated into one unit, and the integrated unit can adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the system, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

在所述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For the parts that are not detailed or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

在本发明所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现所述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现所述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the embodiments, and can also be completed by instructing related hardware through computer programs, and the computer programs can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the various method embodiments described above can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.

Claims (10)

  1. A kind of 1. exchange settlement method for quantifying investment tactics, which is characterized in that including:
    From table information before background server acquisition disk;
    Parameter transaction information is obtained from the background server or counter service device or obtains parameter transaction letter input by user Breath;
    Account initialization is performed, wherein, the account initialization includes obtaining account information from the counter service device;
    Order ticket information, institute are obtained and preserve from the counter service device and/or according to the lower single instrction input by user of acquisition Order ticket information source is stated in the account information, the lower single instrction input by user, commission return, transation report-back or commission Single status inquiry result;Wherein, the order ticket information is derive specifically from the account initialization acquisition account information and obtains Do not tie order ticket information, the lower single instrction input by user, the commission return of the counter service device push, the sales counter The transation report-back of server push or order ticket status inquiry result;
    It is cleared according to table information, the parameter transaction information, the account information and the order ticket information before the disk Processing.
  2. 2. the exchange settlement method of quantization investment tactics as described in claim 1, which is characterized in that described from background server Table information before acquisition disk, including:
    If starting clearance processing routine, from table information before background server acquisition disk and preserve to local storage space;
    After starting clearance processing routine, if current time reaches the predetermined time, again before the background server obtains disk Table information is simultaneously preserved to local storage space.
  3. 3. the exchange settlement method of quantization investment tactics as described in claim 1, which is characterized in that described to be taken from the backstage Device or the counter service device acquisition parameter transaction information of being engaged in obtain parameter transaction information input by user, including:
    It is preserved, set according to account, obtaining parameter transaction information;
    Detection is automatic to obtain whether function opens;
    If automatically obtain function open, and the account be login status when, from the counter service device obtain parameter transaction letter Breath;
    If obtaining function automatically to close, when receiving parameter transaction acquisition instruction input by user, joined according to the transaction Number acquisition instruction obtains parameter transaction information from the counter service device.
  4. 4. the exchange settlement method of quantization investment tactics as described in claim 1, which is characterized in that described to be taken from the sales counter It is engaged in device and/or obtaining and preserve order ticket information according to the lower single instrction input by user of acquisition, including:
    If single instrction under order ticket input by user is received, and corresponding according to single instrction generation under order ticket input by user Order placement information meets the pre-set air control condition of user, then places an order to the order ticket, the order placement information is converted For the order ticket information, it is saved in the local storage space;
    Commission return and the transation report-back of the counter service device push are obtained, and the commission return or transation report-back are converted For the order ticket information, it is saved in the local storage space;
    If the order placement information meets bargain, and when the transation report-back of counter service device push has not been obtained, then send out Order ticket status inquiry is played, the order ticket status inquiry result received is converted into the order ticket information, is saved in described Local storage space.
  5. 5. the exchange settlement method of quantization investment tactics as claimed in claim 4, which is characterized in that described to be inputted according to user Order ticket under single instrction generate corresponding order placement information and meet the pre-set air control condition of user, including:
    It is described that the pre-set system of user is met according to the corresponding order placement information of single instrction generation under order ticket input by user Air control condition and account air control condition.
  6. 6. a kind of trade clearing system for quantifying investment tactics, which is characterized in that including:
    Table data obtaining module before disk, for from background server obtain disk before table information;
    Parameter transaction data obtaining module, for from the background server or counter service device obtain parameter transaction information or Obtain parameter transaction information input by user;
    Account information acquisition module, for performing account initialization, wherein, the account initialization is included from the counter service Device obtains account information;
    Order ticket information management module, for from the counter service device and/or the lower single instrction input by user according to acquisition It obtaining and preserves order ticket information, the order ticket information source is in the account information, the lower single instrction input by user, Commission return, transation report-back or order ticket status inquiry result;Wherein, at the beginning of the order ticket information is derive specifically from the account What is obtained in beginningization acquisition account information does not tie order ticket information, the lower single instrction input by user, the counter service device The commission return of push, the transation report-back or order ticket status inquiry result of the counter service device push;
    Processing module is cleared, for according to table information, the parameter transaction information, the account information and the committee before the disk The single information of support carries out clearance processing.
  7. 7. the trade clearing system of quantization investment tactics as claimed in claim 6, which is characterized in that table information obtains before the disk Modulus block, including:
    Table acquiring unit before disk, if clearing processing routine for starting, from table information before background server acquisition disk simultaneously It preserves to local storage space;
    Table updating unit before disk, after starting clearance processing routine, if current time reaches the predetermined time, again from described Background server obtains table information before disk and preserves to local storage space.
  8. 8. the trade clearing system of quantization investment tactics as claimed in claim 6, which is characterized in that the parameter transaction information Acquisition module, including:
    Parameter transaction information management unit, for being preserved according to account, setting, obtaining parameter transaction information;
    It is automatic to obtain detection unit, for detecting whether automatic acquisition function opens;
    First parameter transaction information acquisition unit, if for automatically obtain function open, and the account be login status when, from The counter service device obtains parameter transaction information;
    Second parameter transaction information acquisition unit if being closed for obtaining function automatically, is receiving transaction input by user When parameter acquiring instructs, parameter transaction information is obtained from the counter service device according to the parameter transaction acquisition instruction.
  9. 9. a kind of exchange settlement device for quantifying investment tactics, including memory, processor and is stored in the memory And the computer program that can be run on the processor, which is characterized in that when the processor performs the computer program It realizes such as the step of any one of claim 1 to 5 the method.
  10. 10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 the method.
CN201711275385.2A 2017-12-06 2017-12-06 Transaction clearing method, system and device for quantified investment strategy Active CN108230147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711275385.2A CN108230147B (en) 2017-12-06 2017-12-06 Transaction clearing method, system and device for quantified investment strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711275385.2A CN108230147B (en) 2017-12-06 2017-12-06 Transaction clearing method, system and device for quantified investment strategy

Publications (2)

Publication Number Publication Date
CN108230147A true CN108230147A (en) 2018-06-29
CN108230147B CN108230147B (en) 2021-02-26

Family

ID=62653931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711275385.2A Active CN108230147B (en) 2017-12-06 2017-12-06 Transaction clearing method, system and device for quantified investment strategy

Country Status (1)

Country Link
CN (1) CN108230147B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146685A (en) * 2018-08-08 2019-01-04 互通金融科技有限公司 One-stop option and structural product transaction information system and method
CN109741186A (en) * 2019-01-14 2019-05-10 上海冷水河信息科技有限公司 Data processing method, Cloud Server and the system of stock discs
CN109767123A (en) * 2019-01-14 2019-05-17 北京师范大学珠海分校 A quantitative strategy integrated analysis management system and method
CN110858228A (en) * 2018-08-08 2020-03-03 北京京东金融科技控股有限公司 Quantitative transaction method, client, device and storage medium
CN112184443A (en) * 2020-09-29 2021-01-05 上海金纳信息科技有限公司 Method, system, equipment and storage medium for retesting financial transaction information
CN112613989A (en) * 2020-12-21 2021-04-06 中国建设银行股份有限公司 Intelligent entrusting order-hanging method and system based on agency fund transfer product
WO2022078303A1 (en) * 2020-10-18 2022-04-21 张大成 Contract trading device
CN114793456A (en) * 2021-11-15 2022-07-26 富途网络科技(深圳)有限公司 Method and device for operating quantitative transaction strategy
CN115168438A (en) * 2022-09-07 2022-10-11 中国中金财富证券有限公司 Transaction return data integration method and related device
CN117391860A (en) * 2023-11-07 2024-01-12 中科驭数(北京)科技有限公司 Method, device, equipment and storage medium for processing wind control form removing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488208A (en) * 2009-01-20 2009-07-22 深圳市雁联计算系统有限公司 Business handling system and method for payment settlement synthetic service system
CN102663649A (en) * 2012-05-18 2012-09-12 苏州工业园区凌志软件有限公司 Financial derivative transaction system
CN103247003A (en) * 2013-05-15 2013-08-14 上海大智慧股份有限公司 Distributed program trading system oriented to event processing
CN104217362A (en) * 2014-09-29 2014-12-17 深圳市淘淘谷信息技术有限公司 Sorting system based on Internet communication and offline transaction and online instant accounting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488208A (en) * 2009-01-20 2009-07-22 深圳市雁联计算系统有限公司 Business handling system and method for payment settlement synthetic service system
CN102663649A (en) * 2012-05-18 2012-09-12 苏州工业园区凌志软件有限公司 Financial derivative transaction system
CN103247003A (en) * 2013-05-15 2013-08-14 上海大智慧股份有限公司 Distributed program trading system oriented to event processing
CN104217362A (en) * 2014-09-29 2014-12-17 深圳市淘淘谷信息技术有限公司 Sorting system based on Internet communication and offline transaction and online instant accounting method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109146685A (en) * 2018-08-08 2019-01-04 互通金融科技有限公司 One-stop option and structural product transaction information system and method
CN110858228A (en) * 2018-08-08 2020-03-03 北京京东金融科技控股有限公司 Quantitative transaction method, client, device and storage medium
CN109741186A (en) * 2019-01-14 2019-05-10 上海冷水河信息科技有限公司 Data processing method, Cloud Server and the system of stock discs
CN109767123A (en) * 2019-01-14 2019-05-17 北京师范大学珠海分校 A quantitative strategy integrated analysis management system and method
CN112184443A (en) * 2020-09-29 2021-01-05 上海金纳信息科技有限公司 Method, system, equipment and storage medium for retesting financial transaction information
WO2022078303A1 (en) * 2020-10-18 2022-04-21 张大成 Contract trading device
CN112613989A (en) * 2020-12-21 2021-04-06 中国建设银行股份有限公司 Intelligent entrusting order-hanging method and system based on agency fund transfer product
CN114793456A (en) * 2021-11-15 2022-07-26 富途网络科技(深圳)有限公司 Method and device for operating quantitative transaction strategy
CN115168438A (en) * 2022-09-07 2022-10-11 中国中金财富证券有限公司 Transaction return data integration method and related device
CN117391860A (en) * 2023-11-07 2024-01-12 中科驭数(北京)科技有限公司 Method, device, equipment and storage medium for processing wind control form removing

Also Published As

Publication number Publication date
CN108230147B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN108230147A (en) A kind of exchange settlement method, system and device for quantifying investment tactics
US7664692B2 (en) Method and system for creating and trading derivative investment instruments based on an index of investment management companies
US10037573B2 (en) Processing binary options in future exchange clearing
US20080010186A1 (en) System and method for internally matching electronic trade orders originated by a preselected group of traders
US10572937B2 (en) Generating implied orders based on electronic requests for quotes
US20120323755A1 (en) System and method for creating and trading a derivative investment instrument over a range of index values
CA2733053C (en) Systems and methods for compression of trade-related records identifying a same security, account or side
US20070198386A1 (en) Method and System for Creating and Trading Derivative Investment Instruments Based on an Index of Financial Exchanges
WO2005055096A2 (en) Spot market clearing
US20130325687A1 (en) Methods and arrangements for exchange traded products
US20150106250A1 (en) Computing systems and computer-implemented methods for use with interest rate swap future instruments
KR20090017793A (en) Online Securities Account Mortgage Loan System and Online Securities Account Mortgage Loan Transaction Method
TWM622333U (en) Decentralized clearing system and clearing system with thresholds
CA3033393C (en) System and method for automated generation and execution of instrument transactions
US20110218899A1 (en) Systems and methods for compression of trade-related records
TWI825506B (en) Non-centralized clearing method and system
CA2984275A1 (en) Electronic trading system and method for mutual funds and exchange traded funds
US20240249357A1 (en) Systems and methods for deriving synthetic assets and atomic transaction processing for the same
US20130031020A1 (en) Margin as credit enhancement contracts
TW202334874A (en) Method for liquidation with threshold and system therefor capable of limiting a liquidity risk during liquidation to be within a certain range
WO2023056519A1 (en) An electronic trading system for real property financial instruments
JP6507244B2 (en) Financial transaction management device and financial transaction management program
CN117993564A (en) Bond liquidity prediction method and related device
WO2022157659A1 (en) Digital information exchange
Lee The Impact of Co-location on the Quality of a Satellite Market: Evidence from the Singapore Exchange

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 12th Floor, Building A4, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Guotaian Educational Technology Co., Ltd.

Address before: 518000 Checkpoint, Nantou, Shenzhen, Guangdong Province, 30 Building 3, Zhiheng Industrial Park, Gate 2, Nanshan District, Shenzhen

Applicant before: GTA INFORMATION TECHNOLOGY CO., LTD. (GTA)

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220130

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen guotengan Vocational Education Technology Co.,Ltd.

Address before: 518000 12th Floor, Building A4, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN GTA EDUCATION TECH Ltd.