TWI611366B - Order plus code control system - Google Patents

Order plus code control system Download PDF

Info

Publication number
TWI611366B
TWI611366B TW105128042A TW105128042A TWI611366B TW I611366 B TWI611366 B TW I611366B TW 105128042 A TW105128042 A TW 105128042A TW 105128042 A TW105128042 A TW 105128042A TW I611366 B TWI611366 B TW I611366B
Authority
TW
Taiwan
Prior art keywords
order
loss
stop
market
control
Prior art date
Application number
TW105128042A
Other languages
Chinese (zh)
Other versions
TW201807645A (en
Inventor
Li-Wei Huang
Chong-Zhen Peng
Original Assignee
Huang li wei
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 Huang li wei filed Critical Huang li wei
Priority to TW105128042A priority Critical patent/TWI611366B/en
Priority to CN201710155341.XA priority patent/CN107784584A/en
Application granted granted Critical
Publication of TWI611366B publication Critical patent/TWI611366B/en
Publication of TW201807645A publication Critical patent/TW201807645A/en

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/06Asset management; Financial planning or analysis
    • 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

Abstract

一種下單加碼控管系統,係為一種協助投資人在風險控制為前提之下去追求獲利的下單系統,這是第一套導入正確交易邏輯的下單系統,該下單加碼控管系統係包含一下單控管程式及一交易市場伺服器,其中該下單控管程式係與該交易市場伺服器進行連線,而該交易市場伺服器為至少一個金融商品交易市場所使用的伺服器設備,且該下單控管程式主要是用以將下單訊號產生的下單交易資料經過處理後,再傳送進入該交易市場伺服器,以使該下單交易資料能夠與該交易市場伺服器進行實際電子交易或是模擬交易,且該下單控管程式係具有自動加碼之功能,讓使用者不管是手動下單或是電腦程式自動下單,建立基本部位以後,透過該下單控管程式進行自動控管,幫投資人監控市場變化,做到根據使用者的設定條件自動加碼。 An order placing and control system is an order placing system that assists investors to pursue profitability under the premise of risk control. This is the first order placing system that introduces correct trading logic. The order placing control system The system includes a single control program and a trading market server, wherein the order control program is connected to the trading market server, and the trading market server is a server used by at least one financial commodity trading market. Equipment, and the order control program is mainly used to process the order transaction data generated by the order signal and then send it to the transaction market server so that the order transaction data can communicate with the transaction market server Carry out actual electronic trading or simulated trading, and the order control program has an automatic code-encoding function, allowing users to place orders regardless of whether they are placed manually or by computer program. After the basic part is established, the order control The program performs automatic control to help investors monitor market changes and automatically add code based on user-set conditions.

Description

下單加碼控管系統 Order plus code control system

本發明是有關一種下單加碼控管系統,特別是一種能夠於使用者手動下單,或者外掛程式交易電腦下單後,再依據使用者的加碼條件,讓系統監控市場行情,並當加碼條件發生時自動進行加碼的系統。 The present invention relates to an order-adding control system, and in particular to a system that allows the system to monitor market conditions based on the user's code-encoding conditions after the user manually places an order, or an order placed by a plug-in trading computer. A system that automatically adds code when it occurs.

市面上和交易有關的軟體分三種,第一種是單純的看盤、下單軟體(各券商所提供的軟體為主)專門接收投資者的下單指令,負責買進、賣出;第二種是投資決策軟體也就是俗稱的交易指標,負責提供買賣訊號給投資人;而第三種是程式交易(交易訊號),買進、賣出等處理皆全自動。 There are three types of software related to transactions on the market. The first is purely order-checking and ordering software (mainly the software provided by various brokers). It specializes in receiving orders from investors and is responsible for buying and selling. One is investment decision software, also known as trading indicators, which is responsible for providing trading signals to investors; the third is program trading (transaction signals), with automatic processing of buying and selling.

而進一步說明不同軟體的運作,說明如下: The operation of different software is further explained as follows:

(1)券商看盤、下單軟體: (1) Software for brokers to view and place orders:

僅提供商品走勢圖和技術分析指標和電子下單功能,只單純接受投資人的下單指令,不會自動幫投資人做加碼。 It only provides commodity trend charts, technical analysis indicators, and electronic ordering functions. It only accepts investor's order instructions and does not automatically help investors to increase.

(2)投資決策軟體: (2) Investment decision software:

能夠提供投資人買賣訊號,並根據資料分析、交易邏輯運算出現買進訊號、賣出訊號,用圖表標示買賣點的方式、或是用簡訊、EMAIL、或其他電子通訊方式提醒投資人這裡可以買進或賣出,讓投資人自行決定是否交易。這種模式只提供買進、賣出的建議投資人必須要自行下單,但這一類軟體僅止於 建議,不會自動下單。 It can provide investors with buying and selling signals, and according to data analysis and trading logic operations, buy signals and sell signals appear. The chart shows the way of buying and selling points, or reminds investors that they can buy here by SMS, EMAIL, or other electronic communication methods. Buy or sell, let investors decide whether to trade. This model only provides recommendations for buying and selling. Investors must place their own orders, but this type of software is only limited to It is recommended that orders will not be placed automatically.

(3)程式交易: (3) Program trading:

能夠根據資料分析、交易邏輯運算,出現買進訊號時買進、賣出訊號時賣出,全自動交易。投資人可以做的是在啟動之前設定程式交易的參數,程式啟動之後全部交給電腦自動執行。投資人自行進場的買賣行為和程式交易之間是獨立分開的中間並無關聯。 Can be based on data analysis and trading logic operations, buy when the buy signal appears, sell when the sell signal, fully automatic trading. What the investor can do is set the parameters of the program trading before starting, and after the program is started, it will be automatically executed by the computer. There is no connection between the buying and selling behavior of investors entering the market and the program trading independently.

由上述可知,市面上所提供的下單軟體並沒有辦法達到以下目的:(1)在投資人手動進場或是電腦程式自動進場之後,能夠依據資人的加碼條件自動加碼;(2)幫投資人於符合風險管理的情況下自動加碼。 From the above, it can be known that the ordering software provided on the market cannot achieve the following purposes: (1) after the investor enters the market manually or the computer program automatically enters the market, it can be automatically increased according to the increase conditions of the investor; (2) Help investors to automatically increase the number if they meet the risk management.

因此,綜上所述,現有下單軟體都沒有根據歷史報價資料和即時報價資料做運算和處理的功能,並無法透過程式交易來執行自動加碼控管,因此本發明設計出該下單加碼控管系統,就是為了使下單軟體能達到上述目的,以完成現有下單軟體所無法達成的功能,因此本發明應為一最佳解決方案。 Therefore, in summary, the existing ordering software does not have the function of calculation and processing based on historical quote data and real-time quote data, and cannot perform automatic code control through program trading. Therefore, the present invention designs the order code control The management system is to enable the ordering software to achieve the above-mentioned purpose and to complete functions that cannot be achieved by the existing ordering software. Therefore, the present invention should be an optimal solution.

本發明係為一種下單加碼控管系統,而該下單加碼控管系統係包含:一交易市場伺服器,係為至少一個金融商品交易市場所使用的伺服器設備;一下單控管程式,係與該交易市場伺服器進行連線,而該下單控管程式用以將下單訊號產生的下單交易資料經過處理後,再傳送進入該交易市場伺服器,以使該下單交易資料能夠與該交易市場伺服器進行實際電子交易或是模擬交易,而該 下單控管程式係包含:一市場狀態收集單元,用以收集目前金融商品交易市場的行情交易資料;一加碼單元,係用以設定一加碼控管條件參數,並自動依據目前的行情交易資料與該加碼控管條件參數進行運算,若符合加碼條件,則能夠透過該加碼單元於該筆下單交易資料的基礎上再進場進行自動加碼處理;以及一操作介面提供單元,用以提供運作該下單控管程式所需之操作介面以進行操作。 The present invention is an order-adding control system, and the order-adding control system includes: a trading market server, which is a server device used for at least one financial commodity trading market; the following order control program, It is connected with the trading market server, and the order control program is used to process the order transaction data generated by the order signal, and then send it to the trading market server to make the order transaction data. Be able to conduct actual electronic transactions or simulated transactions with the trading market server, and the The order control program includes: a market status collection unit for collecting current market transaction data of the financial commodity trading market; an overweight unit for setting an overweight control condition parameter and automatically based on the current market transaction data Calculate with the coding control condition parameters, if the coding conditions are met, the coding unit can be used to enter the market for automatic coding processing based on the order transaction data; and an operation interface providing unit for providing the operation of the Order the operation interface required by the control program for operation.

更具體的說,所述下單控管程式所接收之下單交易資料係能夠由外部產生或是內部產生,有了起始部位以後再根據加碼條件做加碼,而外部產生的下單資料為使用者自己外掛的程式交易根據條件自動進場,且內部所產生的下單資料為使用者透過下單進場單元手動進場或是透過下單進場單元以勾選進場條件的方式自動進場。 More specifically, the order transaction data received by the order control program can be generated externally or internally. After having a starting position, the ordering data is increased according to the encoding conditions. The externally generated order data is The user's own plug-in program trading automatically enters the market according to conditions, and the internally generated order data is automatically entered by the user through the order entry unit or automatically by checking the entry conditions through the order entry unit Come on.

更具體的說,所述金融商品交易市場係為股票商品交易市場、海內外期貨商品交易市場或是選擇權商品交易市場,而該行情交易資料係為該金融商品交易市場中呈現價格、成交量、籌碼、型態或其組合的資料。 More specifically, the financial commodity trading market is a stock commodity trading market, a domestic and overseas futures commodity trading market, or an option commodity trading market, and the market transaction data is the price and trading volume presented in the financial commodity trading market. , Chips, patterns, or a combination of them.

更具體的說,所述行情交易資料係為該金融商品交易市場中不同商品的價格、成交量、籌碼、型態或其組合的資料。 More specifically, the market transaction data is data on prices, trading volumes, chips, patterns, or combinations of different commodities in the financial commodity trading market.

更具體的說,所述更包含有一與該加碼單元相連接之風險控管單元,該風險控管單元係用以設定一風險控管條件參數,並能夠進行自動判斷該筆下單交易資料的數量、金額或是損失是否超出風險控管條件參數,若是超出風險控管條件參數標準,則能夠自動拒絕該筆下單交易資料與該交易市場伺服器進行實際電子交易或是模擬交易,而該加碼單元更能夠經由該風險控管單元自動依據目前的行情交易資料與該加碼控管條件參數進行運算,若同時符合加碼條件以及風險控管條件,則能夠透過該加碼單元於該筆下單交易資料的基礎上再 進場進行有風險控管的加碼處理。 More specifically, the said control unit further includes a risk control unit connected to the overweight unit. The risk control unit is used to set a risk control condition parameter and can automatically determine the quantity of the transaction data of the order. , Amount, or loss exceeds the risk control condition parameters, if it exceeds the risk control condition parameter standards, it can automatically reject the order transaction data to conduct actual electronic transactions or simulated transactions with the trading market server, and the overweight unit The risk control unit can automatically perform calculations based on the current market transaction data and the overweight control condition parameters. If both the overweight condition and the risk control conditions are met at the same time, the overweight unit can be used as the basis for the order transaction data. On again Enter the market for overweight processing with risk control.

更具體的說,所述風險控管條件參數,包括但不限於以下幾種條件,係能夠為投資資金、每單位所需資金、一次下單最大部位上限、最大累積部位上限、單筆交易損失上限或是累積損失上限。 More specifically, the risk control condition parameters include, but are not limited to, the following conditions, which are the investment funds, the funds required per unit, the maximum position limit for an order, the maximum cumulative position limit, and a single transaction loss. Cap or cumulative loss cap.

更具體的說,所述風險控管單元更包含有一用來計算累計損益之投資資金更新模組,該投資資金更新模組用以每筆交易產生獲利或是虧損時,能夠對該筆投資資金增加能夠對該筆投資資金增加該筆獲利的金額或是扣除該筆虧損的金額。 More specifically, the risk control unit further includes an investment fund update module for calculating cumulative profit and loss. The investment fund update module is used to make an investment for each transaction when a profit or loss is generated. The increase of funds can increase the amount of profit or deduct the amount of loss for the investment funds.

更具體的說,所述風險控管單元更包含有一部位控管模組,該部位控管模組用以控管一次下單最大部位、可曝險部位上限或是累積最大部位,以避免所下單部位超出設定。 More specifically, the risk control unit further includes a position control module, which is used to control the maximum position of an order at one time, the upper limit of the position that can be exposed or the accumulated maximum position to avoid all The order part exceeds the setting.

更具體的說,所述風險控管單元更包含有一損失控制模組,用以進行單筆損失控制或是累計損失控制,以避免虧損超出設定。 More specifically, the risk control unit further includes a loss control module, which is used to perform single loss control or cumulative loss control to prevent losses from exceeding the setting.

更具體的說,所述下單控管程式更包含有一停損/停利單元,係用以設定一停損/停利條件參數,並於每一筆下單交易資料已與該交易市場伺服器進行實際電子交易或是模擬交易後,能夠依據目前的行情交易資料與該停損/停利條件參數比較,以進行自動判斷該筆下單交易資料進場後的出場時機,並進行自動出場處理。 More specifically, the order control program further includes a stop loss / stop profit unit, which is used to set a stop loss / stop profit condition parameter, and the transaction data of each order has been contacted with the trading market server. After actual electronic trading or simulated trading, the current market transaction data can be compared with the stop-loss / stop-loss condition parameters to automatically determine the exit timing of the order transaction data after entering the market and perform automatic exit processing.

更具體的說,所述停損/停利條件參數,包括但不限於以下幾種條件,係能夠為固定點數停損、今日高低點停損、近期K棒高低點移動停損、今日開盤價停損、最高/低點固定點數拉回移動停利、最高/低點百分比拉回移動停利、近期K棒高低點移動停利、獲利後拉回保本出場、均線移動停利、轉折高低移動 停利、大K棒移動停利、大成交量移動停利、固定點數獲利出場、長K棒獲利出場或是乖離過大拉回出場。 More specifically, the stop-loss / stop-loss condition parameters include, but are not limited to, the following conditions, which can be fixed-point stop loss, high and low point stop loss, recent K-bar high and low point mobile stop loss, and opening today Price stop loss, high / low point fixed points pull back mobile stop, high / low percentage percentage pull back mobile stop, recent K stick high and low point mobile stop, pull back to protect the market after profit, moving average moving stop, Turning high and low Stop the profit, stop the move with a large K stick, stop the move with a large volume, make a profit with a fixed number of points, make a profit with a long K stick, or pull back from the market with a big deviation.

更具體的說,所述停損/停利單元更包含有一停損模組,該停損模組能夠於該下單交易資料進場後,依據目前的行情交易資料與該停損/停利條件參數,進行判斷該筆下單交易資料進場當下的市場狀況所應設定的出場位置為何,隨著行情發展該停損模組持續判斷商品價格是否觸及停損出場位置,若判斷是,則進行自動出場處理。 More specifically, the stop-loss / stop-profit unit further includes a stop-loss module, which can be used after the order transaction data enters the market, based on the current market transaction data and the stop-loss / stop profit Condition parameters to determine the exit position that should be set when the order transaction data enters the market. With the development of the market, the stop loss module continues to determine whether the price of the product has reached the stop loss exit position. Automatic appearance processing.

更具體的說,所述停損/停利單元更包含有一移動停利模組,該移動停利模組能夠於該下單交易資料進場後,依據目前的行情交易資料的發展與該停損/停利條件參數而不斷的移動調整,於目前的行情交易資料的每一個時間點判斷出場價格是否需要更新,並同時計算新的出場位置,若移動停利模組判斷行情觸及最新計算的出場位置,則進行自動出場處理。 More specifically, the stop-loss / stop-loss unit further includes a mobile stop-loss module, which can be used after the order transaction data enters the market, based on the development of the current market transaction data and the stoppage. Constant adjustment of the loss / stop condition parameters, to determine whether the exit price needs to be updated at each time point of the current market transaction data, and simultaneously calculate the new exit position. If the mobile stop module determines that the market has reached the latest calculated The appearance position will be processed automatically.

更具體的說,所述停損/停利單元更包含有一獲利減碼模組,該獲利減碼模組能夠於該下單交易資料進場後,依據目前的行情交易資料與該停損/停利條件參數,進行判斷獲利減碼的條件是否達成,若判斷是,則進行自動全部出場或是部份出場處理。 More specifically, the stop-loss / stop-loss unit further includes a profit-reduction module, which can be used after the order transaction data enters the market, based on the current market transaction data and the stop. Loss / stop condition parameters, to determine whether the conditions for profit reduction are fulfilled, and if it is determined to be true, all or part of the market will be processed automatically.

更具體的說,所述加碼控管條件參數,包括但不限於以下幾種條件,係能夠為可接受最大損失、可接受最小獲利、最後一碼賺幾點可加碼、防守價格超過最末碼可加碼、固定口數加碼、最大口數加碼、加碼口數小於總部位、價格條件符合可加碼或是技術分析條件符合可加碼。 More specifically, the overweight control condition parameters include, but are not limited to, the following conditions, which can be for accepting the maximum loss, accepting the minimum profit, earning the last yard, adding points, and the defensive price exceeding the last The code can be coded, the fixed number of codes, the maximum number of codes, the number of coded codes is less than the headquarters, the price conditions can be coded, or the technical analysis conditions can be coded.

1‧‧‧下單控管程式 1‧‧‧ Order control program

11‧‧‧下單進場單元 11‧‧‧Order Entry Unit

12‧‧‧市場狀態收集單元 12‧‧‧Market Status Collection Unit

13‧‧‧停損/停利單元 13‧‧‧Stop Loss / Take Profit Unit

131‧‧‧停損模組 131‧‧‧Stop Loss Module

132‧‧‧移動停利模組 132‧‧‧Mobile stop-profit module

133‧‧‧獲利減碼模組 133‧‧‧ Profit-reduction module

14‧‧‧風險控管單元 14‧‧‧ Risk Control Unit

141‧‧‧投資資金更新模組 141‧‧‧Investment Fund Update Module

142‧‧‧部位控管模組 142‧‧‧ position control module

143‧‧‧損失控制模組 143‧‧‧Loss Control Module

15‧‧‧加碼單元 15‧‧‧ coded unit

16‧‧‧操作介面提供單元 16‧‧‧Operating interface providing unit

161‧‧‧操作介面 161‧‧‧Interface

162‧‧‧看盤介面 162‧‧‧view interface

2‧‧‧交易市場伺服器 2‧‧‧Trading market server

[第1圖]係本發明下單加碼控管系統之整體架構示意圖。 [FIG. 1] It is a schematic diagram of the overall architecture of the order-added control system of the present invention.

[第2圖]係本發明下單加碼控管系統之下單控管程式之內部架構示意圖。 [Fig. 2] It is a schematic diagram of the internal structure of the single control program under the single-coded control system of the present invention.

[第3圖]係本發明下單加碼控管系統之停損/停利單元之內部架構示意圖。 [Fig. 3] It is a schematic diagram of the internal structure of the stop-loss / profit-stop unit of the order-added control system of the present invention.

[第4圖]係本發明下單加碼控管系統之停損模組與移動停利模組之運作流程示意圖。 [Fig. 4] It is a schematic diagram of the operation flow of the stop loss module and the mobile stop profit module of the order-added control system of the present invention.

[第5圖]係本發明下單加碼控管系統之獲利減碼模組之運作流程示意圖。 [Fig. 5] It is a schematic diagram of the operation flow of the profit-reduction and code-reduction module of the order-added control system of the present invention.

[第6圖]係本發明下單加碼控管系統之風險控管單元之內部架構示意圖。 [Figure 6] Schematic diagram of the internal structure of the risk control unit of the order plus control system of the present invention.

[第7圖]係本發明下單加碼控管系統之風險控管單元之運作流程示意圖。 [Figure 7] Schematic diagram of the operation process of the risk control unit of the order-added control system of the present invention.

[第8圖]係本發明下單加碼控管系統之加碼單元之運作流程示意圖。 [Figure 8] Schematic diagram of the operation flow of the coding unit of the single coding control system of the present invention.

[第9圖]係本發明下單加碼控管系統之加碼單元之最大風險口數計算流程示意圖。 [Figure 9] Schematic diagram of the calculation process of the maximum risk number of the coding unit of the single coding control system of the present invention.

[第10A圖]係本發明下單加碼控管系統之手動下單之操作介面實施示意圖。 [Fig. 10A] It is a schematic diagram of the operation interface implementation of the manual ordering of the order-adding control system of the present invention.

[第10B圖]係本發明下單加碼控管系統之風險控管之操作介面實施示意圖。 [Fig. 10B] It is a schematic diagram of the operation interface implementation of the risk control management of the order plus control system of the present invention.

[第10C圖]係本發明下單加碼控管系統之停損/停利之操作介面實施示意圖。 [FIG. 10C] It is a schematic diagram of the operation interface implementation of the stop loss / profit stop of the order-added control system of the present invention.

[第10D圖]係本發明下單加碼控管系統之自動加碼之操作介面實施示意圖。 [Fig. 10D] It is a schematic diagram of the operation interface implementation of the automatic code-adding control system of the present invention.

[第10E圖]係本發明下單風險控管系統之自動下單介面設定實施示意圖。 [Fig. 10E] It is a schematic diagram of the implementation of the automatic ordering interface setting of the ordering risk control system of the present invention.

[第11A圖]係本發明下單加碼控管系統之停損實施示意圖。 [Fig. 11A] It is a schematic diagram of the stop loss implementation of the order-added control system of the present invention.

[第11B圖]係本發明下單加碼控管系統之停損實施示意圖。 [Fig. 11B] It is a schematic diagram of the stop loss implementation of the order-added control system of the present invention.

[第11C圖]係本發明下單加碼控管系統之停損實施示意圖。 [FIG. 11C] It is a schematic diagram of the implementation of the stop loss of the order plus control system of the present invention.

[第12A圖]係本發明下單加碼控管系統之停損與停利實施示意圖。 [Fig. 12A] It is a schematic diagram of the implementation of stop loss and stop profit of the order-added control system of the present invention.

[第12B圖]係本發明下單加碼控管系統之停損與停利實施示意圖。 [Fig. 12B] It is a schematic diagram of the implementation of stop loss and stop profit of the order-added control system of the present invention.

[第12C圖]係本發明下單加碼控管系統之停損與停利實施示意圖。 [Fig. 12C] It is a schematic diagram of the implementation of stop loss and stop profit of the order-added control system of the present invention.

[第12D圖]係本發明下單加碼控管系統之停損與停利實施示意圖。 [Fig. 12D] It is a schematic diagram of the implementation of stop loss and stop profit of the order-added control system of the present invention.

[第13A圖]係本發明下單加碼控管系統之風險管理之第一實施示意圖。 [Fig. 13A] It is a schematic diagram of the first implementation of the risk management of the order plus control system of the present invention.

[第13B圖]係本發明下單加碼控管系統之風險管理之第一實施示意圖。 [Fig. 13B] It is a schematic diagram of the first implementation of the risk management of the order-added control system of the present invention.

[第14A圖]係本發明下單加碼控管系統之風險管理之第二實施示意圖。 [Fig. 14A] It is a schematic diagram of the second implementation of the risk management of the order plus control system of the present invention.

[第14B圖]係本發明下單加碼控管系統之風險管理之第二實施示意圖。 [FIG. 14B] It is a schematic diagram of the second implementation of the risk management of the order plus control system of the present invention.

[第15A圖]係本發明下單加碼控管系統之風險管理之第三實施示意圖。 [FIG. 15A] It is a schematic diagram of the third implementation of the risk management of the order plus control system of the present invention.

[第15B圖]係本發明下單加碼控管系統之風險管理之第三實施示意圖。 [Fig. 15B] It is a schematic diagram of the third implementation of the risk management of the order plus control system of the present invention.

[第16A圖]係本發明下單加碼控管系統之固定點數減碼實施示意圖。 [FIG. 16A] It is a schematic diagram of the implementation of the fixed point number subtraction of the single order control system of the present invention.

[第16B圖]係本發明下單加碼控管系統之固定點數減碼實施示意圖。 [Fig. 16B] It is a schematic diagram of the implementation of the fixed-point reduction code of the single-code control system of the present invention.

[第16C圖]係本發明下單加碼控管系統之固定點數減碼實施示意圖。 [FIG. 16C] It is a schematic diagram of the implementation of the fixed-point reduction code of the order increase control system of the present invention.

[第16D圖]係本發明下單風險控管系統之獲利減碼之乖離過大減碼實施示意圖。 [Fig. 16D] It is a schematic diagram of the implementation of the excessively large deviation reduction code of the profit reduction code of the single-risk control system of the present invention.

[第16E圖]係本發明下單風險控管系統之獲利減碼之長K棒獲利減碼實施示意圖。 [Fig. 16E] It is a schematic diagram of the implementation of the long K-bar profit reduction code for the profit reduction code of the single risk control system of the present invention.

[第17A圖]係本發明下單加碼控管系統之自動加碼實施示意圖。 [Fig. 17A] It is a schematic diagram of the automatic code implementation of the single code control system of the present invention.

[第17B圖]係本發明下單加碼控管系統之自動加碼實施示意圖。 [Fig. 17B] It is a schematic diagram of the automatic code implementation of the single code control system of the present invention.

有關於本發明其他技術內容、特點與功效,在以下配合參考圖式之較佳實施例的詳細說明中,將可清楚的呈現。 Regarding other technical contents, features and effects of the present invention, they will be clearly presented in the following detailed description of the preferred embodiments with reference to the drawings.

請參閱第1及2圖,為本發明下單加碼控管系統之整體架構示意 圖、下單控管程式之內部架構示意圖,由圖中可知,該下單加碼控管系統係包含有一下單控管程式1及一交易市場伺服器2,其中該下單控管程式1係與該交易市場伺服器2進行連線,而該交易市場伺服器2為至少一個金融商品交易市場所使用的伺服器設備,且該下單控管程式1主要是用以將下單訊號產生的下單交易資料經過處理後,再傳送進入該交易市場伺服器2,以使該下單交易資料能夠與該交易市場伺服器進行實際電子交易或是模擬交易,其中該實際電子交易是將該下單交易資料傳送進入該交易市場伺服器2,而該模擬交易並不會將該下單交易資料傳送進入該交易市場伺服器2,而是模擬成交的狀態,並由該交易市場伺服器2所回傳的資料來產生一虛擬的成交價;而該下單控管程式1係包含一下單進場單元11、一市場狀態收集單元12、一停損/停利單元13、一風險控管單元14、一加碼單元15及一操作介面提供單元16,其中該下單進場單元11用以產生至少一個下單訊號,而所產生的下單訊號能夠形成一筆下單交易資料,且該操作介面提供單元16是用以提供運作該下單控管程式1所需之操作介面。 Please refer to Figs. 1 and 2 for a schematic diagram of the overall architecture of the order-added control system of the present invention. Figure, schematic diagram of the internal structure of the order control program. As can be seen from the figure, the order control system includes the following order control program 1 and a trading market server 2, where the order control program 1 is It is connected to the trading market server 2 which is a server device used by at least one financial commodity trading market, and the order control program 1 is mainly used to generate the order signal After the order transaction data is processed, it is transmitted to the transaction market server 2 so that the order transaction data can be used for actual electronic transactions or simulated transactions with the transaction market server. The actual electronic transaction is to place the order Single transaction data is transmitted to the trading market server 2, and the simulated transaction does not transmit the order transaction data to the trading market server 2. Instead, the simulated transaction status is simulated by the trading market server 2. The returned data generates a virtual transaction price; and the order control program 1 includes the following order entry unit 11, a market status collection unit 12, a stop loss / profit stop unit 13, The risk control unit 14, a plus unit 15, and an operation interface providing unit 16, wherein the order entry unit 11 is used to generate at least one order signal, and the generated order signal can form an order transaction data, In addition, the operation interface providing unit 16 is used to provide an operation interface required to operate the order control program 1.

其中該下單進場單元11更能夠提供一自動下單或是手動下單介面,以讓使用者能夠進行自動或是手動下單來產生至少一個下單訊號與該交易市場伺服器進行實際電子交易或是模擬交易,而該市場狀態收集單元12則是用以收集目前金融商品交易市場的行情交易資料,且該行情交易資料係為該金融商品交易市場中不同商品的價格、成交量、籌碼、型態或其組合的資料(本發明所提及的金融商品交易市場係能夠為股票商品交易市場、期貨商品交易市場、選擇權商品交易市場或是其他需要金融交易的市場)。 The order entry unit 11 can further provide an automatic ordering or manual ordering interface, so that users can automatically or manually place orders to generate at least one ordering signal and perform actual electronic communication with the trading market server. The transaction or simulation transaction, and the market status collection unit 12 is used to collect the current market transaction data of the financial commodity trading market, and the market transaction data is the price, transaction volume, and chips of different commodities in the financial commodity trading market , Type or combination of materials (the financial commodity trading market mentioned in the present invention can be a stock commodity trading market, a futures commodity trading market, an option commodity trading market, or other markets that require financial transactions).

但除了由該下單控管程式1內部進行下單之外,該下單控管程式1 所接收之下單交易資料係能夠由外部的下單軟體自動產生訊號下單來產生一筆下單交易資料。 But except for the order placed by the order control program 1, the order control program 1 The received order transaction data can be generated by an external order software to automatically generate a signal order to generate an order transaction data.

而該停損/停利單元13係用以設定一停損/停利條件參數,並於每一筆下單交易資料與該交易市場伺服器進行實際電子交易或是模擬交易後,能夠依據目前的行情交易資料與該停損/停利條件參數比較,以進行自動判斷該筆下單交易資料進場後的出場時機,並進行自動出場處理;另外該停損/停利條件參數包括了各式的自動出場方法所需的條件,這一部份皆可開放給使用者自行設定,而所設定參數係能夠為固定點數停損、今日高低點停損、近期K棒高低點移動停損、今日開盤價停損、最高/低點固定點數拉回移動停利、最高/低點百分比拉回移動停利、近期K棒高低點移動停利、獲利後拉回保本出場、均線移動停利、轉折高低移動停利、大K棒移動停利、大成交量移動停利、固定點數獲利出場、長K棒獲利出場或是乖離過大拉回出場,但於實際實施時,能夠新增一些其他參數進行控制停損、移動停利或是獲利減碼;而該停損/停利單元13如第3圖所示,係包含一停損模組131、一移動停利模組132、一獲利減碼模組133,其中該停損模組131主要是用於部位剛進場時可設定的,因此於該下單交易資料進場後,該停損模組131能夠依據目前的行情交易資料與該停損/停利條件參數,進行判斷該筆下單交易資料進場當下的市場狀況所應設定的出場位置為何,隨著行情發展該停損模組持續判斷商品價格是否觸及停損出場位置,若判斷是,則進行自動出場處理。 The stop-loss / stop-loss unit 13 is used to set a stop-loss / stop-loss condition parameter, and after each order transaction data is subjected to actual electronic trading or simulated trading with the trading market server, it can be based on the current The market transaction data is compared with the stop-loss / stop-loss condition parameters to automatically judge the exit timing of the order transaction information after entering the market and perform automatic exit processing; in addition, the stop-loss / stop-loss condition parameters include various types of The conditions required for the automatic exit method are all open to users to set, and the set parameters can be fixed point stop loss, high and low point stop loss, recent K-bar high and low point mobile stop loss, and today Opening price stop loss, high / low point fixed points pull back mobile stop, high / low percentage percentage pull back mobile stop, recent K stick high and low point mobile stop, pull back to protect the market after profit, moving average moving stop , Turning high and low mobile stops, large K sticks mobile stops, large volume mobile stops, fixed point profitable appearances, long K sticks profitable appearances, or excessive departures to pull back out, but in actual implementation, it can be new increase Some other parameters are used to control stop loss, mobile stop loss or profit reduction; and the stop loss / stop loss unit 13 includes a stop loss module 131 and a mobile stop loss module 132 as shown in FIG. 3. 1. A profit-reduction module 133, where the stop-loss module 131 is mainly used to be set when the position is first entered, so after the order transaction data is entered, the stop-loss module 131 can be based on the current Market transaction data and the stop-loss / stop-loss condition parameters to determine the exit position that should be set when the order transaction data enters the current market conditions. With the development of the market, the stop-loss module continues to determine whether the commodity price has been touched. Stop loss appearance position, if it is judged yes, automatic appearance processing is performed.

而該移動停利模組132則是用於行情持續發展時可設定的,因此能夠於該下單交易資料進場後,該移動停利模組132能夠依據目前的行情交易資 料的發展與該停損/停利條件參數而不斷的移動調整,於目前的行情交易資料的每一個時間點判斷出場價格是否需要更新,同時計算新的出場位置。若移動停利模組判斷行情觸及最新計算的出場位置,則進行自動出場處理;由於該停損模組131與該移動停利模組132都可以讓使用者設定多組條件,只要其中一個出場條件達成本系統就會幫投資人出場。投資者可以在進場買進以後安心的將投資部位交給本系統管理,其中該停損模組131主要作用於部位剛開始進場時,替使用者提供一筆交易最基本的保護;而該移動停利模組132則是採取移動停利機制,於部位進場後,它會跟隨著行情的發展而不斷的移動調整,當停利條件滿足時,若為多單則停利防守價格會不斷的向上墊高,若為空單則停利防守價格會不斷的往下移動,替使用者爭取最大的獲利;再進一步由第4圖可知,為該停損模組131與該移動停利模組132決定防守價格並且自動出場的流程圖,此流程會不斷的重複循環,詳細說明如下:(1)當模組剛開始時設定防守價格(後簡稱STP)為0,即代表目前沒有防守價格需要監控(401);(2)取得最新的部位、平均成本以及使用者於該停損模組131及移動停利模組132所做的所有設定(402);(3)若目前沒有部位,則回到(401)繼續等待使用者開始交易;若目前有部位(不論是多單或空單),則開始一一確認所有停損模組131以及移動停利模組132的條件,根據使用者的設定計算其防守價格(403);(4)從第一個停損模組131以及移動停利模組132的條件開始判斷(i表示目前判斷的條件)。先判斷使用者是否有開啟這個條件,若是有啟動則進 行下一個判斷;若是沒有啟動,則忽略接下來的判斷,直接跳至下一個條件判斷(i=i+1)(404);(5)若目前判斷的條件是“停損”條件,則只需在部位剛進場的時候計算其防守價格即可;若為“停利”條件,則在行情繼續發展的過程中都要隨時計算其防守價格(405);(6)此停損或停利條件的防守價格(後簡稱Tmp)計算出來後,繼續判斷是否需要移動停利(即Stp=Tmp)。我們區分為兩種情況來判斷,若是目前部位為多單,則防守價格位只能持續墊高,因此只要Tmp>Stp,就將整筆交易的防守價格(Stp)更新為(Tmp);同樣的,若目前的部位為空單,則防守價格只會持續降低,因此只要Tmp<Stp,就將整筆交易的防守價格(Stp)更新為(Tmp)(406);(7)重覆(404)、(405)與(406)的動作直到所有條件都判斷完畢,新的Stp也確認並更新完成;假設接下來行情跌破Stp(若為多單)或突破Stp(若為空單),則自動將全部的部位出場,回到(401)並將Stp設為0;但若行情並未突破防守價格,則回到(402)重新開始更新部位並且將目前的Stp與最新的停損利條件互相比較與計算(407)。 The mobile profit-taking module 132 can be set for the continuous development of the market. Therefore, after the order transaction information is entered, the mobile profit-taking module 132 can be based on the current market transaction information. The material development and the stop loss / stop profit condition parameters are continuously moved and adjusted. At each time point of the current market transaction data, it is determined whether the exit price needs to be updated, and a new exit position is calculated at the same time. If the mobile stop-loss module judges that the market has reached the latest calculated exit position, it will automatically perform the exit process; as the stop-loss module 131 and the mobile stop-loss module 132 can allow the user to set multiple sets of conditions, as long as one of them appears The conditional cost system will help investors appear. Investors can confidently hand over their investment positions to the system after they enter the market. The stop loss module 131 is mainly used to provide users with the most basic protection for a transaction when the positions have just begun to enter the market. The mobile stop-loss module 132 adopts a mobile stop-loss mechanism. After the site enters the market, it will continue to move and adjust according to the development of the market. When the stop-loss conditions are met, the stop-loss defense price will Constantly push up, if the order is empty, the defensive price will continue to move downwards, and strive for the maximum profit for the user; further from Figure 4, it can be seen that for the stop loss module 131 and the mobile stop The flowchart of the profit module 132 determining the defensive price and automatically playing. This process will be repeated continuously. The details are as follows: (1) When the module is just started, the defensive price (hereinafter referred to as STP) is set to 0, which means that there is currently no The defense price needs to be monitored (401); (2) to obtain the latest position, average cost, and all settings made by the user on the stop-loss module 131 and mobile stop-profit module 132 (402); (3) if there is currently no Location, then return to (401) to continue Wait for the user to start trading; if there are currently positions (whether long or short), then start to confirm the conditions of all stop-loss modules 131 and mobile stop-loss modules 132 one by one, and calculate their defensive prices according to the user's settings (403); (4) Judging from the conditions of the first stop-loss module 131 and the mobile stop-profit module 132 (i represents the current judgment condition). First determine whether the user has turned on this condition, if it is enabled, enter Perform the next judgment; if it is not started, ignore the next judgment and skip to the next condition judgment (i = i + 1) (404); (5) If the current judgment condition is the "stop loss" condition, then Just calculate the defensive price when the part just enters the field; if it is a "stop profit" condition, the defensive price must be calculated at any time while the market continues to develop (405); (6) this stop loss or After the defensive price of the stop-loss condition (hereinafter referred to as Tmp) is calculated, it continues to determine whether it is necessary to move the stop-loss (that is, Stp = Tmp). We distinguish between two cases to judge, if the current position is multiple orders, the defensive price level can only continue to increase, so as long as Tmp> Stp, the defense price (Stp) of the entire transaction is updated to (Tmp); the same If the current position is an empty order, the defense price will only continue to decrease, so as long as Tmp <Stp, the defense price (Stp) of the entire transaction is updated to (Tmp) (406); (7) is repeated ( 404), (405) and (406) until all conditions are judged, the new Stp is also confirmed and updated; it is assumed that the next market breaks below Stp (if there is a long order) or breaks through Stp (if it is an empty order) , Then all the parts will be automatically played, return to (401) and set Stp to 0; but if the market does not break the defensive price, return to (402) to restart the update position and replace the current Stp with the latest stop Benefit conditions are compared and calculated with each other (407).

而該獲利減碼模組133主要是幫助使用者在特定情況提早取得部份獲利,該獲利減碼模組133能夠於該下單交易資料進場後,依據目前的行情交易資料與該停損/停利條件參數,進行判斷該筆下單交易資料進場後的獲利是否已超過設定,若判斷是,則進行自動全部出場或是部份出場處理;再進一步由第5圖可知,為該獲利減碼模組133的運作流程圖,詳細說明如下: (1)一開始先更新目前的部位(後簡稱為Pos)以及使用者於該獲利減碼模組133中所做的設定。同時先將欲獲利減碼的部位(後簡稱為UwPos)初始化為-1,代表不需要減碼任何部位(501);(2)若目前有部位,則開始準備一一尋訪各個獲利減碼條件;若目前沒有部位則回到(501)等待使用者開始進行交易(502);(3)從第一個獲利減碼條件開始判斷(i=0,i代表目前判斷的獲利減碼條件)(503);(4)判斷使用者是否開啟了第i個獲利減碼條件,若是則繼續下面的判斷;若使用者並未開啟,則跳至下一個條件判斷(i=i+1)(504);(5)判斷當下第i個獲利減碼條件是否滿足,若是則繼續下面的判斷;若條件並未滿足,則跳至下一個條件判斷(i=i+1)(505);(6)若條件滿足,則計算第i個獲利減碼條件的減碼部位(後簡稱Tmp)(506);(7)我們將取所有條件中最小的減碼單位,判斷方法為:若是UwPos為初始值(-1)或是Tmp<UwPos,則更新UwPos為最新求得的Tmp值(507);(8)當所有條件皆尋訪完畢,UwPos也更新完成。若是UwPos大於0,則執行獲利減碼UwPos單位的動作,並回到(501)重新開始新一輪的判斷(508)。 The profit-reduction module 133 is mainly used to help users obtain some profits early in a specific situation. The profit-reduction module 133 can be based on the current market transaction data and information after the order transaction data enters the market. The stop-loss / stop-loss condition parameter is used to determine whether the profit of the order transaction data after entering the market has exceeded the setting. If it is judged, it will automatically perform all or part of the market; further can be seen from Figure 5 , Which is the operation flowchart of the profit-reduction coding module 133, is explained in detail as follows: (1) At the beginning, the current position (hereinafter referred to as Pos) and the settings made by the user in the profitable code-reduction module 133 are updated. At the same time, the positions to be profit-reduced (hereinafter referred to as UwPos) are initialized to -1, which means that there is no need to reduce any part (501); (2) if there are currently positions, start to prepare to search each profit-reduction Code conditions; if there is currently no position, go back to (501) and wait for the user to start trading (502); (3) judge from the first profit-reduction condition (i = 0, i represents the profit-reduction determined currently) (Code condition) (503); (4) determine whether the user has turned on the i-th profit-reduction code condition, and if so, continue with the following judgment; if the user has not turned on, skip to the next condition judgment (i = i +1) (504); (5) determine whether the current i-th profit-reduction condition is satisfied, and if so, continue with the following judgment; if the condition is not satisfied, skip to the next condition judgment (i = i + 1) (505); (6) if the conditions are met, calculate the i-th profit-reduction condition (hereinafter referred to as Tmp) (506); (7) we will take the smallest unit of all the conditions to determine The method is: if UwPos is the initial value (-1) or Tmp <UwPos, then update UwPos to the latest Tmp value (507); (8) When all conditions are searched, UwPos is also updated . If UwPos is greater than 0, perform the action of making a profit and reduce the UwPos unit, and return to (501) to restart a new round of judgment (508).

而除了上述所提及之條件之外,該停損/停利單元13更能夠設定其他出場條件,而當這些條件發生時,則立刻將所有部位出場,由於其他出場條件具有更多的可能性,故不再此額外贅述。 In addition to the conditions mentioned above, the stop-loss / stop-loss unit 13 can set other exit conditions, and when these conditions occur, all parts are immediately played, because other exit conditions have more possibilities , So I will not repeat them here.

而該風險控管單元14用以確保每一筆交易的最大可能虧損都不 超過一個安全的風險係數,確保連續交易虧損控制在合理的數字之內,因此該風險控管單元14能夠用以設定一風險控管條件參數,並能夠進行自動判斷該筆下單交易資料的數量、金額或是損失是否超出風險控管條件參數,若是超出風險控管條件參數標準,則能夠自動拒絕該筆下單交易資料與該交易市場伺服器進行實際電子交易或是模擬交易;因此該風險控管單元14能夠藉由強制事先設定停損和來計算可能的風險,當風險會超過使用者自定或是系統內定的數字,則本系統能夠自動拒絕該筆交易,就算停損符合安全係數,但若下單的部位超出使用者自訂或是系統內定的安全數量本系統也會拒絕該筆交易,以上不管是真實電子交易或式模擬交易的情況皆然。 The risk control unit 14 is used to ensure that the maximum possible loss of each transaction is not More than a safe risk factor, to ensure that continuous transaction losses are controlled within a reasonable number, so the risk control unit 14 can be used to set a parameter for risk control conditions, and can automatically determine the amount of transaction data for the order, Whether the amount or loss exceeds the risk control condition parameters. If it exceeds the risk control condition parameter standard, it can automatically reject the order transaction data to conduct actual electronic transactions or simulated transactions with the trading market server; therefore, the risk control Unit 14 can calculate the possible risk by forcibly setting the stop loss sum in advance. When the risk will exceed the number set by the user or the system, the system can automatically reject the transaction, even if the stop loss meets the safety factor, but If the place of order exceeds the user-defined or system-defined safe quantity, the system will also reject the transaction, whether it is a real electronic transaction or a simulated transaction.

其中該風險控管條件參數,分項說明如下: Among them, the risk control conditions and parameters are described as follows:

(1)投資資金: (1) Investment funds:

使用者可設定所需控管的資金大小,此資金大小可與帳戶資金一致,也可以小於帳戶資金。所有的交易風險管理都是在做資金管理,因此能夠根據帳戶的投資金額去控管「單筆交易損失」和「累積交易損失」。 The user can set the amount of funds to be controlled, which can be the same as the account funds or smaller than the account funds. All transaction risk management is fund management, so you can control "single transaction loss" and "accumulated transaction loss" according to the investment amount of the account.

(2)每單位所需資金: (2) Funds required per unit:

用來決定槓桿程度,例如大台保證金是8萬3000,則設定兩倍的資金交易,用16萬6000交易一口大台是將槓桿除以2,槓桿設的越小越安全。此參數可由使用者自行設定,系統也有預設值,而判斷標準則參考以下運算式:

Figure TWI611366BD00001
It is used to determine the degree of leverage. For example, the margin of the big platform is 83,000, then double the capital transaction. For a big platform with 166,000 transactions, the leverage is divided by 2. The smaller the leverage, the safer it is. This parameter can be set by the user. The system also has a preset value, and the judgment criteria refer to the following expressions:
Figure TWI611366BD00001

(3)一次下單最大部位上限: (3) The upper limit of the largest part of an order:

決定每一個下單動作可以下多少單位。例如若是設定為“5”,則使用者或自動化程式單筆交易最多只能買5單位。超過5單位的交易而會被系統拒絕。此參數可由使用者自行設定,系統也有預設值。 Decide how many units you can place for each order. For example, if it is set to "5", the user or automated program can only buy up to 5 units in a single transaction. Transactions exceeding 5 units will be rejected by the system. This parameter can be set by the user, and the system also has a default value.

(4)最大累積部位上限: (4) Upper limit of maximum accumulation position:

用來決定總曝險部位的上限。此參數可由使用者自行設定,系統也有預設值。 Used to determine the upper limit of the total exposed area. This parameter can be set by the user, and the system also has a default value.

(5)單筆交易損失上限: (5) Upper limit of single transaction loss:

決定「單筆損失上限」,以可使用資金的百分比來計算。此參數可由使用者自行設定,系統也有預設值,而判斷標準則參考以下運算式:單筆交易損失上限(金額)=投資資金×單筆交易損失上限(%) (2) Determine the "single loss limit", calculated as a percentage of available funds. This parameter can be set by the user. The system also has preset values, and the judgment criteria refer to the following calculation formula: single transaction loss upper limit (amount) = investment funds × single transaction loss upper limit (%) (2)

(6)累積損失上限: (6) Upper limit of cumulative losses:

決定一段時間的【累積損失上限】,以可使用資金的百分比來計算。此參數可由使用者自行設定,系統也有預設值,而判斷標準則參考以下運算式:累積損失上限(金額)=投資資金×累積損失上限(%) (3) Determine the upper limit of accumulated losses for a period of time, calculated as a percentage of available funds. This parameter can be set by the user. The system also has a preset value, and the judgment criteria refer to the following calculation formula: cumulative loss upper limit (amount) = investment funds × cumulative loss upper limit (%) (3)

如第6圖所示,該風險控管單元14係包含有一投資資金更新模組141、一部位控管模組142、一損失控制模組143,其中該投資資金更新模組141用以負責投資資金的更新。使用者可設定所需控管的資金大小,此資金大小可與帳戶資金一致,也可以小於帳戶資金。每當交易產生獲利時,投資資金即加上這筆獲利的金額;同樣的,每當交易產生虧損時,投資資金便扣除這筆虧損的金額,金額會持續累計。 As shown in Figure 6, the risk control unit 14 includes an investment fund update module 141, a position control module 142, and a loss control module 143. The investment fund update module 141 is used to invest Update of funds. The user can set the amount of funds to be controlled, which can be the same as the account funds or smaller than the account funds. Whenever a transaction generates a profit, the investment funds are added to the amount of the profit; similarly, whenever a transaction generates a loss, the investment funds will deduct the amount of the loss, and the amount will continue to accumulate.

而該部位控管模組142則是負責「一次下單最大部位控管」、「可曝險部位上限」(由「每單位所需資金」決定)與「累積最大部位控管」,由於部位管理是風險管理重要的一環,因此限制了交易規模也就是限制了交易風險。 透過該部位控管模組142則能夠去限制投資人的交易規模,如果累積損失下單單位超過「一次下單最大部位上限」,則本系統會拒絕這筆交易,並用提示訊息告知投資者無法下單的原因。若這筆交易所購買的單位會讓曝險部位超過「可曝險部位上限」或是讓最後的累積總部位超過「最大累積部位上限」,則本系統也會拒絕這筆交易,並用提示訊息告知投資者無法下單的原因;而針對部位控管模組142舉例說明,當設定一次下單最大部位上限是5單位,最大累積部位上限是10單位時,若是使用者要一次下單6單位則會被系統拒絕,並出現使用者下單6單位超過【一次下單最大部位上限】5單位,不合風險管理拒絕送出下單指令等訊息,而若使用者連續下單5單位三次,第三次下單會被拒絕,則會告知總部位會超過【最大累積部位上限】10單位無法下單等訊息。 The position control module 142 is responsible for "the maximum position control of an order at a time", "the maximum exposure position limit" (determined by "funds required per unit") and "cumulative maximum position control". Management is an important part of risk management, so limiting transaction size means limiting transaction risk. Through the position control module 142, it is possible to limit the transaction size of investors. If the cumulative loss order unit exceeds the "maximum position limit for one order", the system will reject the transaction and inform the investor with a prompt message Reason for order. If the unit purchased by this exchange will cause the exposure position to exceed the "maximum exposure position limit" or the last cumulative headquarters to exceed the "maximum accumulation position limit", the system will also reject the transaction and use a prompt message Inform investors of the reasons for not being able to place an order; for the position control module 142, for example, when the maximum position limit for an order is set to 5 units and the maximum cumulative position limit is 10 units, if the user wants to place an order for 6 units at a time Will be rejected by the system, and the user orders 6 units exceeding the [maximum position limit of one order] 5 units, which does not comply with risk management and refuses to send orders and other messages. If the user orders 5 units three times in a row, the third The next order will be rejected, and the headquarters will be informed that the [Maximum Cumulative Position Limit] 10 units cannot place an order, etc.

而該損失控制模組143能夠進行單筆損失控制與累計損失控制,並藉由每次交易的虧損限制和連續交易虧損的限制來保護投資人的資金,而為了進行單筆損失控制與累計損失控制,系統能夠讓投資人設定「單筆交易損失上限」和「累積損失上限」,但若是投資人不設定系統也有預設的數字,由於該損失控制模組143能夠根據投資者的下單部位和停損的設定來預估可能的損失,因此當投資者這筆交易可能發生的損失會超過使用者自訂或者系統設定的「單筆交易損失上限」或者「累積損失上限」,則這筆交易會因為風險考量而被系統拒絕,而判斷標準則參考以下運算式:可能的虧損=部位×停損價差 (4) The loss control module 143 can perform single loss control and cumulative loss control, and protect investors' funds by limiting the loss of each transaction and the limit of continuous transaction losses, and in order to perform single loss control and cumulative loss Control, the system can allow investors to set the "single transaction loss cap" and "cumulative loss cap", but if the investor does not set the system also has a preset number, because the loss control module 143 can be based on the investor's order position And stop loss settings to estimate possible losses, so when the investor's possible loss in this transaction will exceed the user-defined or system-set "single transaction loss cap" or "cumulative loss cap", this The transaction will be rejected by the system due to risk considerations, and the judgment criteria refer to the following calculation formula: possible loss = position × stop loss spread (4)

而針對損失控制模組143舉例說明,當設定「單筆交易損失上限」是10000元,而「累積損失上限」是50000元時,若使用者交易大台進場部位為5 口,根據使用者停損條件算出每口的停損價差為20點,每口停損會賠4000元,5口部位總共會賠20000元,則這筆交易會被拒絕無法送出,並告訴使用者這筆交易可能會損失20000元,超出「單筆交易損失上限」10000元,因此無法交易;若使用者累積損失已經到48000元,若新的一筆交易停損的話會損失6000元,損失雖然小於「單筆交易損失上限」10000元,但會超過「累計損失上限」50000元,則這筆交易會被拒絕無法送出,並告訴使用者這筆交易可能的累計損失是48000+6000=54000元,故超過所設定的「累積損失上限」50000元,因此無法交易。 And for the loss control module 143, for example, when the "single transaction loss upper limit" is set to 10,000 yuan, and the "cumulative loss upper limit" is 50,000 yuan, if the user's trading platform entry position is 5 According to the user's stop-loss conditions, the stop-loss spread for each stop is calculated as 20 points. Each stop-stop will be compensated for 4,000 yuan, and the total of 5 positions will be 20,000 yuan. Then this transaction will be rejected and cannot be sent out. This transaction may lose 20,000 yuan, exceeding the "single transaction loss limit" by 10,000 yuan, so it cannot be traded; if the user's cumulative loss has reached 48,000 yuan, if a new transaction is stopped, the loss will be 6,000 yuan. If it is less than 10,000 yuan for the "Maximum Loss Per Transaction", but exceeds 50,000 yuan for the "Maximum Cumulative Loss Limit", the transaction will be rejected and cannot be sent out, and the user will be told that the cumulative cumulative loss of this transaction is 48000 + 6000 = 54000 , So it exceeds the set "upper limit of accumulated losses" of 50,000 yuan, so it cannot be traded.

而該風險控管單元14之運作流程圖如第7圖所示,詳細說明如下:(1)使用者進行下單時,先判斷下單數量(後簡稱N)是否會超過「一次下單最大部位上限」,若尚未超過則繼續判斷下一個條件,否則提示錯誤訊息並且拒絕該筆下單(701);(2)接下來判斷目前部位(後簡稱Pos)加上欲下單部位後是否會超過「可曝險部位的上限」,若尚未超過則繼續判斷下一個條件,否則提示錯誤訊息並且拒絕該筆下單(702),而判斷標準則參考以下運算式:

Figure TWI611366BD00002
The operation flow chart of the risk control unit 14 is shown in Fig. 7 and explained in detail as follows: (1) When placing an order, the user first determines whether the number of orders (hereinafter referred to as N) will exceed the "maximum order size at one time" Position Limit ", if it has not been exceeded, continue to determine the next condition, otherwise an error message is displayed and the order is rejected (701); (2) Next, determine whether the current position (hereinafter referred to as Pos) plus the position to be placed will exceed. The "upper limit of the exposed part", if it has not been exceeded, continue to judge the next condition, otherwise an error message is prompted and the order is rejected (702), and the judgment criterion refers to the following expression:
Figure TWI611366BD00002

Figure TWI611366BD00003
(3)同時也判斷(Pos+N)是否小於或等於「最大累積部位上限」(703);(4)接著判斷該筆下單送出後可能造成的最大損失是否有超過「單筆交易損失上限」?下單後可能的最大損失也就是下單後行情直接突破或跌破防守價格的損失(704),而下單後可能的最大單筆損失的計算方式 為「目前曝險部位損益-(欲下單部位×目前行情與防守價格之間的距離×1點的價格)」;(5)最後判斷可能的累積損失是否超過「累積損失上限」,若尚未超過則送出下單指令,否則提示錯誤訊息並且拒絕該筆下單(705),而下單後可能的最大累積損失的計算方式為「目前累積損益+下單後可能的最大單筆損失」。
Figure TWI611366BD00003
(3) At the same time, it is also judged whether (Pos + N) is less than or equal to the "maximum cumulative position limit"(703); (4) then judge whether the maximum loss that may be caused after the order is sent exceeds the "single transaction loss limit" ? The maximum possible loss after placing an order is the loss after the order directly breaks through or falls below the defensive price (704), and the maximum possible single loss after placing an order is calculated as "the current exposure position profit and loss-(for ordering (Single part × the distance between the current market price and the defensive price × the price of 1 point) "; (5) finally determine whether the possible cumulative loss exceeds the" upper cumulative loss limit ", if it has not exceeded, then send an order instruction, otherwise an error message will be prompted And the order is rejected (705), and the possible maximum cumulative loss after the order is calculated is "current cumulative profit and loss + the maximum possible single loss after the order".

而該加碼單元15能夠用以設定一加碼控管條件參數,並經由該風險控管單元14自動依據目前的行情交易資料與該加碼控管條件參數進行運算,若符合加碼條件,則能夠透過該加碼單元於該筆下單交易資料的基礎上再進場進行加碼處理(亦能夠在沒有風險控管單元14的監控下進行加碼,但如此會增加損失的可能性);由於該加碼單元15主要是幫助投資人找好的加碼點自動加碼,也會幫投資人計算,讓投資部位出場後至少會有獲利,因此若該加碼單元15與該風險控管單元14結合使用後,則能夠於風險控管的保護下進行加碼,讓投資人在風險控制的前提下用加碼增加獲利能力;而該加碼控管條件參數係能夠為可接受最大損失、可接受最小獲利、最後一碼賺賠幾點可加碼、防守價格超過最末碼可加碼、固定口數加碼、最大口數加碼、加碼口數小於總部位、行情穿越均線時加碼或是行情自高點拉回固定百分比後可加碼;而該加碼單元15之運作流程圖如第8圖所示,詳細說明如下:(1)一開始先更新目前的部位(後簡稱Pos)以及使用者最新的加碼設定(801);(2)若目前有部位(Pos!=0),則將加碼口數(後簡稱Ow)初始為-1,代表不需 要加碼,接著繼續下面的判斷;若目前沒有部位,則回到(801)等待使用者開始交易(802);(3)從第一個加碼條件開始判斷(i=0),判斷使用者是否有開啟第i個加碼條件,若有開起則繼續下面的判斷;若未開啟則跳至下一個條件判斷(i=i+1)(803);(4)計算第i個加碼條件的加碼口數Tmp,若Tmp為0,則代表第i個條件不滿足不允許加碼。加碼時必須滿足所有開啟的條件,因此將Ow設為0並回到(801)繼續下一輪的判斷(804);(5)若Tmp>0,此時Ow尚未設定過(Ow=-1),或是Tmp小於目前已經記錄的加碼口Ow,則將Ow更新為Tmp(Ow=Tmp),原因是系統必須滿足所有加碼條件才允許加碼,因此取所有條件中最小的加碼口數(805);(6)當所有開啟的加碼條件都尋訪完畢並取得加碼口數OW之後,還需將Ow與滿足風險條件下的最大口數(RQty)相比較,兩者取其較小的值來執行加碼的動作。之後回到(801)繼續下一輪的判斷(806)。 The coding unit 15 can be used to set a coding control condition parameter, and the risk control unit 14 can automatically perform calculations based on the current market transaction data and the coding control condition parameter. If the coding condition is met, the coding condition can be passed through the The coding unit is based on the transaction information of the order and then enters the market for coding processing (the coding can also be performed without the monitoring of the risk control unit 14, but this will increase the possibility of loss); because the coding unit 15 is mainly Helping investors find a good overweight point to automatically overweight, it will also help investors calculate that at least the investment site will make a profit after the market, so if the overweight unit 15 and the risk control unit 14 are used in combination, it can be used in the risk Overweighting under the protection of control, allowing investors to increase their profitability with overweighting under the premise of risk control; and the conditional parameters of the overweighting control system can accept the maximum loss, the minimum profit, and the last yard of compensation. Several points can be added, defensive prices can be added when the last code is exceeded, fixed mouth number can be added, maximum mouth number can be added, the number of yards is less than the headquarters, and the market can be worn You can add code when moving average, or after the market pulls back a fixed percentage from the high point, and the operation flow chart of the code adding unit 15 is shown in Figure 8 and explained in detail as follows: (1) First update the current position (hereinafter referred to as short for short) Pos) and the user's latest code setting (801); (2) If there is currently a position (Pos! = 0), the code number (hereinafter referred to as Ow) is initially -1, which means no need To add code, then continue with the following judgment; if there is no current position, return to (801) and wait for the user to start the transaction (802); (3) start with the first code condition (i = 0) to determine whether the user is The i-th code condition is enabled. If it is enabled, the following judgment is continued. If the i-code condition is not enabled, skip to the next condition judgment (i = i + 1) (803). (4) Calculate the code for the i-th code condition. The number of words Tmp. If Tmp is 0, it means that the i-th condition is not satisfied and no code is allowed. All the open conditions must be met when the code is added, so set Ow to 0 and return to (801) to continue the next round of judgment (804); (5) If Tmp> 0, Ow has not been set at this time (Ow = -1) , Or Tmp is less than the currently recorded code port Ow, then update Ow to Tmp (Ow = Tmp), because the system must meet all code conditions to allow code, so take the smallest code port of all conditions (805) ; (6) After all the open coding conditions have been visited and the coded mouth number OW is obtained, Ow needs to be compared with the maximum number of mouths (RQty) under the risk condition, and the two take the smaller value to execute Overweight action. Then return to (801) to continue the next round of judgment (806).

