A kind of exchange settlement method, system and device for quantifying investment tactics
Technical field
The invention belongs to data processing field more particularly to it is a kind of quantify the exchange settlement method of investment tactics, system and
Device.
Background technology
Recently, the behavior and type merchandised on financial market are more and more, and therefore, exchange settlement is also become in chain transaction
A most important link.At present, it is local to obtain mode there are two types of exchange settlement results:Locally cleared and obtained sales counter
Clearance result.
However, it is not comprehensive enough in the data field for locally carrying out clearance acquisition, and the local sales counter clearance result that obtains exists
It is delayed and enquiry frequency may be restricted, therefore local is difficult to be quickly obtained true clearance result.
Invention content
In view of this, an embodiment of the present invention provides it is a kind of quantify investment tactics exchange settlement method, system and device,
It is not comprehensive enough in the data field for locally carrying out clearance acquisition in the prior art to solve, and the local sales counter clearance result that obtains is deposited
It may be restricted in delay and enquiry frequency, therefore local is difficult the problem of being quickly obtained true clearance result.
The first aspect of the embodiment of the present invention provides a kind of exchange settlement method for quantifying investment tactics, 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 input by user
Information;
Account initialization is performed, wherein, the account initialization includes obtaining account information from the counter service device;
Order ticket letter is obtained and preserves from the counter service device and/or according to the lower single instrction input by user of acquisition
Breath, 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, the order ticket information is derive specifically from the account initialization and obtains account information
Order ticket information, the lower single instrction input by user, the commission return of the counter service device push, institute are not tied in middle acquisition
State the transation report-back or order ticket status inquiry result of counter service device push;
It is carried out according to table information, the parameter transaction information, the account information and the order ticket information before the disk
Clearance processing.
The second aspect of the embodiment of the present invention provides a kind of trade clearing system for quantifying investment tactics, including:
Table data obtaining module before disk, for from background server obtain disk before table information;
Parameter transaction data obtaining module, for obtaining parameter transaction letter from the background server or counter service device
Breath obtains parameter transaction information input by user;
Account information acquisition module, for performing account initialization, wherein, the account initialization is included from the sales counter
Server obtains account information;
Order ticket information management module, for placing an order from the counter service device and/or according to the input by user of acquisition
Instruction obtains and preserves order ticket information, and the order ticket information source is described input by user to place an order in the account information
Instruction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from described
What is obtained in account initialization acquisition account information does not tie order ticket information, the lower single instrction input by user, the sales counter
The commission return of server 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 institute before the disk
It states order ticket information and carries out clearance processing.
The third aspect of the embodiment of the present invention provides a kind of exchange settlement device for quantifying investment tactics, including storage
Device, processor and it is stored in the computer program that can be run in the memory and on the processor, the processor
The step of above method being realized when performing the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, when the computer program is executed by processor the step of the realization above method.
The embodiment of the present invention from background server obtain disk before table information;It is obtained from the background server or counter service device
It takes parameter transaction information or obtains parameter transaction information input by user;Account initialization is performed, wherein, the account is initial
Change and include obtaining account information from the counter service device;From the counter service device and/or according to the input by user of acquisition
Lower single instrction obtains and preserves order ticket information, and the order ticket information source is described input by user in the account information
Lower single instrction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from
What is obtained in the account initialization acquisition account information does not tie order ticket information, and the lower single instrction input by user is described
The commission return of counter service device push, the transation report-back or order ticket status inquiry result of the counter service device push;Root
Clearance processing is carried out according to table information, the parameter transaction information, the account information and the order ticket information before the disk.This
Invention can locally carry out the comprehensive and substantially no-delay exchange settlement of field.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the schematic flow diagram of the exchange settlement method for the quantization investment tactics that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow diagram of the exchange settlement method of quantization investment tactics provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic flow diagram of the exchange settlement method for the quantization investment tactics that the embodiment of the present invention three provides;
Fig. 4 is the structure diagram of the trade clearing system for the quantization investment tactics that the embodiment of the present invention four provides;
Fig. 5 is the structure diagram of the trade clearing system for the quantization investment tactics that the embodiment of the present invention five provides;
Fig. 6 is the structure diagram of the trade clearing system for the quantization investment tactics that the embodiment of the present invention six provides;
Fig. 7 is the schematic diagram of the exchange settlement device for the quantization investment tactics that the embodiment of the present invention seven provides.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is explicitly described in attached drawing, it is clear that described embodiment is the present invention one
The embodiment divided, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Go out all other embodiments obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " comprising " and their any deformations in description and claims of this specification and above-mentioned attached drawing, meaning
Figure is to cover non-exclusive include.Such as process, method or system comprising series of steps or unit, product or equipment do not have
The step of having listed or unit are defined in, but optionally further includes the step of not listing or unit or optionally also wraps
It includes for the intrinsic other steps of these processes, method, product or equipment or unit.In addition, term " first ", " second " and
" third " etc. is for distinguishing different objects, not for description particular order.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
As shown in Figure 1, the present embodiment provides a kind of exchange settlement method for quantifying investment tactics, this method can be by hand
The intelligent terminals such as machine, tablet computer, pc client are run.
The exchange settlement method for the quantization investment tactics that the present embodiment is provided includes:
S101, table information before disk is obtained from background server.
In the present embodiment, the method can be used for clearing stock exchange, futures exchange or option trade.
In the present embodiment, local storage space refers to that the terminal device for currently running clearance processing routine is built-in or external
Storage device in memory space.
In the present embodiment, background server refers to carry out the clearance processing routine software house of background maintenance
Or the server that developer is run.Counter service device refers to the trading server of stock trader.
In a particular application, table information can specifically include before disk:Transaction code, exchange, variety type, price limits
Valency, yesterday knot valency, remaining number of days, contract multiplier, trade date, exercise price, target security previous close, the minimum guarantees of kind ID
Coefficient, exchange's initial margin etc. and the relevant information of transaction for quantifying investment tactics, can also include other Transaction Informations,
The content of table information before disk is not specifically limited in the present embodiment.
Wherein, the futures refer to be primarily not goods, but with certain mass product such as cotton, soybean, oil etc. and gold
Financing production such as stock, bond standardizes the contract that can merchandise for target.
The option is also known as right to choose, is a kind of derivative financial instrument.Refer to that buyer (refers to seller payments option cost
Premium) after possess (refer to American style option) within following a period of time or following a certain specific date (referring to European style option) is with thing
The price (referring to exercise price) first provided buys or sells the rights of a certain number of particular commodities to the seller, but do not bear must
(i.e. option buyer possesses chooses whether to exercise the right bought in or sold the obligation that must be bought or sell, and option seller must
Must unconditional conformance buyer selection and promise when fulfiling conclusion of the business).
The yesterday knot valency refers to the price settled accounts during transaction closing quotation yesterday.
The contract multiplier refers to that in exchange of shares index futures the value of contract is to refer to certain amount of currency with target
Several product represents.This certain amount of currency is, referred to as contract multiplier fixed by contract institute.
The exercise price refers to that publisher issues what is arranged during warrant, and warrant holder buys or sells to publisher
The price of target security.
The target security are that investor finances the card that the security that can be bought in and securities broker company can be blend-out to investor
Certificate.The closing price refers to finishing touch of certain security in stock exchange's each day of trade The bargain is closed price.
In one embodiment, step S101 is specifically included:
It table information and is preserved if starting clearance processing routine, before obtaining disk from the background server to sky is locally stored
Between;
After starting clearance processing routine, if current time reaches the predetermined time, obtained again from the background server
It table information and is preserved before disk to local storage space.
Specifically, the predetermined time can be preset time or prefixed time interval.
In concrete application, table information is stored in after local storage space before obtaining disk, starts account initialization.
In a particular application, table information is stored in after local storage space before obtaining disk, increases time label.
During convenient for restarting program, can by read local storage space obtain disk before table time tag information, judge
Whether to background server obtain disk before table information.
In a particular application, the information of the transaction is automatically saved to local storage space, for the local subsequently carried out
Clearance processing.Such as transaction code, transaction code and exchange's combined information or other relevant informations.
In the present embodiment:
S102, it obtains parameter transaction information from the background server or counter service device or obtains friendship input by user
Easy parameter information.
In one embodiment, step S102 is specifically included:
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 transaction ginseng
Number information;
If it obtains function automatically to close, when receiving parameter transaction acquisition instruction input by user, according to the friendship
Easy parameter acquiring instruction obtains parameter transaction information from the counter service device.
Specifically, it by the parameter transaction information input by user of acquisition or the parameter transaction information of counter service device, preserves
To the local storage space;Judge the local storage space whether there is and preserve the corresponding parameter transaction information of the account, if
The local storage space does not preserve the corresponding parameter transaction information of the account, then obtains and merchandise from the background server
Parameter information.
Specifically, an account performs primary automatic acquisition parameter transaction daily.
Specifically, it obtains parameter transaction to carry out on backstage, user can be carried out at the same time transaction.
Specifically, the account information includes:Fund information, account, which are held position, information and does not tie order ticket information etc..
Specifically, the parameter transaction information includes:Spot exchange parameter, futures exchange parameter and option trade parameter.
Specifically, the spot exchange parameter includes:Trade variety, unilateral transaction commission, transfer fee ratio, stamp tax
Rate.
Wherein, the unilateral transaction refers to buy in or sells the transaction in one of direction.
The stamp tax is the behavior institute to the voucher with legal effect is set up, accepted in economic activity and economic association
A kind of tax imposed.
After the transfer fee refers to that the stock of consignment business, fund strike a bargain, propped up by both parties by change equity registration
The expense paid.
Specifically, the futures exchange parameter includes:Transaction code, nominal margin, bull margin are opened
Storehouse service charge (member/hand), service charge of closing a position (member/hand) are equalled the present service charge (member/hand) and the service charge that opens a position (member/ten thousand yuan), are put down
Storehouse service charge (member/ten thousand yuan) equals the present service charge (member/ten thousand yuan).
Wherein, the bull refers in futures exchange, and investor buys in the position in storehouse held after futures contract bull
It holds position, abbreviation bull.
The bear position in storehouse held after contract that refers to sell short is held position bear, referred to as bear.Hold bull
Investor thinks that futures contract price can rise, so buying;On the contrary, after the investor for holding bear thinks futures contract price
It can drop, so just selling.
The margin is the client guarantee fund to be paid and the ratio of dealing security total market capitalisation.
In futures exchange, " flat the present " is exactly to flatten position in storehouse today, and " closing a position " is exactly to flatten history position in storehouse.
It is described open a position to be called open a position, open a position and refer to that futures exchange person newly buys in or newly sells a certain number of futures and closes
About.
Described close a position refers to that futures exchange person buys in or sells and holds the kind of futures contract, quantity and delivery month with it
The futures contract that part is identical but transaction direction is opposite, finishes the behavior of futures exchange, is exactly briefly " originally to buy in and just sell
Go out, be originally just buying in of selling ".
Specifically, option trade parameter includes:The service charge that opens a position (member) of buying in of trade variety sells the service charge that opens a position
(member) buys in service charge of closing a position (member), sells service charge of closing a position (member), guarantee fund's floating ratio, guarantee fund's regulation coefficient etc..
Wherein, it is described to sell the means of exchange for opening a position and referring to that investor is expected to fall to future price trend and takes, it sells and sees
Fall contract.It sells and opens a position, account funds are freezed.It selects to buy after price drops to close a position, earns price difference money.
It is described buy in close a position refer to investor by hold to sell contract no longer expected to fall to future prospects and sold before refilling
Go out contract, sell the contract counteracting that liquidates with original and withdraw from the market, account funds are thawed.
In the present embodiment:
S103, account initialization is performed, wherein, the account initialization includes obtaining account letter from the counter service device
Breath.
Specifically, the account is account of the user in counter service device.
Specifically, the account information includes:Fund information, account are held position information, do not tie order ticket information etc..
Wherein, the account initialization further includes:
It obtains again and does not tie order ticket information;
The relatively second order ticket information of not tying obtained does not tie order ticket information with what is obtained for the first time;
If second obtain do not tie order ticket information and acquisition for the first time not tie order ticket information consistent, illustrate
There is no transation report-back during acquisition;
If second obtain do not tie order ticket information and acquisition for the first time not tie order ticket information inconsistent, again
Perform above-mentioned steps, until second obtain do not tie order ticket information and acquisition for the first time not tie order ticket information consistent;
Using last time obtain do not tie order ticket information, account hold position information, fund information as clear data base
Plinth, order ticket information that processing second obtained do not tie and acquisition for the first time do not tie order ticket information it is consistent after into returning
Report.
Further, it is if not accurate enough or not complete enough from the partial information in the account information that the counter service device obtains
When whole, according to the parameter transaction of acquisition, order ticket information is not tied, account is held position table information before information and disk, again to not accurate enough
True or sufficiently complete information is calculated.
Further, when account initializes successfully, preserve fund information by account, account hold position information, do not tie commission
Single information.
For example, if the partial information in the account information obtained from the counter service device is not accurate enough or not complete enough
When whole, may be the acquisition counter service device hold position average price or the frozen capital or guarantee fund's information it is not accurate enough
It is true or sufficiently complete.
Further, when acquisition does not tie order ticket, if counter service device only returns to OrderID, without returning
ClientOrderID then automatically generates a number, the ClientOrderID as the order ticket.In the present embodiment, it adopts
With the mode of GUID, ClientOrderID is combined with OrderID, for marking the order ticket.Meanwhile preserve OrderID with
ClientOrderID or the correspondence of other fields of order ticket or field combination.
Specifically, OrderID refers to exchange's order ticket contract number, and ClientOrderID refers to the committee of client's label
The single O/No. of support.
By account initialization operation, the data for the terminal that user uses and the data of the counter service device can be realized
Alignment.
Specifically, user can set timing to perform account initialization.For example, perform account initialization before white disk opening quotation.
S104, obtain and preserve commission from the counter service device and/or according to the lower single instrction input by user of acquisition
Single information, the order ticket information source strike a bargain in the account information, the lower single instrction input by user, commission return
Return or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from the account initialization and obtains account
What is obtained in information does not tie order ticket information, the lower single instrction input by user, the commission time of the counter service device push
Report, the transation report-back or order ticket status inquiry result of the counter service device push.
In one embodiment, step S104 is specifically included:
If single instrction under order ticket input by user is received, and according to single instrction generation pair under order ticket input by user
The order placement information answered meets the pre-set air control condition of user, then places an order to the order ticket, by the order placement information
It is converted to the order ticket information and is saved in the local storage space;
Commission return and the transation report-back of the counter service device push are obtained, and return or transation report-back are entrusted by described
The order ticket information is converted to, 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,
Order ticket status inquiry is then initiated, the order ticket status inquiry result received is converted into the order ticket information, is saved in
The local storage space.
Wherein, after the commission return refers to that the order ticket places an order successfully, the return of the counter service device push.
When the transation report-back refers to that the order ticket has transaction conclusion of the business after placing an order, the counter service device push is returned
Report.
Specifically, the order ticket status inquiry result refers to meet bargain, and have not been obtained when the order placement information
To the counter service device push transation report-back when, to the counter service device initiate order ticket status inquiry after, receive
Counter service device feedback query result.
Specifically, the order ticket information includes:Fund account, stock code, exchange, ClientOrderID (clients
O/No.), OrderID (order ticket contract number), extract square root to, more short sides to, commission valency market price/price limit type, commission
Quantity, price, order ticket state, newest knock-down price, newest exchange hand, accumulation fixture number amount, conclusion of the business average price etc. are thrown with quantization
The relevant information of transaction of strategy is provided, other Transaction Informations can also be included.Wherein, the commission valency market price/price limit type is
Refer to the order ticket as market order type or Limit Order type.
Described extract square root still opens a position direction to the direction that refers to close a position.
Specifically, ClientOrderID or OrderID is used for one order ticket of uniquely tagged.
In the present embodiment:
S105, according to table information, the parameter transaction information, the account information and the order ticket information before the disk
Carry out clearance processing.
In a particular application, the order ticket information includes:Transaction code, commission amount add up exchange hand, when secondary conclusion of the business
Amount, surplus and conclusion of the business average price etc. and the relevant information of transaction for quantifying investment tactics, can also include other Transaction Informations,
The content of order ticket information is not specifically limited in the present embodiment.
In a particular application, if sales counter transation report-back can return to conclusion of the business average price, using the conclusion of the business average price of sales counter, otherwise, lead to
Conclusion of the business average price is calculated in the deal message for crossing preservation order ticket, and calculation formula is as follows:
Conclusion of the business average price=(locally preserve accumulative exchange hand × local preservation conclusion of the business average price+transation report-back works as secondary exchange hand
× transation report-back works as time knock-down price)/(the local accumulative exchange hand of preservation+when secondary exchange hand).
Specifically, one or more accounts that user can possess it carry out concrete operations.
In one embodiment, step S105 includes:
If S1051, the order ticket strike a bargain in the counter service device, the institute of the counter service device push is not received
When stating transation report-back, timing traversal does not tie order ticket, and to meeting the order ticket of condition, order ticket is initiated to the counter service device
Status inquiry.
Specifically, timing traversal can be that interval traverses or traversed in the predetermined time to schedule.
The condition includes:Market order, the order ticket to be struck a bargain with current market price;
Limit Order, the order ticket of commission price that user's setting is bought in or sold.
The fast according to the price in setting time interval is obtained, the fast according to the price includes:
Market highest price and market lowest price in prefixed time interval.
In one embodiment, include after step S1051:
If the order ticket meets market order, judge that the order ticket transaction strikes a bargain, initiated to the counter service device
Order ticket status inquiry, if the counter service device return order ticket status inquiry as a result, if carry out local clearance processing;
If the order ticket is Limit Order, and the commission price that the Limit Order is bought in is greater than or equal to the preset time
Market lowest price in interval then judges that the Limit Order transaction strikes a bargain, order ticket status inquiry is initiated to the counter service device,
If the counter service device return order ticket status inquiry as a result, if carry out local clearance processing;
If the order ticket is Limit Order, and the commission price that the Limit Order is sold is less than or equal to the preset time
Market highest price in interval then judges that the Limit Order transaction strikes a bargain, order ticket status inquiry is initiated to the counter service device,
If the counter service device return order ticket status inquiry as a result, if carry out local clearance processing;
If the order ticket is order ticket to be removed, order ticket status inquiry need to be initiated to the counter service device, if described
Counter service device returns to order ticket status inquiry as a result, then carrying out local clearance processing;
If the order ticket is unsatisfactory for order ticket bargain, order ticket state is not initiated to the counter service device and looked into
It askes.
Specifically, the order ticket to be removed refers to that user is removed the order ticket singly handled, the cabinet according to actual needs
Platform server carries out removing single operation according to the processing of user, and the order ticket to be removed, which is transformed into, has removed order ticket.
In the present embodiment, when lower single, a number is automatically generated, as the ClientOrderID of the order ticket, such as
By the way of GUID is generated, while preserve ClientOrderID and the correspondence of the other fields of order ticket or field combination.
If counter service device needs, ClientOrderID is sent to counter service device, if counter service device does not need to,
ClientOrderID is only stored in local, and counter service device reported information to be received according to the correspondence of preservation, passes through committee
The single other fields of support or field combination, find corresponding ClientOrderID.
Specifically, globally unique identifier (GUID, Globally Unique Identifier) is that one kind is given birth to by algorithm
Into binary length be the numeric identifier of 128.
In a particular application, it if receiving commission return, during transation report-back, then updates, preserve the order ticket information, root
It is cleared according to table information, the parameter transaction information, the account information and the order ticket information before the disk.
Specifically, the data obtained from counter service device are directly used in clearance.From counter service device obtain less than number
According to, locally calculated.
In a particular application, program is when clearing order ticket, according to account type or according to transaction code,
Table information before the disk that front preserves is inquired by exchange, after confirming trade variety type, determines regular using which kind of clearance.
Specifically, clearance rule includes:Stock clearance rule, futures clearance rule, option clearance rule etc..
Specifically, the clearance rule of different cultivars is different, and clearance rule can be done small according to exchange's prescribed manner
Modification.
In a particular application, content is calculated during clearance to include:The quantity available that corresponding code is held position is calculated, freezes quantity,
Modern storehouse quantity, frozen capital, avail occupy guarantee fund and wait the relevant information of transaction with quantization investment tactics, can be with
Including other Transaction Informations, the content of exchange settlement information is not specifically limited in the present embodiment.
In a particular application, it when calculating market order frozen capital, needs to use price limits valency;When calculating futures, to use
The contract multiplier of trading rules;And need to use guarantee fund's ratio of parameter transaction, transaction Operation Fee etc..
Wherein, it is described freeze quantity refer to an order ticket hold position due to place an order close a position it is frozen, it is impossible to the quantity of operation.
For example, futures have 2 hand bulls to hold position, user, which places an order, sells 1 hand of closing a position, then freezes quantity as 1 hand, can be with quantity of holding position for 1 hand.
The present storehouse quantity refers to open a position the quantity of conclusion of the business today.
The contract multiplier refers to that in exchange of shares index futures the value of contract is to refer to certain amount of currency with target
Several product represents.This certain amount of currency is, referred to as contract multiplier fixed by contract institute.
Specifically, partial data, such as the average price that opens a position that futures are held position, close a position strike a bargain when, can not locally clear, can be with
Using close a position strike a bargain when, the mode periodically inquired to sales counter does not influence the local clearances of other fields.
Specifically, all data for being stored in local storage space, can be stored in memory, can also be stored in local text
In part, local data base can also be stored in.
The present embodiment passes through table information before obtaining disk from background server;It is obtained from the background server or counter service device
It takes parameter transaction information or obtains parameter transaction information input by user;Account initialization is performed, wherein, the account is initial
Change and include obtaining account information from the counter service device;From the counter service device and/or according to the input by user of acquisition
Lower single instrction obtains and preserves order ticket information, and the order ticket information source is described input by user in the account information
Lower single instrction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from
What is obtained in the account initialization acquisition account information does not tie order ticket information, and the lower single instrction input by user is described
The commission return of counter service device push, the transation report-back or order ticket status inquiry result of the counter service device push;Root
Clearance processing is carried out according to table information, the parameter transaction information, the account information and the order ticket information before the disk.This
Embodiment can locally carry out the comprehensive and substantially no-delay exchange settlement of field.
Embodiment two:
As shown in Fig. 2, the present embodiment is to from the background server or counter service device on the basis of embodiment one
It obtains parameter transaction information or obtains the further refinement of parameter transaction information input by user.
In the present embodiment, it obtains parameter transaction information from the background server or counter service device or obtains user
The parameter transaction information of input, including:
S1021, it is preserved, set according to account, obtaining parameter transaction information;
Whether S1022, the automatic acquisition function of detection open;
If S1023, the automatic function that obtains are opened, and when the account is login status, obtained from the counter service device
Parameter transaction information;
If S1024, the automatic function that obtains are closed, when receiving parameter transaction acquisition instruction input by user, according to
The parameter transaction acquisition instruction obtains parameter transaction information from the counter service device.
In the present embodiment, in the predetermined time, the automatic acquisition function performs specific times.It can be according to actual conditions
Specifically set.Specifically, the predetermined time can be preset time or prefixed time interval.For example, at 9 points,
If obtaining function automatically to open, and when the account is login status, it is automatic obtain function perform it is primary.For example, described in one day
The automatic function that obtains performs once.
In the present embodiment, S1023 includes:
If obtaining function automatically to open, counter service device is logged in by the account of active user, the account logins successfully
Afterwards, i.e., when described account is login status, account initialization is performed to the login account, obtains and hands over from the counter service device
Easy parameter information after the completion of acquisition, then performs an account initialization.
Specifically, the parameter transaction information includes:Spot exchange parameter, futures exchange parameter and option trade parameter.
Specifically, spot exchange parameter includes:Trade variety, unilateral transaction commission, transfer fee ratio, bill stamp.
Specifically, futures exchange parameter includes:Transaction code, nominal margin, bull margin, open a position hand
Continue to pay dues (member/hand), service charge of closing a position (member/hand), puts down the present service charge (member/hand) and the service charge that opens a position (member/ten thousand yuan), hand of closing a position
Continue to pay dues (member/ten thousand yuan), equals the present service charge (member/ten thousand yuan).
Specifically, option trade parameter includes:Trade variety buys in the service charge that opens a position (member), sells the service charge that opens a position
(member) buys in service charge of closing a position (member), sells service charge of closing a position (member), guarantee fund's floating ratio, guarantee fund's regulation coefficient etc..
In a particular application, it is described to obtain parameter transaction information from the background server or counter service device or obtain
Parameter transaction information input by user, further includes:
Detect whether the counter service device provides parameter transaction interface;
If the counter service device provides parameter transaction interface, into S1022, detect whether automatic acquisition function is opened
It opens;
If the counter service device does not provide parameter transaction interface, obtain user and set interface defeated by parameter transaction
The parameter transaction information entered;
If the parameter transaction information that user sets interface to input by the parameter transaction is not got, after described
Platform server obtains parameter transaction information;
By the parameter transaction information obtained from the background server or counter service device or obtain transaction input by user
Parameter information is saved in the local storage space.
Specifically, if after the background server obtains parameter transaction information, detect that the counter service device carries
For parameter transaction interface or automatic acquisition function is opened or user inputs parameter transaction acquisition instruction, then re-executes S102.
The present embodiment is detected and automatic obtains whether function is opened by being preserved according to account, set, obtain parameter transaction information
Open, if automatically obtain function open, and the account be login status when, from the counter service device obtain parameter transaction letter
Breath is closed if obtaining function automatically, when receiving parameter transaction acquisition instruction input by user, according to the parameter transaction
Acquisition instruction obtains parameter transaction information or obtain user from the counter service device sets interface defeated by the parameter transaction
The parameter transaction information that enters obtains parameter transaction information from the background server, will be taken from the background server or sales counter
The parameter transaction information or acquisition parameter transaction information input by user that business device obtains are saved in the local storage space.It is real
Different modes are showed and have obtained parameter transaction, convenient for locally carrying out the comprehensive and substantially no-delay exchange settlement of field.
Embodiment three:
As shown in figure 3, the present embodiment be on the basis of embodiment one to it is described from the counter service device and/or according to
The lower single instrction input by user obtained obtains and preserves the further refinement of order ticket information.
In the present embodiment, it is described to be obtained from the counter service device and/or according to the lower single instrction input by user of acquisition
Order ticket information is taken and preserves, including:
If single instrction under order ticket input by user S1041, is received, and according to single instrction under order ticket input by user
It generates corresponding order placement information and meets the pre-set air control condition of user, then place an order to the order ticket, under described
Single information is converted to the order ticket information and is saved in the local storage space;
S1042, the commission return for obtaining counter service device push and transation report-back, and by the commission return or into
It returns report and is converted to the order ticket information, be saved in the local storage space;
If S1043, the order placement information meet bargain, and have not been obtained counter service device push into returning
It gives the correct time, then initiates order ticket status inquiry, the order ticket status inquiry result received is converted into the order ticket information, protect
It is stored to the local storage space.
Specifically, the order placement information, the commission return are received, the transation report-back or the order ticket state are looked into
After asking result, the order placement information, the commission are returned, wrapped in the transation report-back or the order ticket status inquiry result
The information contained is converted to the order ticket information, is stored in local storage space.Conversion regime is corresponding field assignment.Wherein,
For the order ticket information after the order ticket information of different conditions is received, update preserves the state that last time receives
Order ticket information.For example, after receiving the commission return, the content of order ticket information that the local storage space is stored
It is updated to the commission return.
Specifically, an account performs primary automatic acquisition parameter transaction daily.
Specifically, it obtains parameter transaction information to carry out on backstage, user can be carried out at the same time transaction.
In a particular application, the commission return for obtaining the counter service device push and transation report-back, and by described in
Commission return or transation report-back are converted to the order ticket information, are saved in after the local storage space, further include:
If the order ticket information and the transation report-back belong to same order ticket, the order ticket information and
The order ticket state or accumulative exchange hand of the transation report-back and when time exchange hand, it is that delay reaches to judge the transation report-back
There is the transation report-back of loss between transation report-back or the order ticket information and the transation report-back, including:
Judge the order ticket state of the order ticket state and the transation report-back in the order ticket information;Wherein, it is described
Order ticket state existence time sequencing, the order ticket sequence of states after the order ticket places an order are:Wait to report, report, portion into,
It has become;The order ticket removes the order ticket sequence of states after list:It waits to remove, remove;
If before order ticket state of the order ticket state of the transation report-back in the order ticket information, institute is judged
It states transation report-back to reach for delay, abandons the transation report-back;
If the order ticket information and the transation report-back are all part transation report-back, the transation report-back tires out
Count the accumulative exchange hand of exchange hand and the order ticket information;
If the accumulative exchange hand of the order ticket information be more than the transation report-back accumulative exchange hand, judge it is described into
It is the transation report-back that delay reaches to return report, abandons the transation report-back;
If the accumulative exchange hand of the order ticket information be less than the transation report-back accumulative exchange hand, calculate it is described into
Return the difference of the accumulative exchange hand of report and the accumulative exchange hand of the order ticket information;
If the difference, when time exchange hand, judges the order ticket information and the conclusion of the business more than the transation report-back
There is the transation report-back of loss between return, then recalculated according to the transation report-back and the order ticket information when time exchange hand
With when time concluded price, obtain comprising the new deal return for losing transation report-back, by it is described comprising lose transation report-back it is new into
It returns report and is converted to the order ticket information, be stored in local storage space;
If the transation report-back, when time exchange hand, is converted to the commission by the difference equal to the transation report-back
Single information, is stored in local storage space.
Specifically, the order ticket state includes:Wait to report, report, waiting to remove, having removed, portion into (striking a bargain part), have become it is (complete
It strikes a bargain in portion).
Wherein, treat that report state refers to that single instrction under order ticket is not reported for work also the state of exchange by data processing.Shape is reported
State refers under order ticket that single instrction is reported for work exchange by data processing, and what counter service device received that exchange sends out places an order
The state of feedback.Part, which is struck a bargain, refers to the accumulative exchange hand ratio amount of the placing an order state that is small, while not being revoked of order ticket,.
It is equal to the state for the amount of placing an order into the accumulative exchange hand for referring to order ticket, i.e., described order ticket all strikes a bargain.
Specifically, if being before order ticket state of the order ticket state of the transation report-back in the order ticket information
Refer to:Judge the front and rear of the order ticket state of the transation report-back and the sequence of the order ticket state in the order ticket information.Example
Such as, if the order ticket state of the transation report-back is waits to remove, the order ticket state in the order ticket information is to have removed, then described
Before order ticket state of the order ticket state of transation report-back in the order ticket information, then judge the transation report-back to prolong
When reach, abandon the transation report-back.
Specifically, described recalculate works as time exchange hand and when time concluded price including calculating, and obtains comprising loss return
New deal return;Wherein, when secondary concluded price=(conclusion of the business average price-committee of accumulative exchange hand × transation report-back of transation report-back
Conclusion of the business average price-transation report-back of accumulative exchange hand × order ticket information of the single information of support when time exchange hand × transation report-back into
Hand over average price)/when secondary exchange hand;
When secondary exchange hand=(accumulative exchange hand-transation report-back of accumulative exchange hand-order ticket information of transation report-back work as
Secondary exchange hand).
Specifically, during sales counter push transation report-back, the transation report-back include transation report-back when time exchange hand and
The accumulative exchange hand that the sales counter strikes a bargain.The accumulative exchange hand of i.e. described transation report-back is the accumulative conclusion of the business of the order ticket information
The sum of amount, exchange hand of transation report-back for working as time exchange hand and loss of transation report-back.
Specifically, it is described corresponding order placement information to be generated according to single instrction under order ticket input by user to meet user advance
The air control condition of setting, including:
It is described corresponding order placement information to be generated according to single instrction under order ticket input by user to meet user pre-set
System air control condition and account air control condition.
Specifically, the system air control condition includes:
Single wink hair amount is no more than lower single wink hair amount threshold value under system, more than then refusing list;
Allow not obtain that return commission number is no more than does not obtain return commission number threshold value, more than then refusing list;
Transaction code in the order ticket is not in blacklist of merchandising, if the transaction code in the order ticket is being merchandised
List is then refused in blacklist;
Specifically, the account air control condition includes:
Odd number is no more than singular threshold value under the same day under the same day of current account, more than then refusing list;
The corresponding maximum amount of holding position of each transaction code in the order ticket is no more than the maximum amount of holding position threshold value, more than then
Refuse list;
The account fund use ratio of active user is no more than account fund use ratio threshold value, more than then refusing list;
The account fund SC service ceiling of active user is no more than account fund SC service ceiling threshold value, more than then refusing list;
Transaction code quantity in the order ticket is no more than transaction code amount threshold, more than then refusing list.
Specifically, when single wink hair amount refers to receive lower list under system, lower single quantity/second is calculated.
Specifically, when placing an order successfully, single wink hair amount adds one under system, per second to be once zeroed.
When allowing not obtain return commission number and referring to place an order successfully, return number is not received.
Specifically, when placing an order successfully, system does not receive return number, then does not obtain return number and add one.If receiving commission to report,
Transation report-back refuses single return, then does not obtain return number and subtract one.
Specifically, account fund use ratio refers to calculate this place an order capital quantity that need to freeze and the money used
The sum of gold amount, then the ratio that this place an order the sum of the capital quantity that need to freeze and the capital quantity used account for total equity is calculated
Example.
Account fund SC service ceiling refers to this place an order the sum of capital quantity that need to freeze and the capital quantity used.
Transaction code quantity refers to the order ticket code quantity of this transaction.
In a particular application, when calculating total equity, can newest equity be calculated according to the recent quotation for code of holding position.
In a particular application, it if order ticket is unsatisfactory for air control condition, does not place an order to the order ticket.
In the present embodiment, only in the case of opening a position carry out order ticket air control condition judgment, in the case of closing a position without
The air control condition judgment of order ticket.
Specifically, the information such as odd number under the same day of the account, can be stored in local storage space, specifically, can be with
Memory is stored in, can also be stored in local file, local data base can also be stored in.
Specifically, user can set timing to remove and preserve information mechanism, for example, before periodically removing white disk, the opening quotation of night disk
Deng preservation information.
If this implementation is by receiving single instrction under order ticket input by user, and place an order according to order ticket input by user
Instruction generates corresponding order placement information and meets the pre-set air control condition of user, then places an order to the order ticket, and will
The order placement information is converted to the order ticket information and is saved in the local storage space;Obtain the counter service device push
Commission return and transation report-back, and by the commission return and transation report-back be converted to the order ticket information be saved in it is described
Local storage space, and phenomena such as reaching, losing to the delay of transation report-back handle, realize the commission to meeting condition
Place an order transaction, in real time acquisition, update order ticket information are singly carried out, convenient for locally carrying out the comprehensive and substantially no-delay friendship of field
Easily clearance.
Example IV:
As shown in figure 4, the present embodiment provides a kind of trade clearing system 100 for quantifying investment tactics, for performing Fig. 1 institutes
Method and step in corresponding embodiment.
The trade clearing system 100 of quantization investment tactics includes:
Table data obtaining module 101 before disk, for from background server obtain disk before table information;
Parameter transaction data obtaining module 102, for obtaining parameter transaction from the background server or counter service device
Information obtains parameter transaction information input by user;
Account information acquisition module 103, for performing account initialization, wherein, the account initialization is included from described
Counter service device obtains account information;
Order ticket information management module 104, for from the counter service device and/or according to acquisition it is input by user under
Single instrction obtains and preserves order ticket information, the order ticket information source in the account information, it is described it is input by user under
Single instrction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from institute
State account initialization obtain account information in obtain do not tie order ticket information, the lower single instrction input by user, the cabinet
The commission return of platform server push, the transation report-back or order ticket status inquiry result of the counter service device push;
Processing module 105 is cleared, for according to table information, the parameter transaction information, the account information before the disk
Clearance processing is carried out with the order ticket information.
In one embodiment, table data obtaining module 101 includes before disk:
Table information unit before acquisition disk, if clearing processing routine for starting, before the background server obtains disk
Table information is simultaneously preserved to local storage space;
Table information unit before more new building, after starting clearance processing routine, if current time reaches the predetermined time, then
It is secondary obtain disk from the background server before table information and preserve to local storage space.
In concrete application, before startup acquisition disk after table information unit, start account initialization unit.
In concrete application, before disk is obtained after table information unit, start time label subelement, for increasing table before disk
Information time marks.
Specifically, the account information includes:Fund information, account, which are held position, information and does not tie order ticket information etc..
In a particular application, account information acquisition module 103 is specifically used for:Account initialization is performed, wherein, the account
Initialization includes obtaining account information from the counter service device.
In one embodiment, account information acquisition module 103 includes account initialization unit.
In a particular application, the account initialization unit includes:
Subelement is obtained, is held position information for not tying order ticket information, fund information, account to the acquisition of counter service device;
It does not tie and looks into subelement again, order ticket information is not tied for obtaining again;
First does not tie comparing subunit, is obtained not with first time for the order ticket information of not tying that relatively second obtains
Tie order ticket information;
Second does not tie comparing subunit, if not tied with what is obtained for the first time for the order ticket information of not tying that second obtains
Order ticket information is consistent, then explanation does not have transation report-back during acquisition;
Third does not tie comparing subunit, if not tied with what is obtained for the first time for the order ticket information of not tying that second obtains
Order ticket information is inconsistent, then performs above-mentioned steps again, until the order ticket information of not tying obtained for second is obtained with first time
Take not tie order ticket information consistent;
Transation report-back handle subelement, for by last time obtain do not tie order ticket information, account hold position information, money
Data basis of the golden information as clearance, second of order ticket information of not tying obtained of processing do not tie commission with what is obtained for the first time
Transation report-back after single information is consistent.
In a particular application, the account initialization unit further includes:
Subelement is recalculated, if for not accurate enough from the partial information in the account information that the counter service device obtains
When true or sufficiently complete, according to the parameter transaction of acquisition, order ticket information is not tied, account is held position table information before information and disk, weight
Newly not accurate enough or sufficiently complete information is calculated;
For when account initializes successfully, fund information is preserved by account for information storing sub-units, account is held position letter
Breath does not tie order ticket information.
For example, if the partial information in the account information obtained from the counter service device is not accurate enough or not complete enough
When whole, may be the acquisition counter service device hold position average price or the frozen capital or guarantee fund's information it is not accurate enough
It is true or sufficiently complete.
In one embodiment, clearance processing module 105 includes:
Order ticket condition judgment unit if striking a bargain for the order ticket in the counter service device, does not receive described
During the transation report-back of counter service device push, timing traversal does not tie order ticket, to meeting the order ticket of condition, to the cabinet
Platform server initiates order ticket status inquiry.
In one embodiment, the order ticket condition judgment unit includes:
Market order judgment sub-unit if meeting market order for the order ticket, judges that the order ticket transaction strikes a bargain,
To the counter service device initiate order ticket status inquiry, if the counter service device return order ticket status inquiry as a result, if
Carry out local clearance processing;
First Limit Order judgment sub-unit, if being Limit Order for the order ticket, and the commission that the Limit Order is bought in
Price is greater than or equal to market lowest price in the prefixed time interval, then judges that the Limit Order transaction strikes a bargain, to the cabinet
Platform server initiate order ticket status inquiry, if the counter service device return order ticket status inquiry as a result, if carry out local
Clearance processing;
Second Limit Order judgment sub-unit, if being Limit Order for the order ticket, and the commission that the Limit Order is sold
Price is less than or equal to market highest price in the prefixed time interval, then judges that the Limit Order transaction strikes a bargain, to the cabinet
Platform server initiate order ticket status inquiry, if the counter service device return order ticket status inquiry as a result, if carry out local
Clearance processing;
Order ticket subelement to be removed if being order ticket to be removed for the order ticket, need to be initiated to the counter service device
Order ticket status inquiry, if the counter service device return order ticket status inquiry as a result, if carry out local clearance processing.
Do not strike a bargain unit, if being unsatisfactory for order ticket bargain for the order ticket, is not sent out to the counter service device
Play order ticket status inquiry.
The present embodiment passes through table information before obtaining disk from background server;It is obtained from the background server or counter service device
It takes parameter transaction information or obtains parameter transaction information input by user;Account initialization is performed, wherein, the account is initial
Change and include obtaining account information from the counter service device;From the counter service device and/or according to the input by user of acquisition
Lower single instrction obtains and preserves order ticket information, and the order ticket information source is described input by user in the account information
Lower single instrction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from
What is obtained in the account initialization acquisition account information does not tie order ticket information, and the lower single instrction input by user is described
The commission return of counter service device push, the transation report-back or order ticket status inquiry result of the counter service device push;Root
Clearance processing is carried out according to table information, the parameter transaction information, the account information and the order ticket information before the disk.This
Embodiment can locally carry out the comprehensive and substantially no-delay exchange settlement of field.
Embodiment five:
As shown in figure 5, in the present embodiment, the parameter transaction data obtaining module 102 in example IV includes holding
The structure of the method and step in embodiment corresponding to row Fig. 2, including:
Parameter transaction information management unit 1021, for being preserved according to account, setting, obtaining parameter transaction information;
First automatic acquisition detection unit 1022, for detecting whether automatic acquisition function opens;
First parameter transaction information acquisition unit 1023, if being opened for obtaining function automatically, and the account is logs in
During state, parameter transaction information is obtained from the counter service device;
Second parameter transaction information acquisition unit 1024, it is defeated receiving user if being closed for obtaining function automatically
During the parameter transaction acquisition instruction entered, parameter transaction letter is obtained from the counter service device according to the parameter transaction acquisition instruction
Breath.
In the present embodiment, if the first parameter transaction information acquisition unit 1023 is specifically used for the automatic function that obtains and opens,
Counter service device is logged in by the account of active user, it is after the account logins successfully, i.e., right when described account is login status
The login account performs account initialization, obtains parameter transaction information from the counter service device, after the completion of acquisition, then performs
Account initialization.
In one embodiment, the parameter transaction data obtaining module 102 further includes:
Parameter transaction interface detection unit, for detecting whether the counter service device provides parameter transaction interface;
Start unit is detected, if providing parameter transaction interface for the counter service device, into the first automatic acquisition
Detection unit 1022, detects whether automatic acquisition function opens;
User setting parameter transaction unit is obtained, if not providing parameter transaction interface for the counter service device,
Obtain the parameter transaction information that user sets interface to input by parameter transaction;
Backstage parameter transaction unit is obtained, if interface is set to input by the parameter transaction for not getting user
Parameter transaction information, then from the background server obtain parameter transaction information;
Parameter transaction information memory cell, for the parameter transaction that will be obtained from the background server or counter service device
Information or acquisition parameter transaction information input by user are saved in the local storage space.
The present embodiment is detected and automatic obtains whether function is opened by being preserved according to account, set, obtain parameter transaction information
Open, if automatically obtain function open, and the account be login status when, from the counter service device obtain parameter transaction letter
Breath is closed if obtaining function automatically, when receiving parameter transaction acquisition instruction input by user, according to the parameter transaction
Acquisition instruction obtains parameter transaction information or obtain user from the counter service device sets interface defeated by the parameter transaction
The parameter transaction information that enters obtains parameter transaction information from the background server, will be taken from the background server or sales counter
The parameter transaction information or acquisition parameter transaction information input by user that business device obtains are saved in the local storage space.It is real
Different modes are showed and have obtained parameter transaction, convenient for locally carrying out the comprehensive and substantially no-delay exchange settlement of field.
Embodiment six:
As shown in fig. 6, in the present embodiment, the order ticket information management module 104 in example IV includes performing
The structure of the method and step in embodiment corresponding to Fig. 3, including:
Obtain single unit 1041 under order ticket, if for receiving single instrction under order ticket input by user, and according to
The corresponding order placement information of single instrction generation meets the pre-set air control condition of user under the order ticket of family input, then to the committee
Support singly places an order, and the order placement information is converted to the order ticket information is saved in the local storage space;
Commission report unit 1042 is obtained, for obtaining the commission return of the counter service device push and transation report-back,
And the commission return or transation report-back are converted into the order ticket information, it is saved in the local storage space;
Transation report-back processing unit 1043 is not obtained, if meeting bargain for the order placement information, and institute has not been obtained
When stating the transation report-back of counter service device push, then order ticket status inquiry is initiated, the order ticket status inquiry knot that will be received
Fruit is converted to the order ticket information, is saved in the local storage space.
In a particular application, the order ticket information management module 104, further includes:
Transation report-back judging unit, if belonging to same order ticket for the order ticket information and the transation report-back
When, the order ticket state or accumulative exchange hand of the order ticket information and the transation report-back and when time exchange hand judge
The transation report-back is that have loss between the transation report-back that delay reaches or the order ticket information and the transation report-back
Transation report-back, including:
Order ticket epidemic situation comparison subelement, for judging order ticket state in the order ticket information and described into returning
The order ticket state of report;Wherein, the order ticket state existence time sequencing, the order ticket place an order after order ticket shape
State sequence be:It waits to report, report, portion is into having become;The order ticket removes the order ticket sequence of states after list:It waits to remove, remove;
First delay process subelement, if for the transation report-back order ticket state in the order ticket information
Before order ticket state, then judge that the transation report-back is reached for delay, abandon the transation report-back;
Portion is into judgment sub-unit, if being all part transation report-back for the order ticket information and the transation report-back,
Compare the accumulative exchange hand of the transation report-back and the accumulative exchange hand of the order ticket information;
Second delay process subelement, if the accumulative exchange hand for the order ticket information is more than the transation report-back
Accumulative exchange hand, then it is the transation report-back that delay reaches to judge the transation report-back, abandons the transation report-back;
Mathematic interpolation subelement, if the accumulative exchange hand for the order ticket information is less than the accumulative of the transation report-back
Exchange hand then calculates the difference of the accumulative exchange hand of the transation report-back and the accumulative exchange hand of the order ticket information;
First difference comparsion subelement, if judging for the difference more than the transation report-back when time exchange hand
There is the transation report-back of loss between the order ticket information and the transation report-back, then according to the transation report-back and the commission
Single information is recalculated when time exchange hand and when time concluded price, is obtained comprising the new deal return for losing transation report-back, by institute
It states and is converted to the order ticket information comprising the new deal return for losing transation report-back, be stored in local storage space;
Second difference comparsion subelement, if for the difference equal to the transation report-back when time exchange hand, by institute
It states transation report-back and is converted to the order ticket information, be stored in local storage space.
Specifically, described recalculate works as time exchange hand and when time concluded price including calculating, and obtains comprising loss return
New deal return;Wherein, when secondary concluded price=(conclusion of the business average price-committee of accumulative exchange hand × transation report-back of transation report-back
Conclusion of the business average price-transation report-back of accumulative exchange hand × order ticket information of the single information of support when time exchange hand × transation report-back into
Hand over average price)/when secondary exchange hand;
When secondary exchange hand=(accumulative exchange hand-transation report-back of accumulative exchange hand-order ticket information of transation report-back work as
Secondary exchange hand).
Specifically, air control condition judgment unit includes system air control condition judgment unit and account air control condition judgment list
Member.
Specifically, the system air control condition judgment unit includes:
Single wink hair amount judgment sub-unit under system, for judging whether single wink hair amount is more than lower single wink hair amount threshold under system
Value, more than then refusing list;
Allow not obtain return commission number judgment sub-unit, whether be more than not obtain for judging to allow not obtain return commission number
Return commission number threshold value, more than then refusing list;
Transaction blacklist judgment sub-unit, for judging the transaction code in the order ticket or not transaction blacklist
In, refuse list if the transaction code in the order ticket is in blacklist of merchandising;
Specifically, the account air control condition judgment unit includes:
Singular judgment sub-unit under the same day, for judging whether odd number is more than singular threshold under the same day under the same day of current account
Value, more than then refusing list;
The maximum amount of holding position judgment sub-unit, the corresponding maximum of each transaction code for judging in the order ticket are held position
Whether amount is more than the maximum amount of holding position threshold value, more than then refusing list;
Account fund use ratio judgment sub-unit, for judge the account fund use ratio of active user whether be more than
Account fund use ratio threshold value, more than then refusing list;
Account fund SC service ceiling judgment sub-unit, for judge the account fund SC service ceiling of active user whether be more than
Account fund SC service ceiling threshold value, more than then refusing list;
Transaction code quantity judgment sub-unit, for judging whether the transaction code quantity in the order ticket is more than transaction
Code quantity threshold value, more than then refusing list.
If this implementation is by receiving single instrction under order ticket input by user, and place an order according to order ticket input by user
Instruction generates corresponding order placement information and meets the pre-set air control condition of user, then places an order to the order ticket, by institute
It states order placement information and is converted to the order ticket information and be saved in the local storage space;Obtain the counter service device push
Commission return and transation report-back, and the commission return or transation report-back are converted into the order ticket information, it is saved in described
Local storage space;And phenomena such as delay of transation report-back is reached, lost, is handled, and realizes the commission to meeting condition
Place an order transaction, in real time acquisition, update order ticket information are singly carried out, convenient for locally carrying out the comprehensive and substantially no-delay friendship of field
Easily clearance.
It should be understood that the size of the serial number of each step is not meant to the priority of execution sequence, each process in the embodiment
Execution sequence should determine that the implementation process without coping with the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Embodiment seven:
The present embodiment provides a kind of exchange settlement devices for quantifying investment tactics.
Fig. 7 is the schematic diagram of the exchange settlement device for the quantization investment tactics that one embodiment of the invention provides.Such as Fig. 7 institutes
Show, the exchange settlement device 7 of the quantization investment tactics of the embodiment includes:It processor 70, memory 71 and is stored in described
In memory 71 and the computer program 72 that can be run on the processor 70, such as the exchange settlement journey of quantization investment tactics
Sequence.The processor 70 realizes that the exchange settlement method of each quantization investment tactics is real when performing the computer program 72
Apply the step in example, such as step S101 to S105 shown in FIG. 1.Alternatively, the processor 70 performs the computer program
The function of each unit in each device embodiment is realized when 72.
Illustratively, the computer program 72 can be divided into one or more units, one or more of
Unit is stored in the memory 71, and is performed by the processor 70, to complete the present invention.One or more of lists
Member can complete the series of computation machine program instruction section of specific function, which is used to describe the computer journey
Implementation procedure of the sequence 72 in the exchange settlement device 7 of the quantization investment tactics.For example, the computer program 72 can be by
It is divided into table data obtaining module before disk, parameter transaction data obtaining module, account information acquisition module, order ticket information management
Module, clears processing module, and each module concrete function is as follows:
Table data obtaining module before disk, for from background server obtain disk before table information;
Parameter transaction data obtaining module, for obtaining parameter transaction letter from the background server or counter service device
Breath obtains parameter transaction information input by user;
Account information acquisition module, for performing account initialization, wherein, the account initialization is included from the sales counter
Server obtains account information;
Order ticket information management module, for placing an order from the counter service device and/or according to the input by user of acquisition
Instruction obtains and preserves order ticket information, and the order ticket information source is described input by user to place an order in the account information
Instruction, commission return, transation report-back or order ticket status inquiry result;Wherein, the order ticket information is derive specifically from described
What is obtained in account initialization acquisition account information does not tie order ticket information, the lower single instrction input by user, the sales counter
The commission return of server 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 institute before the disk
It states order ticket information and carries out clearance processing.
The exchange settlement device 7 of the quantization investment tactics can be desktop PC, notebook, palm PC and cloud
Hold the computing devices such as server.It is described quantization investment tactics exchange settlement device may include, but be not limited only to, processor 70,
Memory 71.It will be understood by those skilled in the art that Fig. 7 is only the example for the exchange settlement device 7 for quantifying investment tactics, and
Do not form the restriction of the exchange settlement device 7 to quantifying investment tactics, can include than illustrate more or fewer components or
Certain components or different components are combined, such as the exchange settlement device of the quantization investment tactics can also include input
Output equipment, network access equipment, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 71 can be the internal storage unit of the exchange settlement device 7 of the quantization investment tactics, such as
Quantify the hard disk or memory of the exchange settlement device 7 of investment tactics.The memory 71 can also be the quantization investment tactics
Exchange settlement device 7 External memory equipment, such as the grafting that is equipped on the exchange settlement device 7 of the quantization investment tactics
Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 71 can also both include the exchange settlement dress of the quantization investment tactics
The internal storage unit for putting 7 also includes External memory equipment.The memory 71 is used to store the computer program and institute
State other programs and data needed for the exchange settlement device of quantization investment tactics.The memory 71 can be also used for temporarily
Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with each work(
Can unit, module division progress for example, in practical application, can be as needed and by the function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that each unit is individually physically present, can also two or more units integrate in a unit, it is described integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.The system
The specific work process of middle unit, module can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In the described embodiment, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is performed with hardware or software mode, specific application and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module or unit,
Only a kind of division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can be with
With reference to or be desirably integrated into another system or some features can be ignored or does not perform.Another point, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.The integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes the embodiment side
All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that described each
The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can
Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with
Including:Any entity of the computer program code or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, light can be carried
Disk, computer storage, 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 computer
The content that readable medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as
In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment modifies or carries out equivalent replacement to which part technical characteristic;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.