TWI880151B - A timeout check function of an order host and a method thereof - Google Patents
A timeout check function of an order host and a method thereof Download PDFInfo
- Publication number
- TWI880151B TWI880151B TW111150946A TW111150946A TWI880151B TW I880151 B TWI880151 B TW I880151B TW 111150946 A TW111150946 A TW 111150946A TW 111150946 A TW111150946 A TW 111150946A TW I880151 B TWI880151 B TW I880151B
- Authority
- TW
- Taiwan
- Prior art keywords
- order
- information
- time
- timeout
- host
- Prior art date
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
本發明係關於一種金融商品交易系統中的下單主機與逾時檢核的方法,特別是關於一種具備逾時檢核功能的下單主機與利用下單主機執行逾時檢核的方法。The present invention relates to an order placing host and a timeout checking method in a financial commodity trading system, and in particular to an order placing host with a timeout checking function and a method for executing timeout checking using the order placing host.
請參考圖1,圖1係繪示傳統的金融商品交易系統的功能方塊圖。如圖所示,於傳統的金融商品交易系統9中,客戶可以利用各種連網設備(如手機或電腦)中的特定應用程式進行網路下單,所述具有特定應用程式的連網設備可以定義為客戶端90。券商端92接到客戶端90的下單資訊之後,會由內部的風險控制模組920進行風險評估與計算,風險控制模組920再將檢核合格的下單資訊傳送給下單主機922。接著,由下單主機922將檢核合格的下單資訊轉換成委託單,再將委託單傳送給交易所主機94。最後,交易所主機94依據委託單撮合交易,並且產生撮合交易的結果。一般來說,交易所主機94會將撮合交易的結果回報給券商端92,再由券商端92發送通知給客戶端90,使得客戶端90能夠掌握自己的下單是否已經交易成功。Please refer to FIG. 1, which is a functional block diagram of a traditional financial product trading system. As shown in the figure, in a traditional financial product trading system 9, customers can use specific applications in various networked devices (such as mobile phones or computers) to place online orders. The networked devices with specific applications can be defined as client terminals 90. After the broker terminal 92 receives the order information from the client terminal 90, the internal risk control module 920 will perform risk assessment and calculation, and the risk control module 920 will then transmit the verified order information to the order host 922. Then, the order host 922 converts the verified order information into a commission order, and then transmits the commission order to the exchange host 94. Finally, the exchange host 94 matches the transaction according to the order and generates the result of the matching transaction. Generally speaking, the exchange host 94 will report the result of the matching transaction to the brokerage end 92, and then the brokerage end 92 will send a notification to the client end 90, so that the client end 90 can know whether its order has been successfully traded.
然而,傳統的金融商品交易系統9於高頻交易中存在著一些問題,特別是高頻交易的速度相當快,如果因為網路延遲或者各種不可控制的原因,錯過了客戶真正想要交易的時間點,那麼有可能給客戶帶來巨大的損失。因此,為了避免因延遲導致於不正確時間點發生交易,下單主機922可以設定於每一筆委託單加上「取消(cancel)」的時間,之後再將委託單發送給交易所主機94。好處在於,當交易所主機94判斷收到某一筆委託單的時間已經大於「取消」的時間,則交易所主機94便會退回該筆委託單,可以避免客戶非預期的損失。但是,由交易所主機94退回委託單的時間不能保證,於高頻交易中,有可能發生客戶送出新的委託單之後,才發現交易所主機94退回前面的委託單。或者是,客戶端90需要更多的時間才能讓得知前面的委託單是否被接受,導致不容易決策後續該如何下單。據此,證券業者需要一種新的下單主機,讓客戶能夠即時得知下單是否因為延遲而被取消。However, the traditional financial commodity trading system 9 has some problems in high-frequency trading, especially the high-frequency trading speed is very fast. If the time point when the customer really wants to trade is missed due to network delay or various uncontrollable reasons, it may cause huge losses to the customer. Therefore, in order to avoid transactions at incorrect time points due to delays, the order placing host 922 can be set to add a "cancel" time to each order, and then send the order to the exchange host 94. The advantage is that when the exchange host 94 determines that the time of receiving a certain order is greater than the "cancel" time, the exchange host 94 will return the order, which can avoid unexpected losses to customers. However, the time for the exchange host 94 to return the order cannot be guaranteed. In high-frequency trading, it is possible that after the client sends a new order, the exchange host 94 returns the previous order. Or, the client 90 needs more time to know whether the previous order is accepted, which makes it difficult to decide how to place the next order. Therefore, securities companies need a new order placing host that allows customers to immediately know whether the order is cancelled due to delay.
本發明提供了一種具備逾時檢核功能的下單主機,可以預判斷客戶端的下單資訊是否會被交易所主機取消,從而把會被交易所主機取消的下單資訊攔截下來並回報給客戶端。The present invention provides an order placing host with a timeout checking function, which can predict whether the order placing information of the client will be cancelled by the exchange host, thereby intercepting the order placing information that will be cancelled by the exchange host and reporting it to the client.
本發明提出一種具備逾時檢核功能的下單主機,用於一金融商品交易系統,所述下單主機包含逾時檢核模組、委託單轉換模組、傳輸模組以及逾時回報模組。所述逾時檢核模組接收來自客戶端的下單資訊,並判斷下單資訊的延遲時間是否超過預設門檻值。所述委託單轉換模組電性連接逾時檢核模組,當下單資訊的延遲時間未超過預設門檻值,將下單資訊轉換為客戶委託單。所述傳輸模組電性連接委託單轉換模組,用以將客戶委託單傳輸至交易所主機。所述逾時回報模組電性連接逾時檢核模組,當下單資訊的該延遲時間已超過預設門檻值,產生關聯於下單資訊的退單資訊,並將退單資訊回報給客戶端。The present invention proposes an order placing host with a timeout check function, which is used in a financial commodity trading system. The order placing host includes a timeout check module, a commission order conversion module, a transmission module and a timeout reporting module. The timeout check module receives order information from a client and determines whether the delay time of the order information exceeds a preset threshold value. The commission order conversion module is electrically connected to the timeout check module. When the delay time of the order information does not exceed the preset threshold value, the order information is converted into a customer commission order. The transmission module is electrically connected to the commission order conversion module to transmit the customer commission order to the exchange host. The timeout reporting module is electrically connected to the timeout checking module. When the delay time of the order information exceeds the preset threshold value, return order information related to the order information is generated and the return order information is reported to the client.
於一些實施例中,當下單資訊的延遲時間已超過預設門檻值,委託單轉換模組不將下單資訊轉換為客戶委託單。並且,逾時回報模組產生的退單資訊不經過傳輸模組。此外,當下單資訊的延遲時間已超過預設門檻值,逾時檢核模組產生退單命令,逾時回報模組依據退單命令產生關聯於下單資訊的退單資訊。另外,客戶端給出下單資訊的時間可以定義為第一時間,逾時檢核模組接收下單資訊的時間可以定義為第二時間,下單資訊的延遲時間為第一時間與第二時間的時間差。In some embodiments, when the delay time of the order information exceeds the preset threshold value, the entrustment order conversion module does not convert the order information into a customer entrustment order. Moreover, the return order information generated by the timeout reporting module does not pass through the transmission module. In addition, when the delay time of the order information exceeds the preset threshold value, the timeout verification module generates a return order command, and the timeout reporting module generates return order information related to the order information according to the return order command. In addition, the time when the client provides the order information can be defined as the first time, and the time when the timeout verification module receives the order information can be defined as the second time, and the delay time of the order information is the time difference between the first time and the second time.
本發明提供了一種利用下單主機執行逾時檢核的方法,可以預判斷客戶端的下單資訊是否會被交易所主機取消,從而把會被交易所主機取消的下單資訊攔截下來並回報給客戶端。The present invention provides a method for performing timeout checking using an order placing host, which can predict whether the order information of the client will be cancelled by the exchange host, thereby intercepting the order information that will be cancelled by the exchange host and reporting it to the client.
本發明提出一種利用下單主機執行逾時檢核的方法,用於金融商品交易系統,所述方法包含下列步驟。由下單主機接收來自客戶端的下單資訊,並判斷下單資訊的延遲時間是否超過預設門檻值。當下單資訊的延遲時間未超過預設門檻值,將下單資訊轉換為客戶委託單,並將客戶委託單傳輸至交易所主機。以及,當下單資訊的該延遲時間已超過預設門檻值,產生關聯於下單資訊的退單資訊,並將退單資訊回報給客戶端。The present invention proposes a method for performing timeout check using an order placing host, which is used in a financial product trading system, and the method comprises the following steps. The order placing host receives order information from a client, and determines whether the delay time of the order placing information exceeds a preset threshold value. When the delay time of the order placing information does not exceed the preset threshold value, the order placing information is converted into a customer entrustment order, and the customer entrustment order is transmitted to the exchange host. And, when the delay time of the order placing information exceeds the preset threshold value, return order information related to the order placing information is generated, and the return order information is reported to the client.
於一些實施例中,當下單資訊的該延遲時間已超過預設門檻值,下單資訊不轉換為客戶委託單。此外,當下單資訊的該延遲時間已超過預設門檻值,可以由逾時檢核模組產生退單命令,並可以由逾時回報模組依據退單命令產生關聯於下單資訊的退單資訊。另外,客戶端給出下單資訊的時間可以定義為第一時間,逾時檢核模組接收下單資訊的時間可以定義為第二時間,下單資訊的延遲時間為第一時間與第二時間的時間差。In some embodiments, when the delay time of the order information exceeds the preset threshold value, the order information is not converted into a customer commission order. In addition, when the delay time of the order information exceeds the preset threshold value, the timeout verification module may generate a return order command, and the timeout reporting module may generate return order information related to the order information according to the return order command. In addition, the time when the client provides the order information may be defined as the first time, and the time when the timeout verification module receives the order information may be defined as the second time, and the delay time of the order information is the time difference between the first time and the second time.
綜上所述,本發明提出的具備逾時檢核功能的下單主機與利用下單主機執行逾時檢核的方法,可以檢查下單資訊的延遲時間是否已經超過了預設門檻值。如果延遲時間超過了預設門檻值,表示下單主機判斷交易所主機將會取消此筆下單資訊的委託單,那麼下單主機便不再將此下單資訊轉換成委託單,而是自動退回給客戶端,讓客戶端能夠更快地掌握下單資訊被取消的訊息。In summary, the order placing host with timeout checking function and the method for performing timeout checking using the order placing host proposed by the present invention can check whether the delay time of the order placing information has exceeded the preset threshold value. If the delay time exceeds the preset threshold value, it means that the order placing host determines that the exchange host will cancel the order of this order placing information, then the order placing host will no longer convert this order placing information into a commission order, but will automatically return it to the client, so that the client can quickly grasp the information that the order placing information has been cancelled.
下文將進一步揭露本發明之特徵、目的及功能。然而,以下所述者,僅為本發明之實施例,當不能以之限制本發明之範圍,即但凡依本發明申請專利範圍所作之均等變化及修飾,仍將不失為本發明之要意所在,亦不脫離本發明之精神和範圍,故應將視為本發明的進一步實施態樣。The following will further disclose the features, purpose and function of the present invention. However, what is described below is only an embodiment of the present invention and should not be used to limit the scope of the present invention. That is, any equivalent changes and modifications made within the scope of the patent application of the present invention will still be the gist of the present invention and will not deviate from the spirit and scope of the present invention, so they should be regarded as further embodiments of the present invention.
請一併參閱圖2與圖3,圖2係繪示依據本發明一實施例之金融商品交易系統的功能方塊圖,圖3係繪示依據本發明一實施例之下單主機的功能方塊圖。如圖所示,本實施例的金融商品交易系統1係描述了在客戶端10、券商端12以及交易所主機14之間的交易行為,客戶端10可以有線或無線地電性連接到券商端12,而券商端12及交易所主機14之間通常會利用實體的交易線路進行連線。當然,本實施例在此不限制客戶端10、券商端12以及交易所主機14之間的連線方式。在此,本實施例所稱的客戶端10係指欲交易金融商品的使用者所操作的連網設備,所述連網設備可以利用特定應用程式向券商端12發送下單資訊,並且從券商端12接收交易的結果。券商端12包含有風險控制模組120以及下單主機122,當然本實施例不限制券商端12的內部架構,例如券商端12還可以包含配單主機或者資料庫等設備。於所屬技術領域具有通常知識者應可以了解,客戶端10以及交易所主機14的運作機制,本實施例便不做過多的描述。Please refer to FIG. 2 and FIG. 3 together. FIG. 2 is a functional block diagram of a financial product trading system according to an embodiment of the present invention, and FIG. 3 is a functional block diagram of an order placing host according to an embodiment of the present invention. As shown in the figure, the financial product trading system 1 of the present embodiment describes the trading behavior between the client 10, the brokerage terminal 12 and the exchange host 14. The client 10 can be electrically connected to the brokerage terminal 12 by wire or wirelessly, and the brokerage terminal 12 and the exchange host 14 are usually connected by a physical trading line. Of course, the present embodiment does not limit the connection method between the client 10, the brokerage terminal 12 and the exchange host 14. Here, the client terminal 10 referred to in this embodiment refers to a networked device operated by a user who wants to trade financial products. The networked device can use a specific application to send order information to the broker terminal 12 and receive the transaction results from the broker terminal 12. The broker terminal 12 includes a risk control module 120 and an order host 122. Of course, this embodiment does not limit the internal structure of the broker terminal 12. For example, the broker terminal 12 can also include an order matching host or a database. A person with ordinary knowledge in the relevant technical field should be able to understand the operating mechanism of the client terminal 10 and the exchange host 14, so this embodiment will not describe it in detail.
有別於傳統的下單主機,本實施例的下單主機122包含了逾時檢核模組1220、逾時回報模組1222、委託單轉換模組1224以及傳輸模組1226,逾時檢核模組1220分別電性連接逾時回報模組1222和委託單轉換模組1224,傳輸模組1226電性連接委託單轉換模組1224,並且傳輸模組1226可以與交易所主機14傳輸信息。詳細來說,券商端12中的風險控制模組120會檢核客戶端10給出的下單資訊,例如計算所需要的保證金。當下單資訊被風險控制模組120檢核完畢,通過檢核的下單資訊便會傳送給下單主機122。在此,委託單轉換模組1224的功能是轉換交易所主機14可以辨識的委託單格式,即委託單轉換模組1224可以把通過檢核的下單資訊轉換成正式的客戶委託單。接著,傳輸模組1226再將客戶委託單提供給交易所主機14。本實施例的逾時檢核模組1220和逾時回報模組1222的功能於後詳細描述。Different from the traditional order placing host, the order placing host 122 of this embodiment includes a timeout checking module 1220, a timeout reporting module 1222, a commission order conversion module 1224 and a transmission module 1226. The timeout checking module 1220 is electrically connected to the timeout reporting module 1222 and the commission order conversion module 1224, respectively, and the transmission module 1226 is electrically connected to the commission order conversion module 1224, and the transmission module 1226 can transmit information with the exchange host 14. In detail, the risk control module 120 in the brokerage end 12 will check the order placing information provided by the client end 10, such as calculating the required margin. When the order information is checked by the risk control module 120, the checked order information will be transmitted to the order host 122. Here, the function of the order conversion module 1224 is to convert the order format that can be recognized by the exchange host 14, that is, the order conversion module 1224 can convert the checked order information into a formal customer order. Then, the transmission module 1226 provides the customer order to the exchange host 14. The functions of the timeout check module 1220 and the timeout report module 1222 of this embodiment are described in detail later.
實務上,客戶端10給出下單資訊後,會透過有線或無線的連網手段把下單資訊提供給券商端12。然而,傳送下單資訊的過程是有可能發生非預期的延遲的,例如客戶端10的運算效能不足或客戶端10的連網品質較差等因素,都可能讓券商端12無法及時收到下單資訊。特別是每秒可能提供數十次到數百次下單資訊的高頻交易,更是有可能因為上述的延遲而導致錯過了客戶真正想要交易的時間點。傳統上,為了避免因延遲導致於不正確時間點發生交易,券商可以設定下單主機的「取消(cancel)」的時間。本實施例在此基礎上,加上了逾時檢核模組1220來檢測下單資訊的延遲時間。於一個例子中,逾時檢核模組1220檢測的是客戶端10給出下單資訊的時間(第一時間),以及逾時檢核模組1220收到通過檢核的下單資訊的時間(第二時間)。上述第一時間和第二時間的時間差,即為此筆通過檢核的下單資訊的延遲時間,而本實施例的逾時檢核模組1220即是比對上述延遲時間和預先設定好的下單主機的「取消」時間(預設門檻值)。In practice, after the client 10 provides the order information, it will provide the order information to the broker 12 through a wired or wireless network. However, the process of transmitting the order information may be subject to unexpected delays. For example, factors such as insufficient computing performance of the client 10 or poor network quality of the client 10 may prevent the broker 12 from receiving the order information in a timely manner. In particular, for high-frequency transactions that may provide order information dozens to hundreds of times per second, it is even more likely that the time point when the client really wants to trade will be missed due to the above delay. Traditionally, in order to avoid transactions at incorrect times due to delays, brokers can set a "cancel" time for the order host. On this basis, the present embodiment adds a timeout check module 1220 to detect the delay time of the order information. In an example, the timeout check module 1220 detects the time when the client 10 provides the order information (first time) and the time when the timeout check module 1220 receives the order information that has passed the check (second time). The time difference between the first time and the second time is the delay time of the order information that has passed the check, and the timeout check module 1220 of the present embodiment compares the delay time with the pre-set "cancellation" time (preset threshold value) of the order host.
以一個實際例子來說明,假設某一筆通過檢核的下單資訊的延遲時間已經超過了預設的「取消」時間,則於所屬技術領域具有通常知識者可以理解,縱使委託單轉換模組1224將此筆通過檢核的下單資訊轉換成客戶委託單,傳輸模組1226再將客戶委託單提供給交易所主機14,交易所主機14也會因為超過「取消」時間而退回此筆客戶委託單。也就是說,逾時檢核模組1220的功能是檢查是否有下單資訊的延遲時間已經超過了預設門檻值,或說逾時檢核模組1220檢查是否有已知會被交易所主機14退回的下單資訊。如果逾時檢核模組1220發現了已知會被交易所主機14退回的下單資訊,則這一筆下單資訊不會再進到委託單轉換模組1224轉換成客戶委託單,也當然不會再經由傳輸模組1226給交易所主機14。於本實施例中,逾時檢核模組1220會把已知會被交易所主機14退回的下單資訊改傳給逾時回報模組1222,由逾時回報模組1222直接產生退單資訊,所述退單資訊指示了這一筆下單資訊被退回的結果。實務上,逾時檢核模組1220發現有下單資訊的延遲時間已經超過了預設門檻值,則會產生退單命令,由逾時回報模組1222依據退單命令產生關聯於此筆下單資訊的退單資訊。另外,本實施例不限制退單資訊的內容,例如逾時回報模組1222可以只是把延遲過久的下單資訊退回去給客戶端10,即退單資訊可以是原本的下單資訊。或者,逾時回報模組1222也可以只把足以識別某一筆下單資訊的內容回傳給客戶端10,例如退單資訊可以標示對應的下單資訊的下單編號或下單時間等。To illustrate with an actual example, assuming that the delay time of a verified order information has exceeded the preset "cancel" time, a person with ordinary knowledge in the relevant technical field can understand that even if the order conversion module 1224 converts the verified order information into a customer order, and the transmission module 1226 provides the customer order to the exchange host 14, the exchange host 14 will return the customer order because it exceeds the "cancel" time. In other words, the function of the timeout check module 1220 is to check whether the delay time of the order information has exceeded the preset threshold value, or to say, the timeout check module 1220 checks whether there is order information that is known to be returned by the exchange host 14. If the timeout check module 1220 finds order information that is known to be returned by the exchange host 14, the order information will not be transferred to the order conversion module 1224 to be converted into a customer order, and will certainly not be sent to the exchange host 14 via the transmission module 1226. In this embodiment, the timeout check module 1220 will transfer the order information that is known to be returned by the exchange host 14 to the timeout reporting module 1222, which will directly generate return order information indicating the result that the order information has been returned. In practice, if the timeout check module 1220 finds that the delay time of the order information has exceeded the preset threshold value, it will generate a return order command, and the timeout reporting module 1222 will generate return order information related to this order information according to the return order command. In addition, this embodiment does not limit the content of the return order information. For example, the timeout reporting module 1222 can only return the order information that is delayed too long to the client 10, that is, the return order information can be the original order information. Alternatively, the timeout reporting module 1222 can also only return the content sufficient to identify a certain order information to the client 10, for example, the return order information can indicate the order number or order time of the corresponding order information.
於所屬技術領域具有通常知識者可以理解,本實施例在下單主機122預先攔截了延遲過久的下單資訊,從而不需要委託單轉換模組1224處理無實際意義的下單資訊(因為已知會被交易所主機14退回),可以省下委託單轉換模組1224的處理資源。同時,傳輸模組1226也不用傳輸無實際意義的客戶委託單(已知會被交易所主機14退回),省下了傳輸模組1226到交易所主機14之間往返的傳輸頻寬。此外,因為不用等待交易所主機14退回客戶委託單,而是改由逾時回報模組1222產生退單資訊,可以加快客戶端10取得退單資訊而得知下單未成功的訊息,減少客戶端10於高頻交易中未即時發現下單未成功而導致的損失。由實際的測試例子來說,傳輸模組1226傳輸一個客戶委託單給交易所主機14,而交易所主機14判斷此筆客戶委託單的延遲時間已經超過了預設門檻值,再退回此筆客戶委託單給傳輸模組1226的時間大約需要5ms。由上述可知,本實施例改良後的下單主機122藉由預先判斷下單資訊是否延遲過久,至少可以提前5ms回報給客戶端10,無疑是直接優化了整體金融商品交易系統1下單與回報的速度。It is understood by those skilled in the art that in this embodiment, the order placing host 122 pre-intercepts the order placing information that is delayed for too long, so that the order conversion module 1224 does not need to process the order placing information that is meaningless (because it is known that it will be returned by the exchange host 14), which can save the processing resources of the order conversion module 1224. At the same time, the transmission module 1226 does not need to transmit the customer order that is meaningless (because it is known that it will be returned by the exchange host 14), which saves the transmission bandwidth between the transmission module 1226 and the exchange host 14. In addition, because there is no need to wait for the exchange host 14 to return the customer order, but the timeout reporting module 1222 generates the order return information, the client 10 can obtain the order return information faster and learn the message that the order was not successfully placed, reducing the loss caused by the client 10 not immediately discovering the order failure in high-frequency transactions. From an actual test example, the transmission module 1226 transmits a customer order to the exchange host 14, and the exchange host 14 determines that the delay time of this customer order has exceeded the preset threshold value, and it takes about 5ms to return this customer order to the transmission module 1226. As can be seen from the above, the improved order placing host 122 of this embodiment can report to the client 10 at least 5ms in advance by pre-determining whether the order information is delayed for too long, which undoubtedly directly optimizes the order placing and reporting speed of the entire financial product trading system 1.
另一方面,本實施例於下單主機122中判斷下單資訊是否延遲過久,亦有其實務上的意義。於一個例子中,客戶端10本身的延遲、客戶端10到風險控制模組120的傳輸延遲以及風險控制模組120的處理延遲,往往是下單資訊是否延遲過久的原因。據此,本實施例提出的逾時檢核模組1220係判斷經過風險控制模組120檢核的下單資訊,已經可以預先過濾出大部分延遲過久的下單資訊。當然,本實施例不更動原本的交易所主機14的處理機制,例如交易所主機14還是可以再收到客戶委託單時,判斷此筆客戶委託單有沒有超過預設的「取消」時間。若是傳輸模組1226到交易所主機14之間的交易線路出現故障,導致傳輸上發生延遲,交易所主機14還是能夠退回超過預設的「取消」時間的客戶委託單。此時,被交易所主機14退回的客戶委託單可以由傳統的回報路徑提供給客戶端10,本實施例不再贅述。On the other hand, the present embodiment determines whether the order information is delayed for too long in the order host 122, which also has practical significance. In an example, the delay of the client 10 itself, the transmission delay from the client 10 to the risk control module 120, and the processing delay of the risk control module 120 are often the reasons for whether the order information is delayed for too long. Accordingly, the timeout check module 1220 proposed in the present embodiment determines the order information that has been checked by the risk control module 120, and can filter out most of the order information that is delayed for too long in advance. Of course, this embodiment does not change the original processing mechanism of the exchange host 14. For example, the exchange host 14 can still determine whether the customer order exceeds the preset "cancellation" time when receiving the customer order. If the transaction line between the transmission module 1226 and the exchange host 14 fails, resulting in a delay in transmission, the exchange host 14 can still return the customer order that exceeds the preset "cancellation" time. At this time, the customer order returned by the exchange host 14 can be provided to the client 10 through the traditional return path, and this embodiment will not be repeated.
為了清楚說明本發明的利用下單主機執行逾時檢核的方法,請一併參閱圖2到圖4,圖4係繪示依據本發明一實施例之利用下單主機執行逾時檢核的方法的步驟流程圖。如圖所示,本實施例利用下單主機執行逾時檢核的方法,同樣用於金融商品交易系統1。於步驟S20中,下單主機122會接收來自客戶端10的下單資訊,並且下單主機122內的逾時檢核模組1220可以判斷下單資訊的延遲時間是否超過預設門檻值。當逾時檢核模組1220判斷下單資訊的延遲時間尚未超過預設門檻值,則可以由下單主機122內的委託單轉換模組1224將下單資訊轉換為客戶委託單,並可以由下單主機122內的傳輸模組1226將客戶委託單傳輸至交易所主機14。以及,當逾時檢核模組1220判斷下單資訊的延遲時間已超過預設門檻值,逾時檢核模組1220會指示逾時回報模組1222產生關聯於下單資訊的退單資訊,並由逾時回報模組1222將退單資訊回報給客戶端10。In order to clearly explain the method of using the order host to perform timeout checking of the present invention, please refer to Figures 2 to 4. Figure 4 is a flow chart of the steps of the method of using the order host to perform timeout checking according to an embodiment of the present invention. As shown in the figure, the method of using the order host to perform timeout checking of the present embodiment is also used in the financial product trading system 1. In step S20, the order host 122 receives the order information from the client 10, and the timeout checking module 1220 in the order host 122 can determine whether the delay time of the order information exceeds the preset threshold value. When the timeout check module 1220 determines that the delay time of the order information has not exceeded the preset threshold value, the order information can be converted into a customer order by the order conversion module 1224 in the order host 122, and the customer order can be transmitted to the exchange host 14 by the transmission module 1226 in the order host 122. In addition, when the timeout check module 1220 determines that the delay time of the order information has exceeded the preset threshold value, the timeout check module 1220 will instruct the timeout reporting module 1222 to generate return order information associated with the order information, and the timeout reporting module 1222 will report the return order information to the client 10.
綜上所述,本發明提出的具備逾時檢核功能的下單主機與利用下單主機執行逾時檢核的方法,可以檢查下單資訊的延遲時間是否已經超過了預設門檻值。如果延遲時間超過了預設門檻值,表示下單主機判斷交易所主機將會取消此筆下單資訊的委託單,那麼下單主機便不再將此下單資訊轉換成委託單,而是自動退回給客戶端,讓客戶端能夠更快地掌握下單資訊被取消的訊息。In summary, the order placing host with timeout checking function and the method for performing timeout checking using the order placing host proposed by the present invention can check whether the delay time of the order placing information has exceeded the preset threshold value. If the delay time exceeds the preset threshold value, it means that the order placing host determines that the exchange host will cancel the order of this order placing information, then the order placing host will no longer convert this order placing information into a commission order, but will automatically return it to the client, so that the client can quickly grasp the information that the order placing information has been cancelled.
1:金融商品交易系統 10:客戶端 12:券商端 120:風險控制模組 122:下單主機 1220:逾時檢核模組 1222:逾時回報模組 1224:委託單轉換模組 1226:傳輸模組 14:交易所主機 9:金融商品交易系統 90:客戶端 92:券商端 920:風險控制模組 922:下單主機 94:交易所主機 S20~S24:步驟流程1: Financial commodity trading system 10: Client 12: Brokerage side 120: Risk control module 122: Order host 1220: Timeout verification module 1222: Timeout report module 1224: Order conversion module 1226: Transmission module 14: Exchange host 9: Financial commodity trading system 90: Client 92: Brokerage side 920: Risk control module 922: Order host 94: Exchange host S20~S24: Step flow
圖1係繪示傳統的金融商品交易系統的功能方塊圖。FIG1 is a functional block diagram of a traditional financial product trading system.
圖2係繪示依據本發明一實施例之金融商品交易系統的功能方塊圖。FIG. 2 is a functional block diagram of a financial product trading system according to an embodiment of the present invention.
圖3係繪示依據本發明一實施例之下單主機的功能方塊圖。FIG. 3 is a functional block diagram of a single host according to an embodiment of the present invention.
圖4係繪示依據本發明一實施例之利用下單主機執行逾時檢核的方法的步驟流程圖。FIG. 4 is a flow chart showing a method for performing timeout checking using an order placing host according to an embodiment of the present invention.
S20~S24:步驟流程 S20~S24: Step flow
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111150946A TWI880151B (en) | 2022-12-30 | 2022-12-30 | A timeout check function of an order host and a method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW111150946A TWI880151B (en) | 2022-12-30 | 2022-12-30 | A timeout check function of an order host and a method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202427339A TW202427339A (en) | 2024-07-01 |
| TWI880151B true TWI880151B (en) | 2025-04-11 |
Family
ID=92928900
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111150946A TWI880151B (en) | 2022-12-30 | 2022-12-30 | A timeout check function of an order host and a method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI880151B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102246194A (en) * | 2008-11-10 | 2011-11-16 | 索莫亚私人有限公司 | Improved automated trading system |
| US20160110806A1 (en) * | 2014-10-16 | 2016-04-21 | Software Ag | Systems and/or methods for automatic ordering of pre-trade order evaluations |
| US20220261899A1 (en) * | 2021-02-16 | 2022-08-18 | Exegy Incorporated | Methods and Systems for Low Latency Automated Trading Using a Canceling Strategy |
| TWM634399U (en) * | 2022-05-19 | 2022-11-21 | 富邦期貨股份有限公司 | Features immediately trading system |
-
2022
- 2022-12-30 TW TW111150946A patent/TWI880151B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102246194A (en) * | 2008-11-10 | 2011-11-16 | 索莫亚私人有限公司 | Improved automated trading system |
| US20160110806A1 (en) * | 2014-10-16 | 2016-04-21 | Software Ag | Systems and/or methods for automatic ordering of pre-trade order evaluations |
| US20220261899A1 (en) * | 2021-02-16 | 2022-08-18 | Exegy Incorporated | Methods and Systems for Low Latency Automated Trading Using a Canceling Strategy |
| TWM634399U (en) * | 2022-05-19 | 2022-11-21 | 富邦期貨股份有限公司 | Features immediately trading system |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202427339A (en) | 2024-07-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12112372B2 (en) | System and method for error detection and recovery in an electronic trading system | |
| US8832211B1 (en) | Messaging methods and apparatus for use with an exchange system and/or client devices | |
| CN112446786A (en) | Abnormal transaction processing method and device, electronic equipment and readable storage medium | |
| US20250016130A1 (en) | Techniques to provide streaming data resiliency utilizing a distributed message queue system | |
| US20060294228A1 (en) | Systems and methods for preventing server overload | |
| CN110011875A (en) | Dial-testing method, apparatus, device and computer-readable storage medium | |
| CN112381645A (en) | Information processing method and device for bill transaction | |
| US20090313160A1 (en) | Hardware accelerated exchange order routing appliance | |
| CN114757778A (en) | Foreign exchange flat disc method, device, electronic equipment and medium | |
| TWI880151B (en) | A timeout check function of an order host and a method thereof | |
| CN118279007A (en) | Order host with timeout checking function and timeout checking method | |
| CN109978317A (en) | Abnormal transaction processing method, interaction platform and computer readable storage medium | |
| CN120602545A (en) | A method and device for implementing application atomic fusion orchestration based on OPENAPI | |
| CN103944817A (en) | Message transferring method, message transferring device and terminal device in online system | |
| CN115421933B (en) | A method, device and storage medium for intelligent processing of UnionPay payment transactions | |
| CN110942298A (en) | Payment data transmission control method and device, electronic equipment and storage medium | |
| US11520802B2 (en) | Systems and methods for data format conversion | |
| CN113076340A (en) | Accounting data processing method and device, electronic equipment and storage medium | |
| CN112288416A (en) | Fault processing method, device and system, electronic equipment and storage medium | |
| CN115327278B (en) | A method, device, equipment and medium for determining the type of power distribution terminal fault | |
| TWM674900U (en) | Transaction Authorization System | |
| TWI832344B (en) | Review trading system | |
| CN111078433B (en) | Merchant notification sending method and device and electronic equipment | |
| CN116755963A (en) | Abnormal ejection method and device, electronic equipment and readable storage medium | |
| TWM666990U (en) | Reservation Transaction Management System |