而如第9圖所示,則是最大風險口數計算的流程圖,詳細說明如下:(1)先取得目前的部位(後簡稱為Pos),並將最大風險口數(後簡稱RPos)初始化為第一個風險參數「一次下單最大部位上限」(901);(2)判斷若是以RPos加碼,其總部位(Pos+RPos)是否會小於「可曝險部位上限」,若小於上限值則繼續下面的判斷;若超過上限值,則將RPos縮小為滿足「可曝險部位上限」的最大單位(902),而判斷式如下:p=可曝險部位上限-Pos (7)

Figure TWI611366BD00004
(3)判斷若是以RPos加碼,其總部位(Pos+RPos)是否會小於「最大累積部位上限」,若小於上限值則繼續下面的判斷;若超過上限值,則將RPos縮小為滿足「最大累積部位上限」的最大單位(即「最大累積部位上限」-Pos)(903),而判斷式如下;p=最大累積部位上限-Pos (8)
Figure TWI611366BD00005
(4)判斷若是以RPos加碼,其風險是否會超過「單筆損失上限」,若不會超過則繼續下面的判斷;若是會超過上限值,則將RPos縮小為滿足「單筆損失上限」的最大單位(904),而判斷式如下;
Figure TWI611366BD00006
Figure TWI611366BD00007
(5)判斷若是以RPos加碼,其風險是否會超過「累積損失上限」,若不會超過則RPos即是「滿足風險最大可加碼口數」;若是會超過上限值,則將RPos縮小為滿足「累積損失上限」的最大單位(905),而判斷式如下;
Figure TWI611366BD00008
Figure TWI611366BD00009
As shown in Figure 9, it is a flowchart of the calculation of the maximum risk level. The detailed description is as follows: (1) First obtain the current position (hereinafter referred to as Pos), and initialize the maximum risk level (hereinafter referred to as RPos). Is the first risk parameter "the upper limit of the maximum position for one order"(901); (2) judge whether the headquarters position (Pos + RPos) will be less than the "upper limit of exposed parts" if it is increased by RPos, if it is less than the upper limit If the value exceeds the upper limit, the RPos will be reduced to the largest unit (902) that satisfies the "upper exposure limit", and the judgment formula is as follows: p = upper exposure limit-Pos (7)
Figure TWI611366BD00004
(3) Determine whether the head office position (Pos + RPos) will be less than the "maximum cumulative position limit" if it is increased by RPos. If it is less than the upper limit value, continue to the following judgment; if it exceeds the upper limit value, reduce RPos to meet The largest unit of the "maximum cumulative location upper limit" (ie, "maximum cumulative location upper limit"-Pos) (903), and the judgment formula is as follows; p = maximum cumulative location upper limit-Pos (8)
Figure TWI611366BD00005
(4) Determine whether the risk will exceed the "single loss limit" if it is increased by RPos. If it does not exceed, continue to the following judgment; if it will exceed the upper limit, reduce RPos to meet the "single loss limit" The largest unit (904), and the judgment formula is as follows;
Figure TWI611366BD00006
Figure TWI611366BD00007
(5) Determine if the risk is increased by RPos, if the risk will exceed the “upper limit of cumulative losses”; if it is not exceeded, RPos will be “the maximum number of code points that can meet the risk”; The largest unit (905) that meets the "upper limit of accumulated losses", and the judgment formula is as follows;
Figure TWI611366BD00008
Figure TWI611366BD00009

而由第10A~10D圖可知,將本系統以軟體化的方式呈現,由該操作介面提供單元16所提供的操作介面161進行參數設定的畫面;另外,如第10E圖所示,若使用者要進行自動下單,則必須進行設定自動下單的條件,因此若設定之後,則能夠設定順勢進場或是逆勢進場,其中順勢進場能夠設定現貨開盤高 低點進場、2點掛多/空、4關鍵價進場、進場K棒高低點進場、CDP突破進場、轉折高低點突破、轉折打勾進場或是加碼條件滿足即進場,而逆勢進場能夠設定昨日高低點突破反轉逆勢進場或是長K棒進場。 As can be seen from FIGS. 10A to 10D, the system is presented in software, and the parameter setting screen is provided by the operation interface 161 provided by the operation interface providing unit 16. In addition, as shown in FIG. 10E, if the user If you want to place an automatic order, you must set the conditions for the automatic order. Therefore, if you set it, you can set a homeopath or a contrarian entry, and the homeopath can set the spot opening height. Low entry, 2 points long / short, 4 key price entry, K bar entry high and low entry, CDP breakthrough entry, turning high and low break, turning check or entering, or entering when overweight conditions are met And the contrarian approach can set yesterday's highs and lows to break through the reverse contrarian approach or a long K-bar approach.

再如11A圖所示,當假設使用者選取A1與A2這兩種初始停損設置的方法後,在多單部位進場後(假設進場價格為200),若是遇到第11B圖與第11C圖的情況時,計算出的停損價格分別為:(1)如第11B圖所示,則是固定20點停損,因此停損防守價格為200-20=180;(2)如第11C圖所示,則是近期5根K棒低點減5點,因此停損防守價格為175-5=170;(3)比較第11B圖與第11C圖兩種設定停損的方式,由於第11B圖使用「固定20點停損」所計算出的停損價格距離進場價格較近,對使用者較有利,因此該停損模組131最後會選取第11B圖的結果「180」作為本次交易的固定停損價格。 As shown in Figure 11A, when the user selects the two initial stop loss setting methods of A1 and A2, after entering multiple positions (assuming the entry price is 200), if it encounters Figure 11B and In the case of Figure 11C, the calculated stop loss prices are: (1) As shown in Figure 11B, the fixed stop loss is 20 points, so the stop loss defense price is 200-20 = 180; (2) As shown in Figure 11C, the recent 5 K stick lows are reduced by 5 points, so the stop-loss defense price is 175-5 = 170; (3) Comparing the two methods of setting stop loss in Figure 11B and Figure 11C. Figure 11B uses the "fixed 20-point stop loss" calculated stop price close to the entry price, which is more beneficial to the user, so the stop loss module 131 will finally select the result "180" in Figure 11B as the The fixed stop loss price for this transaction.

由於部位建立後,隨著行情持續發展,可根據各種不同的技術指標將防守價格從原本的「初始停損」持續往對使用者有利的方向移動,這種移動防守價格至更有利的方式稱為「停利」或「移動停利」,「移動停利」只可以往對使用者有利的方式移動,而不能倒退。如同停損的運作方式一樣,使用者可以選擇單一或多種不同的移動停利條件,當價格在某一時間點滿足2種以上的停利條件時,最後決定的停利價格為對使用者較有利的價位。例如我們採取以下的方式設定停損及移動停利;而如12A圖所示,當使用者設定完A1、B3與B7的數值後,A1是代表固定20點停損(停損),而B3是代表最近5根K棒最低點下方5點位置(移動停 利),而B7是代表大K棒下方5點位置。大K棒的定義為高低點差超過25點(移動停利),以下範例說明多單部位建立後,A1、B3與B7這三種停損停利條件在行情發展的過程中如何建立防守價格,說明如下: After the position is established, as the market continues to develop, the defensive price can be continuously moved from the original "initial stop loss" to the user's favorable direction according to various technical indicators. For "stop profit" or "mobile stop profit", "mobile stop profit" can only move in a way that is beneficial to the user, not backwards. Just like the operation mode of stop loss, users can choose a single or multiple different mobile stop conditions. When the price meets more than two stop conditions at a certain point in time, the final stop price is determined for the user. Favorable price. For example, we use the following methods to set stop loss and mobile stop profit; as shown in Figure 12A, when the user sets the values of A1, B3, and B7, A1 represents a fixed 20-point stop loss (stop loss), and B3 5 points below the lowest point of the last 5 K sticks (Benefits), and B7 represents 5 points below the big K stick. The definition of a big K stick is that the high and low spreads exceed 25 points (moving stop loss). The following example illustrates how to establish defensive prices during the development of the market when the three stop loss and stop loss conditions of A1, B3, and B7 are established. described as follows:

(1)如第12B圖所示,則是多單部位進場後設定固定20點停損,因此會顯示使用者建立一筆多單的部位後,該停損模組131立刻根據進場價格(8962)算出「初始停損」價格為8942(初始停損價格=8962(進場價格)-20(固定點數停損)=8942),而此時B3與B7的條件也有被判斷及計算,但因為條件並未發生或價格低於A1所算出的價格,因此都忽略不計。 (1) As shown in Figure 12B, a fixed 20-point stop loss is set after the entry of multiple orders. Therefore, after the user creates a position with multiple orders, the stop loss module 131 is immediately based on the entry price ( 8962) calculated the "initial stop loss" price as 8942 (initial stop loss price = 8962 (entry price) -20 (fixed point stop loss) = 8942), and at this time the conditions of B3 and B7 have also been judged and calculated, But because the conditions did not occur or the price was lower than the price calculated by A1, they were ignored.

(2)如第12C圖所示,則是大K棒低點移動停利,圖中為一大K棒發生時的範例,可以看到防守價格由初始停損8942向上移動至大K棒低點減5點的位置8953,若之後行情向下跌破此防守價格,則部位將全部出場。 (2) As shown in Figure 12C, it is a large K stick low point movement stop. The figure is an example when a large K stick occurs. You can see that the defensive price moves upward from the initial stop loss 8942 to the large K stick low. The point is reduced by 5 points to 8953. If the market price drops below this defensive price, all parts will be played.

(3)如第12D圖所示為防守價格移動前進的範例,隨著行情的方展系統偵測到B3與B7的條件持續發生,觸發防守價格向使用者有利的方向移動。最進一次向前移動的原因是因為近期5根K棒低點移動停利的作用。 (3) As shown in Figure 12D, an example of defensive price moving forward is shown. As the market's Fangzhan system detects that the conditions of B3 and B7 continue to occur, the defensive price is triggered to move in a favorable direction for the user. The reason for the most forward move is because of the effect of the recent 5 K sticks' low point movement.

而如13A圖所示,則是進行部位控管參數的設定,當設定之後,搭配該操作介面提供單元16所提供的看盤介面162,由第13B圖可知,這是一部位風險控制的範例,使用者嘗試下單10口台指期,因其風險控制最大口數限制為5口,因此此筆交易被拒絕,並提示使用者最大口數已超過風險值。 As shown in FIG. 13A, it is to set the position control parameters. After setting, it is matched with the kanban interface 162 provided by the operation interface providing unit 16. As shown in FIG. 13B, this is an example of position risk control. , The user tried to place an order for 10 counters, because the maximum limit of the risk control limit was 5, so the transaction was rejected, and the user was reminded that the maximum limit exceeded the risk value.

再如第14A圖所示,則是進行單筆交易控管參數的設定,當設定之後,由第14B圖可知,這是單筆交易風險控制的範例,使用者嘗試下單3口台指期,初始停損為30點,這筆下單可能的停損風險為18,000元(3(口)×30(停損)×200(1點金額)=18,000元),由於目前風險控制最大單筆損失限制為9960元, 因此這筆下單被系統拒絕,並提示使用者單筆損失已超過風險值。 As shown in Figure 14A, it is the setting of a single transaction control parameter. After setting, it can be seen from Figure 14B that this is an example of risk control for a single transaction. The user attempts to place an order for 3 orders. , The initial stop loss is 30 points, the possible stop loss risk for this order is 18,000 yuan (3 (mouth) × 30 (stop loss) × 200 (1 point amount) = 18,000 yuan), due to the current maximum risk of single loss control The limit is 9960 yuan, Therefore, the order was rejected by the system, and the user was prompted that the single loss had exceeded the risk value.

再如第15A圖所示,則是進行累積損失控管參數的設定,當設定之後,由第15B圖可知,這是一累積損失風險控制的範例,其中使用者嘗試下單1口台指期,初始停損為20點,目前已累積的損失為17,800元,這筆下單可能造成的累積損失為21,800元(17,800(元)+1(口)×20(點)×200(1點金額)=21,800元),由於目前風險控制最大累積損失限制為20,028元,因此這筆下單被系統拒絕,並提示使用者累積損失已超過風險值。 As shown in Figure 15A, it is to set the cumulative loss control parameters. After setting, it can be seen from Figure 15B that this is an example of cumulative loss risk control, in which the user attempts to place an order for one platform. , The initial stop loss is 20 points, and the accumulated loss is currently 17,800 yuan. The cumulative loss that this order may cause is 21,800 yuan (17,800 (yuan) + 1 (mouth) × 20 (points) × 200 (1 point amount). = 21,800 yuan), because the maximum cumulative loss limit for risk control is currently 20,028 yuan, this order was rejected by the system and the user was reminded that the cumulative loss has exceeded the risk value.

累積損失已超過風險值如第16A圖所示,使用者進行固定點數獲利減碼的設定(C1),當設定之後,由第16B圖及第16C圖可知,這是一固定點數獲利減碼(30點)的範例,使用者一開始進場2口多單,當行情來到進場價格+30點的位置時,自動獲利減碼一口多單,剩下一口多單等待行情觸及停損停利防守價格時自動出場,或由使用者自行手動出場。 The cumulative loss has exceeded the risk value. As shown in Figure 16A, the user sets the fixed point profit reduction code setting (C1). After setting, it can be known from Figures 16B and 16C that this is a fixed point gain Example of a cut-off (30 points). When a user enters the market with more than two orders at the beginning, when the market price reaches the entry price of +30 points, he automatically makes a cut-off order with multiple orders, and waits for the remaining order. When the market touches the stop-loss and stop-loss defense price, it will automatically appear, or the user will manually enter the market.

如第17A圖所示,使用者進行自動加碼的設定,而本實施例中加碼的條件為賺10點後加碼與距離上次進場價格10點以上加碼,因此由第17B圖中可知,隨著行情的發展以及防守價格不斷的向上移動,系統不斷的計算賺10點後加碼與距離上次進場價格10點以上加碼這兩個條件,當兩者同時滿足時,自動觸發系統加碼買進所設定的口數。 As shown in FIG. 17A, the user performs the setting of automatic adding. In this embodiment, the condition for adding is to add 10 points after earning and to add 10 points from the last entry price. Therefore, as shown in FIG. 17B, With the development of the market and the defensive price continuously moving upwards, the system continuously calculates the two conditions of earning 10 points and adding more than 10 points from the last entry price. When the two conditions are met at the same time, the system will automatically trigger an overweight purchase. The set number of mouths.

本發明所提供之下單加碼控管系統,與其他習用技術相互比較時,其優點如下: Compared with other conventional technologies, the advantages of the single-coded control system provided by the present invention are as follows:

(1)本發明為一智慧下單輔助系統,投資人可透過本系統的下單介面人工下單,或是透過本系統的程式訊號電腦下單,下單前會接受本系統的風險管理模組檢核這筆交易是否安全,下單之後會幫投資人自動停損、停利 和獲利減碼,並且依據情況來幫投資人自動加碼。 (1) The present invention is a smart order-assistance system. Investors can place orders manually through the order interface of the system, or through the program signal computer of the system, and will accept the risk management model of the system before placing orders. The group checks whether the transaction is safe. After placing the order, it will help investors automatically stop losses and profits. And profit reduction, and help investors automatically increase the number according to the situation.

(2)本發明的功能可以無限擴充,依據投資人需求增加其他模組,根據所開啟的模組而產生對應的真實下單指令給券商,例如:進場下單訊號、自動出場下單訊號以及自動加碼訊號。最後將券商的成交回報顯示在系統上,告知投資人目前部位規模、平均價格、帳面損益、已實現損益等等。 (2) The functions of the present invention can be infinitely expanded, and other modules can be added according to investors' needs. According to the opened modules, corresponding real order instructions are issued to the securities dealers, such as: order entry signals, automatic exit order signals. And auto-encoding signals. Finally, the transaction returns of the securities firms are displayed on the system, and investors are informed of the current position size, average price, book profit and loss, realized profit and loss, and so on.

(3)由於本發明為一具有正確的投資知識和具備邏輯運算能力的智慧下單軟體,能夠透過本發明之技術特徵,讓投資者可以在正確的投資行為之下鎖住虧損、創造獲利。 (3) Since the present invention is a smart ordering software with correct investment knowledge and logical operation capabilities, it can allow investors to lock in losses and create profits under the correct investment behavior through the technical features of the present invention .

(4)本發明能夠應用於實際電子交易或是模擬交易,兩者的差異僅在於是否有將下單交易資料傳送進入該交易市場伺服器,但後續控管自動加碼、自動停損、停利、獲利減碼等功能皆相同。 (4) The present invention can be applied to actual electronic trading or simulated trading. The only difference between the two is whether or not the transaction data of the order is entered into the server of the trading market, but the subsequent control automatically adds code, automatically stops losses, and stops profits. , Profit reduction, etc. are all the same.

本發明已透過上述之實施例揭露如上,然其並非用以限定本發明,任何熟悉此一技術領域具有通常知識者,在瞭解本發明前述的技術特徵及實施例,並在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之請求項所界定者為準。 The present invention has been disclosed as above through the above-mentioned embodiments, but it is not intended to limit the present invention. Anyone with ordinary knowledge in this technical field will understand the aforementioned technical features and embodiments of the present invention without departing from the scope of the present invention. Within the spirit and scope, some changes and retouching can be made. Therefore, the scope of patent protection of the present invention shall be subject to the definition in the claims attached to this specification.

1‧‧‧下單控管程式 1‧‧‧ Order control program

2‧‧‧交易市場伺服器 2‧‧‧Trading market server

Claims (12)

一種下單加碼控管系統,而該下單加碼控管系統係包含:一交易市場伺服器,係為至少一個金融商品交易市場所使用的伺服器設備;一下單控管程式,係與該交易市場伺服器進行連線,而該下單控管程式用以將一下單訊號產生的下單交易資料再傳送進入該交易市場伺服器,其中該下單交易資料係能夠由外部產生或是內部產生,而外部產生的下單資料為使用者自己外掛的程式交易根據條件自動進場,且內部所產生的下單資料為使用者透過下單控管程式手動進場或是透過下單控管程式以勾選進場條件的方式自動進場,以使該下單交易資料能夠與該交易市場伺服器進行實際電子交易或是模擬交易,而該下單控管程式係包含:一市場狀態收集單元,用以收集目前金融商品交易市場的行情交易資料;一加碼單元,係用以設定一加碼控管條件參數,並能夠於該筆下單交易資料的基礎上再進場進行自動加碼處理;一與該加碼單元相連接之風險控管單元,該風險控管單元係用以設定一風險控管條件參數,並能夠進行自動判斷該筆下單交易資料的數量、金額或是損失是否超出風險控管條件參數,若是超出風險控管條件參數標準,則能夠自動拒絕該筆下單交易資料與該交易市場伺服器進行實際電子交易或是模擬交易,而該加碼單元更能夠經由該風險控管單元自動依據目前的行情交易資料與該加碼控管條件參數進行運算,若同時符合加碼條件以及風險控管條件,則能夠透過該加碼單元於該筆下單交易資料的基礎上再進場進行有風險控管的加碼處理;以及一操作介面提供單元,用以提供運作該下單控管程式所需之操作介面以進行 操作。 An order placing and controlling system includes: a trading market server, which is a server device used for at least one financial commodity trading market; the following order controlling program is related to the transaction The market server is connected, and the order control program is used to transmit the order transaction data generated by the order signal into the transaction market server, where the order transaction data can be generated externally or internally , And the externally generated order data is a user's own plug-in program transaction that automatically enters the market according to conditions, and the internally generated order data is entered manually by the user through the order control program or through the order control program Automatically enter the market by checking the entry conditions, so that the order transaction data can be used for actual electronic transactions or simulated transactions with the transaction market server, and the order control program includes a market status collection unit , Used to collect the current transaction information of the financial commodity trading market; a plus unit is used to set a plus control control parameter, and can be used in the On the basis of the order transaction data, it enters the market for automatic code processing; a risk control unit connected to the code unit, the risk control unit is used to set a risk control condition parameter and can automatically judge the Whether the amount, amount or loss of the order transaction data exceeds the risk control condition parameters. If it exceeds the risk control condition parameter standards, it can automatically reject the order transaction data and conduct actual electronic transactions or simulations with the transaction market server. Transactions, and the coding unit can more automatically perform calculations based on the current market transaction data and the coding control condition parameters via the risk control unit. If the coding conditions and risk control conditions are met at the same time, the coding unit can be used in the On the basis of the order transaction data, it enters the market for risk-controlled overweight processing; and an operation interface providing unit is used to provide the operation interface required to run the order control program to perform operating. 如請求項1所述之下單加碼控管系統,其中該金融商品交易市場係為股票商品交易市場、海內外期貨商品交易市場或是選擇權商品交易市場,而該行情交易資料係為該金融商品交易市場中呈現價格、成交量、籌碼、型態或其組合的資料。 The order plus control system as described in claim 1, wherein the financial commodity trading market is a stock commodity trading market, a domestic and overseas futures commodity trading market, or an option commodity trading market, and the market transaction data is the financial Information on prices, trading volume, chips, patterns, or combinations thereof in the commodity trading market. 如請求項1所述之下單加碼控管系統,其中該風險控管條件參數係能夠為投資資金、每單位所需資金、一次下單最大部位上限、最大累積部位上限、單筆交易損失上限或是累積損失上限。 The order plus code control system as described in claim 1, wherein the risk control condition parameters are the investment funds, the funds required per unit, the maximum position limit for an order, the maximum cumulative position limit, and the single transaction loss limit. Or the cumulative loss cap. 如請求項3所述之下單加碼控管系統,其中該風險控管單元更包含有一用來計算累計損益之投資資金更新模組,該投資資金更新模組用以每筆交易產生獲利或是虧損時,能夠對該筆投資資金增加能夠對該筆投資資金增加該筆獲利的金額或是扣除該筆虧損的金額,以用來計算累計損益控制累積損失上限。 The order plus control system as described in claim 3, wherein the risk control unit further includes an investment fund update module for calculating cumulative profit and loss, and the investment fund update module is used to generate profit or When it is a loss, it is possible to increase the investment funds, increase the profit amount of the investment funds, or deduct the amount of the losses, to calculate the upper limit of the cumulative loss of the cumulative profit and loss control. 如請求項3所述之下單加碼控管系統,其中該風險控管單元更包含有一部位控管模組,該部位控管模組用以控管一次下單最大部位、可曝險部位上限或是累積最大部位,以避免所下單部位超出設定。 The order plus code control system as described in claim 3, wherein the risk control unit further includes a position control module, which is used to control the maximum position of an order at one time and the upper limit of the position that can be exposed Or accumulate the largest positions to avoid placing orders beyond the setting. 如請求項3所述之下單加碼控管系統,其中該風險控管單元更包含有一損失控制模組,用以進行單筆損失控制或是累計損失控制,以避免虧損超出設定。 As described in claim 3, the single-coded control system further includes a loss control module for single loss control or cumulative loss control to prevent losses from exceeding the setting. 如請求項1所述之下單加碼控管系統,其中該下單控管程式更包含有一停損/停利單元,係用以設定一停損/停利條件參數,並於每一筆下單交易資料已與該交易市場伺服器進行實際電子交易或是模擬交易後,能夠依據目 前的行情交易資料與該停損/停利條件參數比較,以進行自動判斷該筆下單交易資料進場後的出場時機,並進行自動出場處理。 The order increase control system as described in claim 1, wherein the order control program further includes a stop loss / stop profit unit, which is used to set a stop loss / stop profit condition parameter and place an order on each order After the transaction data has been used for actual electronic transactions or simulated transactions with the trading market server, The previous market transaction data is compared with the stop-loss / stop-loss condition parameters to automatically determine the exit timing of the order transaction data after entering the market and perform automatic exit processing. 如請求項7所述之下單加碼控管系統,其中該停損/停利條件參數係能夠為固定點數停損、今日高低點停損、近期K棒高低點移動停損、今日開盤價停損、最高/低點固定點數拉回移動停利、最高/低點百分比拉回移動停利、近期K棒高低點移動停利、獲利後拉回保本出場、均線移動停利、轉折高低移動停利、大K棒移動停利、大成交量移動停利、固定點數獲利出場、長K棒獲利出場或是乖離過大拉回出場。 The order plus control system as described in claim 7, wherein the stop-loss / stop-loss condition parameters can be fixed-point stop loss, today's high and low stop loss, recent K-bar high and low point mobile stop loss, today's opening price Stop Loss, High / Low Point Fixed Point Pull Back Mobile Stop, High / Low Percentage Pull Back Mobile Stop, Recent K Stick High and Low Point Mobile Stop, Pull Back to Protected Market After Profit, Moving Average Moving Stop, Turn High and low mobile stop-loss, large K-stick mobile stop-loss, large-volume mobile stop-loss, fixed-point profitable appearance, long K-bar profitable appearance, or pull back too far. 如請求項7所述之下單加碼控管系統,其中該停損/停利單元更包含有一停損模組,該停損模組能夠於該下單交易資料進場後,依據目前的行情交易資料與該停損/停利條件參數,進行判斷該筆下單交易資料進場當下的市場狀況所應設定的出場位置為何,隨著行情發展該停損模組持續判斷商品價格是否觸及停損出場位置,若判斷是,則進行自動出場處理。 The order increase control system as described in claim 7, wherein the stop loss / profit stop unit further includes a stop loss module, which can be based on the current market after the order transaction data is entered into the market. The transaction data and the stop loss / stop profit condition parameters are used to determine the exit position that should be set when the order transaction data is entered into the market. With the development of the market, the stop loss module continues to determine whether the commodity price has reached the stop loss The appearance position, if judged to be yes, automatic appearance processing is performed. 如請求項7所述之下單加碼控管系統,其中該停損/停利單元更包含有一移動停利模組,該移動停利模組能夠於該下單交易資料進場後,依據目前的行情交易資料的發展與該停損/停利條件參數而不斷的移動調整,於目前的行情交易資料的每一個時間點判斷出場價格是否需要更新,同時計算新的出場位置。若移動停利模組判斷行情觸及最新計算的出場位置,則進行自動出場處理。 The order increase control system as described in claim 7, wherein the stop-loss / stop-loss unit further includes a mobile stop-loss module, which can be used after the order transaction data enters the market, based on the current The development of market transaction data and continuous adjustment of the stop loss / stop profit condition parameters determine whether the market price needs to be updated at each time point of the current market transaction data and calculates a new market position. If the mobile stop-loss module determines that the market price has reached the newly calculated exit position, it will automatically perform the exit process. 如請求項7所述之下單加碼控管系統,其中該停損/停利單元更包含有一獲利減碼模組,該獲利減碼模組能夠於該下單交易資料進場後,依據 目前的行情交易資料與該停損/停利條件參數,進行判斷獲利減碼的條件是否達成,若判斷是,則進行自動全部出場或是部份出場處理。 The order increase control system as described in claim 7, wherein the stop loss / profit stop unit further includes a profit reduction module, which can be used after the order transaction data is entered into the market. in accordance with The current market transaction data and the stop-loss / stop-loss condition parameters are used to determine whether the conditions for profit reduction are met. If the judgment is yes, all or part of the market will be processed automatically. 如請求項1所述之下單加碼控管系統,其中該加碼控管條件參數係能夠為可接受最大損失、可接受最小獲利、固定口數加碼、最大口數加碼、加碼口數小於總部位、價格條件符合可加碼或是技術分析條件符合可加碼。 The single code control system as described in claim 1, wherein the code control condition parameters are capable of accepting the maximum loss, accepting the minimum profit, fixed number of codes, maximum number of codes, and number of codes less than the headquarters Bits, price conditions meet the code or technical analysis conditions meet the code.
TW105128042A 2016-08-31 2016-08-31 Order plus code control system TWI611366B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW105128042A TWI611366B (en) 2016-08-31 2016-08-31 Order plus code control system
CN201710155341.XA CN107784584A (en) 2016-08-31 2017-03-16 Ordering and stacking control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105128042A TWI611366B (en) 2016-08-31 2016-08-31 Order plus code control system

Publications (2)

Publication Number Publication Date
TWI611366B true TWI611366B (en) 2018-01-11
TW201807645A TW201807645A (en) 2018-03-01

Family

ID=61437519

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105128042A TWI611366B (en) 2016-08-31 2016-08-31 Order plus code control system

Country Status (2)

Country Link
CN (1) CN107784584A (en)
TW (1) TWI611366B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI787846B (en) * 2021-05-27 2022-12-21 鄭匡祐 Investment transaction system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047590A1 (en) * 2004-08-26 2006-03-02 Timothy Anderson Real-time risk management trading system for professional equity traders with adaptive contingency notification
CN101739646A (en) * 2008-11-18 2010-06-16 英属维京群岛商钜融资本管理股份有限公司 Systematic risk control method, system and computer program product thereof
TW201417025A (en) * 2012-10-16 2014-05-01 Wei-Cheng Chung A computer implemented system and method using graphical interface to construct and execute an order submission strategies
CN104103013A (en) * 2014-07-29 2014-10-15 深圳市富途网络科技有限公司 Versatile information processing method and information interaction equipment thereby

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047590A1 (en) * 2004-08-26 2006-03-02 Timothy Anderson Real-time risk management trading system for professional equity traders with adaptive contingency notification
CN101739646A (en) * 2008-11-18 2010-06-16 英属维京群岛商钜融资本管理股份有限公司 Systematic risk control method, system and computer program product thereof
TW201417025A (en) * 2012-10-16 2014-05-01 Wei-Cheng Chung A computer implemented system and method using graphical interface to construct and execute an order submission strategies
CN104103013A (en) * 2014-07-29 2014-10-15 深圳市富途网络科技有限公司 Versatile information processing method and information interaction equipment thereby

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI787846B (en) * 2021-05-27 2022-12-21 鄭匡祐 Investment transaction system

Also Published As

Publication number Publication date
TW201807645A (en) 2018-03-01
CN107784584A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US11861705B2 (en) System and method for aggressively trading a strategy in an electronic trading environment
TWI649714B (en) Order risk control system
US7672896B2 (en) System and method for order placement in an electronic trading environment
US7707098B2 (en) System and method for money management using a plurality of profit levels in an electronic trading environment
US8706611B2 (en) System and method for use of fractional pay-up ticks in relation to trading strategies in an electronic trading environment
US8266049B2 (en) System and method for smart hedging in an electronic trading environment
KR101195837B1 (en) Guide system for financial goods trading and method of the same
TWI611366B (en) Order plus code control system
TWM539670U (en) Trading mark-up control and management system
CA2514787C (en) System and method for displaying information and using a plurality of profit levels for money management in an electronic trading environment
CN116611927A (en) Data processing method, device, electronic equipment and computer medium