TWM565354U - Multi-currency liquidating system - Google Patents
Multi-currency liquidating system Download PDFInfo
- Publication number
- TWM565354U TWM565354U TW107201199U TW107201199U TWM565354U TW M565354 U TWM565354 U TW M565354U TW 107201199 U TW107201199 U TW 107201199U TW 107201199 U TW107201199 U TW 107201199U TW M565354 U TWM565354 U TW M565354U
- Authority
- TW
- Taiwan
- Prior art keywords
- transaction
- currency
- account
- amount
- command
- Prior art date
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本創作係一種多貨幣之清算系統,係由清算伺服裝置計算每一 帳戶各自之第一幣別應收付金額及第二幣別應收付金額,並依據第一幣別應收付金額、第二幣別應收付金額及每一帳戶各自之第一幣別第一帳戶金額及第二幣別第一帳戶金額判斷是否可將交易命令互相抵銷之多幣別交易之清算之方法,藉由本方法減少交易者在多幣別交易時的流動性資金風險。 This creation is a multi-currency clearing system, which is calculated by the clearing servo. The first currency receivable amount and the second currency receivable amount of each account, based on the first currency receivable amount, the second currency receivable amount and the first currency of each account The first account amount and the second currency first account amount determine whether the transaction order can offset the multi-currency transaction clearing method, and the method reduces the liquidity risk of the trader in the multi-currency transaction.
Description
本創作係有關於一種多幣別交易之清算之系統,特別係有關於計算每一帳戶各自之第一幣別應收付金額及第二幣別應收付金額,並依據第一幣別應收付金額、第二幣別應收付金額及每一帳戶各自之第一幣別第一帳戶金額及第二幣別第一帳戶金額判斷是否可將交易命令互相抵銷之多幣別交易之清算之系統。 This creation is about a clearing system for multi-currency transactions, in particular for calculating the first currency receivable amount and the second currency receivable amount for each account, and based on the first currency. The amount of the receipt, the amount of the second currency and the amount of the first account of each account and the amount of the first account of the second currency of each account to determine whether the transaction order can offset the multi-currency transaction The system of liquidation.
因應全球金融市場的發展,國際間貿易的往來量增加,使得金融交易量也隨之增加,因此,各家金融機構與清算系統之間的資訊傳遞更為緊密。 In response to the development of the global financial market, the volume of international trade has increased, and the amount of financial transactions has also increased. Therefore, the information transmission between financial institutions and clearing systems is closer.
所謂的清算系統是指國家或地區對經濟活動所產生的交易者之間或金融機構之間的債權債務關係進行清償的一種系統,用以提供貨幣的轉移服務,亦即將A帳戶中之部分金額轉移到B帳戶中。 The so-called clearing system refers to a system in which a country or region pays off the creditor-debtor relationship between traders or financial institutions generated by economic activities, and provides a money transfer service, which is also a part of the amount in the A account. Transfer to the B account.
清算系統亦可以提供不同幣別之間的交易,例如A銀行以第一幣別向B銀行購買第二幣別,則清算系統可以將A銀行之帳戶中之第一幣別轉移至B銀行之帳戶中,並將B銀行之帳戶中之第二幣別轉移至A銀行之帳戶中。 The clearing system can also provide transactions between different currencies. For example, Bank A can purchase the second currency from Bank B in the first currency, and the clearing system can transfer the first currency in the account of Bank A to Bank B. In the account, transfer the second currency in the account of Bank B to the account of Bank A.
在現行方法下,當有交易命令進入清算系統時,清算系統會依據交易命令之一交易金額檢查交易命令所對應之一第一帳戶之金額是否足夠,當交易帳戶之金額足夠時,清算系統依據交易命令之交易金額從第一帳戶中匯出相應於交易金額之金額至一第二帳戶中,即可完成交易作業。 Under the current method, when a transaction order enters the clearing system, the clearing system checks whether the amount of the first account corresponding to the transaction command is sufficient according to the transaction amount of one of the transaction orders. When the amount of the transaction account is sufficient, the clearing system is based on The transaction amount of the transaction order is remitted from the first account to the amount corresponding to the transaction amount to a second account, and the transaction operation can be completed.
然而,在現行方法下若是第一帳戶之金額不足時,則清算系統會一直讓交易命令保留在交易佇列中等到有其他金額匯入第一帳戶,使得第一帳戶之金額足夠時才將此交易命令由交易佇列中取出並完成交易之作業,在此同時,若有其他交易命令進入清算系統,則清算系統則將後續進入清算系統之交易命令保留在交易佇列中,直到交易佇列中第一筆交易命令執行完成後才執行後續之交易命令,亦或是當匯出帳戶之金額不足時清算系統直接拒絕此交易命令,並發出拒絕資訊至此交易命令之發送者之電子裝置上,讓發送者在交易帳戶金額足夠再自行重新發送交易命令。 However, if the amount of the first account is insufficient under the current method, the clearing system will keep the transaction order in the transaction queue until another amount is transferred to the first account, so that the amount of the first account is sufficient. The transaction command is taken out of the transaction queue and the transaction is completed. At the same time, if other transaction commands enter the clearing system, the clearing system keeps the subsequent trading orders entering the clearing system in the transaction queue until the transaction queue The subsequent transaction order is executed after the execution of the first transaction order is completed, or the clearing system directly rejects the transaction order when the amount of the remitted account is insufficient, and sends an electronic device that rejects the information to the sender of the transaction order. Allow the sender to resend the transaction command on their own in the transaction account amount.
由於現行的方法會一直到交易佇列中第一筆交易命令執行完成後才執行交易佇列中其他之交易命令,或者是會直接拒絕交易命令,會使得交易者的現金匯出及現金匯入不一致,而造成交易者的流動性資金風險。 Since the current method will not execute other trading orders in the trading queue until the execution of the first trading order in the trading queue, or directly reject the trading order, the trader's cash remittance and cash remittance will be made. Inconsistent, resulting in the liquidity of the trader's liquidity risk.
本創作之主要目的,係提供一種多貨幣之清算系統,藉由清算伺服器計算每一帳戶各自之第一幣別應收付金額及第二幣別應收 付金額,並依據第一幣別應收付金額、第二幣別應收付金額及每一帳戶各自之第一幣別第一帳戶金額及第二幣別第一帳戶金額判斷是否可將交易命令互相抵銷之多幣別交易之清算之方法。 The main purpose of this creation is to provide a multi-currency clearing system for calculating the first currency receivable amount and the second currency receivable for each account by the clearing server. The amount to be paid, and based on the first currency receivable amount, the second currency receivable amount and the first currency first account amount of each account and the second currency first account amount, whether the transaction can be determined The method of liquidation of multiple currency transactions that are mutually offset by orders.
為達上述之指稱之各目的與功效,本創作之一實施例係揭示一種多貨幣之清算系統,其包含:一清算伺服裝置含有複數個交易命令,該清算伺服裝置依據該些個交易命令取得複數個交易命令組,每一該交易命令組包含一第一交易命令及一第二交易命令,其中該第一交易命令之一匯出帳戶對應該第二交易命令之一交易帳戶,該第一交易命令之一交易帳戶對應該第二交易命令之一匯出帳戶,該第一交易命令之一第一幣別匯出金額對應該第二交易命令之一第一幣別交易金額,該第一交易命令之一第二幣別交易金額對應該第二交易命令之一第二幣別匯出金額,該清算伺服裝置依據該些個交易命令組各自之該第一交易命令及該第二交易命令計算取得複數個帳戶各自之一第一幣別應收付金額及一第二幣別應收付金額,該清算伺服裝置依據該些個帳戶各自之該第一幣別應收付金額及一第一幣別第一帳戶金額計算取得該些個帳戶各自之一第二幣別試算金額,並依據該些個帳戶各自之該第二幣別應收付金額及一第二幣別第一帳戶金額計算取得該些個帳戶各自之一第二幣別試算金額,當該些個帳戶各自之該第一幣別試算金額及該第二幣別試算金額皆不小於零時,該清算伺服裝置依據該些個帳戶各自之該第一幣別應收付金額及該些個帳戶各自之該第一幣別第一帳戶金額計算取得該些個帳戶各自之一第一幣別第二帳戶金額,並依據該些個帳戶各自之該第二幣別應收付金額及該些個帳戶各自之該第二幣別第一帳戶金額計算取得該些個帳戶各自之一第二幣別第二帳戶金額。 In order to achieve the above-mentioned various purposes and effects, one embodiment of the present invention discloses a multi-currency clearing system comprising: a clearing servo device comprising a plurality of transaction commands, the clearing servo device obtaining the transaction commands according to the plurality of transaction commands a plurality of transaction command groups, each of the transaction command groups including a first transaction command and a second transaction command, wherein one of the first transaction commands remits an account corresponding to one of the second transaction commands, the first One of the trading orders corresponds to one of the second trading orders, and the first currency order remittance amount corresponds to one of the second trading orders, the first currency transaction amount, the first One of the transaction orders, the second currency transaction amount corresponding to one of the second transaction orders, the second currency remittance amount, the clearing servo device according to the first transaction command and the second transaction command of each of the plurality of transaction command groups Calculating a first currency receivable amount and a second currency receivable amount for each of the plurality of accounts, the clearing server according to each of the accounts Calculating the amount of the second currency of each of the accounts in accordance with the amount of the currency receivable and the amount of the first account of the first currency, and based on the respective second currency receivables of the respective accounts and a second currency first account amount calculation is obtained for each of the two accounts, the second currency trial amount, and the first currency trial amount and the second currency trial amount of each of the accounts are not less than Zero-hour, the clearing server calculates one of the first accounts according to the first currency receivable amount of each of the accounts and the first account first account amount of each of the accounts The second account amount of the currency, and based on the respective second currency receivable amount of each of the accounts and the first account amount of the second currency of each of the accounts, one of the accounts is obtained. The second account amount of the second currency.
於本創作之一實施例中,其中該清算伺服裝置取得該些個帳戶中該第一幣別試算金額或該第二幣別試算金額最小者,該清算伺服裝置標記所取得之該帳戶所對應之該些個交易命令組中該匯出帳戶對應該帳戶之該第一交易命令或該第二交易命令之一時間資訊最晚者之該第一交易命令及該第二交易命令,以未被標記之該些個交易命令計算該應收付金額。 In an embodiment of the present invention, wherein the clearing server obtains the first currency trial amount or the second currency trial amount in the accounts, the clearing server identifier corresponds to the account obtained by the clearing server The first transaction command and the second transaction command of the one of the transaction command groups corresponding to the first transaction command of the account or the time information of the second transaction command are not The transaction commands marked are used to calculate the amount of the receivable.
於本創作之一實施例中,其中當清算伺服裝置標記所取得之該帳戶所對應之該些個交易命令組中匯出帳戶對應該帳戶之第一交易命令或第二交易命令之時間資訊最晚者之第一交易命令或/及第二交易命令之交易次序為優先時,清算伺服裝置標記所取得之該帳戶所對應之該些個交易命令組中匯出帳戶對應該帳戶之第一交易命令或第二交易命令之時間資訊次晚者。 In an embodiment of the present invention, the time information of the first transaction command or the second transaction command corresponding to the account corresponding to the account in the plurality of transaction command groups corresponding to the account obtained by the clearing server tag is the most When the transaction order of the first transaction order or/and the second transaction order of the evening is prioritized, the clearing server marks the first transaction of the account corresponding to the account corresponding to the account corresponding to the account obtained by the clearing server tag The time information of the order or the second trading order is the second night.
於本創作之一實施例中,其中該些交易命令儲存於餘額不足佇列。 In an embodiment of the present invention, the transaction commands are stored in an insufficient balance.
於本創作之一實施例中,其中多貨幣之清算系統更包含:至少一電子裝置,於該清算伺服裝置依據該些個交易命令計算取得該些個帳戶各自之該交易金額之前,該電子裝置發送該些個交易命令至該清算伺服裝置,該清算伺服裝置依據該些個交易命令取得該些個交易命令組,每一該交易命令組包含該第一交易命令及該第二交易命令,其中該第一交易命令之一匯出帳戶對應該第二交易命令之一交易帳戶,該第一交易命令之一交易帳戶對應該第二交易命令之一匯出帳戶,該第一交易命令之一第一幣別匯出金額對應該第二交易命令之一第一幣別交易金 額,該第一交易命令之一第二幣別交易金額對應該第二交易命令之一第二幣別匯出金額,該清算伺服裝置判斷該些個帳戶中對應該些個交易命令組其中之一之該第一交易命令之該匯出帳戶者之該第一幣別第一帳戶金額是否小於該交易命令組之第一交易命令之該第一幣別匯出金額,該清算伺服裝置判斷該些個帳戶中對應該交易命令組之該第二交易命令之該匯出帳戶者之該第二幣別第一帳戶金額是否小於該交易命令組之該第二交易命令之該第二幣別匯出金額,當該些個帳戶中對應該交易命令組之該第一交易命令之該匯出帳戶者之該第一幣別第一帳戶金額小於該交易命令組之該第一交易命令之該第一幣別匯出金額或該些個帳戶中對應該交易命令組之該第二交易命令之該匯出帳戶者之該第二幣別第一帳戶金額小於該交易命令組之該第二交易命令之該第二幣別匯出金額時,該清算伺服裝置將該交易命令組之該第一交易命令及該第二交易命令儲存至該餘額不足佇列。 In an embodiment of the present invention, the multi-currency clearing system further includes: at least one electronic device, before the clearing servo device calculates the transaction amount of each of the accounts according to the transaction commands, the electronic device Sending the plurality of transaction commands to the clearing server, the clearing server acquiring the plurality of transaction command groups according to the plurality of transaction commands, each of the transaction command groups including the first transaction command and the second transaction command, wherein One of the first transaction commands remits an account corresponding to one of the second transaction commands, and the transaction account corresponds to one of the second transaction commands to remit the account, one of the first transaction commands One currency remittance amount corresponds to one of the second trading orders The amount of the second currency transaction amount corresponding to one of the first transaction orders corresponds to the second currency of the second transaction command, and the clearing server determines that the plurality of transaction command groups are corresponding to the plurality of transaction commands. Whether the first account amount of the first currency of the remittance account of the first transaction order is less than the first currency remittance amount of the first transaction order of the transaction order group, the clearing server determines the Whether the amount of the second currency first account of the second account of the second transaction command corresponding to the second transaction command of the transaction command group is less than the second currency of the second transaction command of the transaction command group The amount of the first account, the amount of the first account of the first account of the first transaction order corresponding to the transaction order group of the plurality of accounts is less than the first transaction order of the transaction order group a second currency remittance amount or the second currency first account amount of the remittance account of the second transaction order corresponding to the transaction order group of the plurality of accounts is less than the second transaction order of the transaction order group The second currency When the amount of export, the settlement of the servo device stores the first transaction of command transaction set command and the second command to the transaction queue is less than the balance.
1‧‧‧電子裝置 1‧‧‧Electronic device
101‧‧‧通訊單元 101‧‧‧Communication unit
3‧‧‧清算伺服裝置 3‧‧‧Clearing servo
31‧‧‧儲存單元 31‧‧‧ storage unit
311‧‧‧餘額不足佇列 311‧‧‧ insufficient balance
51‧‧‧第一帳戶 51‧‧‧First Account
53‧‧‧第二帳戶 53‧‧‧Second account
55‧‧‧第三帳戶 55‧‧‧ third account
71‧‧‧交易命令 71‧‧‧ Trading Order
72‧‧‧交易命令 72‧‧‧ Trading Order
73‧‧‧交易命令 73‧‧‧ Trading Order
74‧‧‧交易命令 74‧‧‧ Trading Order
75‧‧‧交易命令 75‧‧‧ Trading Order
76‧‧‧交易命令 76‧‧‧ Trading Order
77‧‧‧交易命令 77‧‧‧ Trading Order
78‧‧‧交易命令 78‧‧‧ Trading Order
81‧‧‧交易命令組 81‧‧‧Transaction Order Group
82‧‧‧交易命令組 82‧‧‧Transaction Order Group
83‧‧‧交易命令組 83‧‧‧Transaction Order Group
84‧‧‧交易命令組 84‧‧‧Transaction Order Group
91‧‧‧第一幣別應收付金額 91‧‧‧First currency receivable amount
92‧‧‧第二幣別應收付金額 92‧‧‧Second currency receivables
93‧‧‧第一幣別應收付金額 93‧‧‧First currency receivable amount
94‧‧‧第二幣別應收付金額 94‧‧‧Second currency receivables
95‧‧‧第一幣別應收付金額 95‧‧‧ First currency receivable amount
96‧‧‧第二幣別應收付金額 96‧‧‧Second currency receivables
111‧‧‧第一幣別試算金額 111‧‧‧First currency trial amount
112‧‧‧第二幣別試算金額 112‧‧‧Second currency trial amount
113‧‧‧第一幣別試算金額 113‧‧‧First currency trial amount
114‧‧‧第二幣別試算金額 114‧‧‧Second currency trial amount
115‧‧‧第一幣別試算金額 115‧‧‧First currency trial amount
116‧‧‧第二幣別試算金額 116‧‧‧Second currency trial amount
S1‧‧‧發送交易命令 S1‧‧‧Send transaction order
S3‧‧‧儲存至餘額不足佇列 S3‧‧‧Save to insufficient balance
S5‧‧‧取得交易命令組 S5‧‧‧Get Trading Order Group
S7‧‧‧計算第一幣別應收付金額及第二幣別應收付金額 S7‧‧‧ Calculate the amount of the first currency receivable and the second currency receivable
S9‧‧‧判斷每一帳戶各自之第一幣別試算金額及第二幣別試算金額是否小於零 S9‧‧‧Determine whether each account’s first currency trial amount and second currency trial amount are less than zero
S11‧‧‧計算每一帳戶之第一幣別第二帳戶金額及第二幣別第二帳戶金額 S11‧‧‧ Calculate the amount of the second account in the first currency of each account and the amount of the second account in the second currency
S13‧‧‧取得試算金額最小之帳戶 S13‧‧‧Acquired the account with the smallest trial amount
S15‧‧‧標記所取得之帳戶對應之交易命令組中時間資訊最晚者 The time information in the transaction order group corresponding to the account obtained by S15‧‧‧ mark is the latest
S17‧‧‧以未被標記之交易命令取得交易命令組無 S17‧‧‧ Obtaining a trading order group without an unmarked trading order
第一圖:其係為本創作之第一實施例之多幣別交易之清算之方法之流程圖;第二圖:其係為本創作之第一實施例之多幣別交易之清算之方法之系統示意圖;第三A圖~第三C圖:其係為本創作之第一實施例之多幣別交易之清算之方法之示意圖,用以示意清算之過程; 第四A圖~第四B圖:其係為本創作之第一實施例之多幣別交易之清算之方法之示意圖,用以示意標記交易命令;第五A圖~第五B圖:其係為本創作之第二實施例之多幣別交易之清算之方法之示意圖,用以示意交易命令之優先權;第六A圖~第六C圖:其係為本創作之第三實施例之多幣別交易之清算之方法之示意圖,用以示意清算之過程;以及第七A圖~第七C圖:其係為本創作之第四實施例之多幣別交易之清算之方法之示意圖,用以示意標記交易命令。 The first figure is a flow chart of the method for clearing the multi-currency transaction of the first embodiment of the present invention; the second figure is the method for clearing the multi-currency transaction of the first embodiment of the creation The system diagram; the third A map to the third C map: it is a schematic diagram of the method for clearing the multi-currency transaction of the first embodiment of the creation, to illustrate the process of liquidation; 4A to 4B: a schematic diagram of a method for clearing a multi-currency transaction of the first embodiment of the present invention for indicating a transaction command; 5A to 5B: Is a schematic diagram of a method for clearing a multi-currency transaction of the second embodiment of the present invention, which is used to indicate the priority of the transaction command; and the sixth to sixth C drawings are the third embodiment of the present creation A schematic diagram of the method of liquidation of the multi-currency transaction to illustrate the process of liquidation; and the seventh to seventh seventh chart: which is the method of liquidation of the multi-currency transaction of the fourth embodiment of the creation Schematic diagram to illustrate the marking of trading orders.
為使 貴審查委員對本創作之特徵及所達成之功效有更進一步之瞭解與認識,謹佐以較佳之實施例及配合詳細之說明,說明如後:先前之技術中,由於現行的方法容易使得交易者的現金匯出及現金匯入不一致,而造成交易者的流動性資金風險,因此提出一種多幣別交易之清算之方法。 In order to give your reviewers a better understanding and understanding of the characteristics of the creation and the efficacies achieved, please refer to the preferred embodiment and the detailed description to explain the following: In the prior art, the current method is easy to make. The trader's cash remittance and cash remittance are inconsistent, resulting in the liquidity risk of the trader's liquidity. Therefore, a method of liquidation of multi-currency transactions is proposed.
在此說明本創作之第一實施例之多幣別交易之清算之方法之流程,請參閱第一圖,其係為本創作之第一實施例之多幣別交易之清算之方法之流程圖。如圖所示,本實施例之多幣別交易之清算之方法其步驟包含:步驟S1:發送交易命令;步驟S3:儲存至餘額不足佇列;步驟S5:取得交易命令組; 步驟S7:計算第一幣別應收付金額及第二幣別應收付金額;步驟S9:判斷每一帳戶各自之第一幣別試算金額及第二幣別試算金額是否小於零;步驟S11:計算每一帳戶之第一幣別第二帳戶金額及第二幣別第二帳戶金額;步驟S13:取得試算金額最小之帳戶;步驟S15:標記所取得之帳戶對應之交易命令組中時間資訊最晚者;以及步驟S17:以未被標記之交易命令取得交易命令組。 The flow of the method for clearing the multi-currency transaction of the first embodiment of the present invention is described herein. Please refer to the first figure, which is a flow chart of the method for clearing the multi-currency transaction of the first embodiment of the present invention. . As shown in the figure, the method for clearing the multi-currency transaction of the embodiment includes the following steps: step S1: sending a transaction command; step S3: storing to a balance insufficient column; step S5: obtaining a transaction command group; Step S7: calculating the first currency receivable amount and the second currency receivable amount; step S9: determining whether each account's first currency trial amount and the second currency trial amount are less than zero; step S11 : calculating the first currency second account amount of each account and the second currency second account amount; step S13: obtaining the account with the smallest trial amount; step S15: marking the time information in the transaction command group corresponding to the obtained account The latest one; and step S17: obtaining the transaction command group with the unmarked transaction command.
接著說明為達成本創作之多幣別交易之清算之方法所需之系統,請參閱第二圖,其係為本創作之第一實施例之多幣別交易之清算之方法之示意圖。如圖所示,本創作之清算之方法之系統包含:電子裝置1及一清算伺服裝置3。 Next, the system required for the method of liquidation of the multi-currency transaction of the present invention is described. Please refer to the second figure, which is a schematic diagram of the method for clearing the multi-currency transaction of the first embodiment of the present invention. As shown in the figure, the system of the method for liquidation of the present invention comprises: an electronic device 1 and a clearing servo device 3.
上述之電子裝置1可為智慧型手機、個人數位助理(PDA)、平板電腦、筆記型電腦、桌上型電腦等電子裝置。 The electronic device 1 described above may be an electronic device such as a smart phone, a personal digital assistant (PDA), a tablet computer, a notebook computer, or a desktop computer.
清算伺服裝置3包含一儲存單元31,儲存單元31可為硬式磁碟、軟式磁碟、固態硬碟、快閃式記憶體(Flash Memory)、唯讀記憶體(Read-Only Memory)、磁帶、光碟、可由網路存取之資料庫、雲端儲存空間或其他可儲存資料之儲存設備。 The clearing server 3 includes a storage unit 31. The storage unit 31 can be a hard disk, a floppy disk, a solid state disk, a flash memory, a read-only memory, or a tape. A disc, a database accessible by the network, a cloud storage space, or other storage device that can store data.
以下將說明本創作之第一實施例之多幣別交易之清算之方法執行時之流程,請參閱搭配第一圖、第二圖及第三A圖~第三C圖。當要以清算伺服裝置進行多幣別交易時,將執行步驟S1至步驟S17。 The flow of the method for clearing the multi-currency transaction of the first embodiment of the present invention will be described below. Please refer to the first figure, the second figure, and the third to third C charts. When the multi-currency transaction is to be performed by the clearing servo, steps S1 to S17 will be executed.
於步驟S1,發送交易命令,電子裝置1透過通訊單元101發送交易命令至清算伺服裝置3。電子裝置1為複數個,並各自發送一交易命令至清算伺服裝置3。換言之,於步驟S1中複數個電子裝置發送複數個交易命令至清算伺服裝置3。 In step S1, a transaction command is transmitted, and the electronic device 1 transmits a transaction command to the clearing server 3 via the communication unit 101. The electronic device 1 is plural and each sends a transaction command to the clearing servo device 3. In other words, in step S1, the plurality of electronic devices transmit a plurality of transaction commands to the clearing servo device 3.
於步驟S3,儲存至餘額不足佇列,清算伺服裝置3依據交易命令71~74取得複數個交易命令組,每一交易命令組包含第一交易命令及第二交易命令,其中第一交易命令之匯出帳戶對應第二交易命令之交易帳戶,第一交易命令之交易帳戶對應第二交易命令之匯出帳戶,第一交易命令之第一幣別匯出金額對應第二交易命令之第一幣別交易金額,第一交易命令之第二幣別交易金額對應第二交易命令之第二幣別匯出金額。上述之交易命令中,匯出帳戶用以表示從清算伺服裝置3中的哪一個帳戶匯出金額;第一幣別匯出金額及第二幣別匯出金額表示從匯出帳戶中匯出哪一種幣別的金額(例如第一幣別為美金,第二幣別為人民幣);交易帳戶用以表示將金額匯入至清算伺服裝置3中的哪一個帳戶中;第一幣別交易金額及第二幣別交易金額表示應從交易帳戶中收到哪一種幣別的多少金額。易言之,交易命令組所包含的第一交易命令及第二交易命令為互相對應之交易命令。 In step S3, the balance is stored in the insufficient balance queue, and the clearing server 3 obtains a plurality of transaction command groups according to the transaction commands 71-74. Each transaction command group includes a first transaction command and a second transaction command, wherein the first transaction command The remittance account corresponds to the transaction account of the second transaction order, and the transaction account of the first transaction order corresponds to the remittance account of the second transaction order, and the first currency remittance amount of the first transaction order corresponds to the first currency of the second transaction order The transaction amount, the second currency transaction amount of the first transaction order corresponds to the second currency remittance amount of the second transaction order. In the above transaction command, the remittance account is used to indicate which account in the clearing server 3 is remitted; the first currency remittance amount and the second currency remittance amount indicate which remittance is sent from the remittance account. The amount of the currency (for example, the first currency is US dollars and the second currency is RMB); the trading account is used to indicate which account in the clearing server 3 is to be remitted; the first currency transaction amount and The second currency transaction amount indicates which amount of currency should be received from the trading account. In other words, the first transaction command and the second transaction command included in the transaction command group are mutually corresponding transaction commands.
於本創作之一實施例中,清算伺服裝置3是依據交易命令之一時間資訊將時間資訊相近且互相對應之交易命令視為一交易命令組。 In one embodiment of the present creation, the clearing servo device 3 treats the transaction command with similar time information and corresponding to each other as a transaction command group according to one of the transaction information.
在本創作之一實際舉例中,第一交易命令可以由A銀行之營業員在與B銀行之營業員談妥以第一幣別50元購買第二幣別1500元後,A銀行之營業員操作A銀行之電子裝置1發送交易命令至清算伺服裝置,此交易命令之匯出帳戶為A銀行之帳戶、匯出金額為第一幣別50元、交易帳戶為B銀行之帳戶、交易金額為第二幣別1500元,B銀行之營業員操作B銀行之電子裝置1發送交易命令至清算伺服裝置,此交易命令之匯出帳戶為B銀行之帳戶、匯出金額為第二幣別1500元、交易帳戶為A銀行之帳戶、交易金額為第一幣別10元,由於此二交易命令互相對應且時間資訊相近,因此清算伺服裝置3將此二交易命令視為一交易命令組。 In a practical example of this creation, the first transaction order may be negotiated by the salesperson of Bank A with the salesperson of Bank B to purchase the second currency of 1,500 yuan in the first currency of 50 yuan, and the salesperson of Bank A operates Bank A. The electronic device 1 sends a transaction command to the clearing server, and the remittance account of the transaction command is the account of the bank A, the remittance amount is the first currency 50 yuan, the transaction account is the account of the B bank, and the transaction amount is the second currency. Don't 1500 yuan, the salesperson of Bank B operates the electronic device of Bank B to send the transaction order to the clearing server. The remittance account of this transaction order is the account of Bank B, the remittance amount is 1500 yuan for the second currency, and the trading account is The account of A bank and the transaction amount are 10 yuan of the first currency. Since the two transaction commands correspond to each other and the time information is similar, the clearing server 3 regards the two transaction commands as a transaction command group.
接續上述,如第三A圖所示,交易命令71及交易命令72為交易命令組81,交易命令73及交易命令74為交易命令組82,清算伺服裝置3判斷清算伺服裝置3之帳戶中交易命令組之第一交易命令之匯出帳戶者之第一幣別第一帳戶金額是否小於第一交易命令之第一幣別匯出金額,並判斷清算伺服裝置3之帳戶中交易命令組之第二交易命令之匯出帳戶者之第二幣別第一帳戶金額是否小於第二交易命令之第二幣別匯出金額,當對應第一交易命令之匯出帳戶之帳戶之第一幣別第一帳戶金額小於第一交易命令之第一幣別匯出金額或對應第二交易命令之匯出帳戶之帳戶之第二幣別第一帳戶金額小於第二幣別匯出金額時,即表示無法完成交易命令,清算伺服裝置3將交易命令組之第一交易命令及第二交易命令儲存於清算伺服裝置3之儲存單元31之餘額不足佇列311。 Following the above, as shown in FIG. 3A, the transaction command 71 and the transaction command 72 are the transaction command group 81, the transaction command 73 and the transaction command 74 are the transaction command group 82, and the clearing servo device 3 determines the transaction in the account of the clearing servo device 3. Whether the first account amount of the first currency of the remittance account of the first transaction command of the command group is smaller than the first currency remittance amount of the first transaction order, and determines the first transaction order group in the account of the clearing server 3 Whether the second account amount of the second currency of the remittance account of the second transaction order is less than the second currency remittance amount of the second transaction order, and the first currency of the account corresponding to the remittance account corresponding to the first transaction order If the amount of the account is less than the first currency remittance amount of the first transaction order or the second currency account corresponding to the remittance account of the second transaction order, the first account amount is less than the second currency remittance amount, Upon completion of the transaction command, the clearing server 3 stores the first transaction command and the second transaction command of the transaction command group in the balance unit 311 of the storage unit 31 of the clearing server 3.
如第三A圖所示,交易命令組81之交易命令72之第二幣別匯出金額為3000、匯出帳戶為第二帳戶,第二帳戶53之第二幣別第一帳 戶金額為1000,因此將交易命令71及交易命令72儲存於餘額不足佇列311;交易命令組82之交易命令73之第二幣別匯出金額為4500、匯出帳戶為第一帳戶,交易命令組82之交易命令74之第一幣別匯出金額為150、匯出帳戶為第二帳戶,第一帳戶51之第二幣別第一帳戶金額為2000,第二帳戶53之第一幣別第一帳戶金額為60,因此將交易命令71及交易命令72儲存於餘額不足佇列311。 As shown in FIG. 3A, the second currency remittance amount of the transaction order 72 of the transaction command group 81 is 3000, the remittance account is the second account, and the second account 53 is the second currency first account. The amount of the household is 1000, so the transaction order 71 and the transaction order 72 are stored in the balance insufficient column 311; the second currency remittance amount of the transaction order 73 of the transaction order group 82 is 4500, and the remittance account is the first account, the transaction The first currency remittance amount of the transaction command 74 of the command group 82 is 150, the remittance account is the second account, the second account of the first account 51 is the first account amount of 2000, and the second account 53 is the first currency. The first account amount is 60, so the transaction command 71 and the transaction command 72 are stored in the insufficient balance queue 311.
於步驟S5,取得交易命令組,清算伺服裝置3依據交易命令71~74取得複數個交易命令組,每一交易命令組包含第一交易命令及第二交易命令,其中第一交易命令之匯出帳戶對應第二交易命令之交易帳戶,第一交易命令之交易帳戶對應第二交易命令之匯出帳戶,第一交易命令之第一幣別匯出金額對應第二交易命令之第一幣別交易金額,第一交易命令之第二幣別交易金額對應第二交易命令之第二幣別匯出金額。如第三B圖所示,交易命令71及交易命令72為交易命令組81,交易命令73及交易命令74為交易命令組82。 In step S5, the transaction command group is obtained, and the clearing server 3 obtains a plurality of transaction command groups according to the transaction commands 71-74. Each transaction command group includes a first transaction command and a second transaction command, wherein the first transaction command is retracted. The account corresponds to the transaction account of the second transaction order, the transaction account of the first transaction order corresponds to the remittance account of the second transaction order, and the first currency remittance amount of the first transaction order corresponds to the first currency transaction of the second transaction order The amount, the second currency transaction amount of the first transaction order corresponds to the second currency remittance amount of the second transaction order. As shown in the third B diagram, the transaction command 71 and the transaction command 72 are the transaction command group 81, and the transaction command 73 and the transaction command 74 are the transaction command group 82.
於步驟S7,計算第一幣別應收付金額及第二幣別應收付金額,清算伺服裝置3依據交易命令組之第一交易命令及第二交易命令計算每一帳戶之第一幣別應收付金額。如第三B圖所示,清算伺服裝置3依據交易命令組81、82計算第一帳戶51及第二帳戶53各自之第一幣別應收付金額及第二幣別應收金額,清算伺服裝置依據交易命令組81之交易命令71與交易命令72及交易命令組82之交易命令73與交易命令74計算取得第一帳戶之第一幣別應收付金額91為+50(-100+150),第一帳戶之第二幣別應收付金額92為-1500(-4500+3000),第二帳戶之第一幣別應 收付金額93為-50(100-150),第二帳戶之第二幣別應收付金額94為+1500(4500-3000)。 In step S7, the first currency receivable amount and the second currency receivable amount are calculated, and the clearing server 3 calculates the first currency of each account according to the first transaction command and the second transaction command of the transaction command group. The amount due. As shown in FIG. 3B, the clearing servo device 3 calculates the first currency receivable amount and the second currency receivable amount of the first account 51 and the second account 53 according to the transaction command group 81, 82, and clears the servo. The device calculates the first currency receivable amount 91 of the first account according to the transaction command 71 of the transaction command group 81 and the transaction command 72 and the transaction command 73 of the transaction command group 82 to be +50 (-100+150). ), the second currency receivable amount of the first account is 92-1500 (-4500+3000), and the first currency of the second account should be The receipt amount 93 is -50 (100-150), and the second currency receivable amount 94 of the second account is +1500 (4500-3000).
於步驟S9,判斷每一帳戶各自之第一幣別試算金額及第二幣別試算金額是否小於零,清算伺服裝置3依據該些個帳戶各自之第一幣別應收付金額及第一幣別第一帳戶金額計算取得該些個帳戶各自之第二幣別試算金額,並依據該些個帳戶各自之第二幣別應收付金額及第二幣別第一帳戶金額計算取得該些個帳戶各自之第二幣別試算金額,並判斷每一帳戶各自之第一幣別試算金額或第二幣別試算金額是否小於零,當每一帳戶各自之第一幣別試算金額及第二幣別試算金額不小於零時,執行步驟S11,當每一帳戶各自之第一幣別試算金額或第二幣別試算金額中至少有一小於零時,則執行步驟S13。 In step S9, it is determined whether the first currency trial amount and the second currency trial amount of each account are less than zero, and the clearing server 3 determines the first currency receivable amount and the first currency according to each of the accounts. The first account amount is calculated to obtain the second currency trial amount of each of the accounts, and the calculation is based on the respective second currency receivable amount and the second currency first account amount of the respective accounts. The second currency of each account is used to calculate the amount, and determine whether each account's first currency trial amount or second currency trial amount is less than zero, when each account has its first currency trial amount and second currency When the amount is not less than zero, step S11 is performed. When at least one of the first currency trial amount or the second currency trial amount of each account is less than zero, step S13 is performed.
接續上述,如第三B圖所示,第一帳戶51之第一幣別應收付金額91為+50,第一帳戶51之第一幣別第一帳戶金額為100,因此第一帳戶51之第一幣別試算金額111為150,第一帳戶51之第二幣別應收付金額92為-1500,第一帳戶51之第二幣別第一帳戶金額為2000,因此第一帳戶51之第二幣別試算金額112為500,第二帳戶53之第一幣別應收付金額93為-50,第二帳戶53之第一幣別第一帳戶金額為60,因此第二帳戶53之第一幣別試算金額113為10,第二帳戶53之第二幣別應收付金額94為+1500,第二帳戶53之第二幣別第一帳戶金額為1000,因此第二帳戶53之第二幣別試算金額114為2500。由於第一帳戶51之第一幣別試算金額111及第二幣別試算金額112與第二帳戶53之第一幣別試算金額113及第二幣別試算金額114都不小於零因此執行步驟S11。 Following the above, as shown in the third B diagram, the first account receivable amount 91 of the first account 51 is +50, and the first account first account amount of the first account 51 is 100, so the first account 51 The first currency trial amount 111 is 150, the first account 51 second currency receivable amount 92 is -1500, and the first account 51 second currency first account amount is 2000, so the first account 51 The second currency trial amount 112 is 500, the second currency account 53 has the first currency receivable amount 93 of -50, and the second account 53 has the first currency first account amount of 60, so the second account 53 The first currency trial amount 113 is 10, the second account 53 second currency receivable amount 94 is +1500, and the second account 53 second currency first account amount is 1000, so the second account 53 The second currency trial amount 114 is 2,500. Since the first currency trial amount 111 and the second currency trial amount 112 of the first account 51 and the first currency trial amount 113 and the second currency trial amount 114 of the second account 53 are not less than zero, step S11 is performed. .
於步驟S11,計算每一帳戶之第一幣別第二帳戶金額及第二幣別第二帳戶金額,清算伺服裝置3依據該些個帳戶各自之第一幣別應收付金額及該些個帳戶各自之第一幣別第一帳戶金額計算取得該些個帳戶各自之第一幣別第二帳戶金額,並依據該些個帳戶各自之第二幣別應收付金額及該些個帳戶各自之第二幣別第一帳戶金額計算取得該些個帳戶各自之第二幣別第二帳戶金額。如第三B圖及第三C圖所示,清算伺服裝置3依據第一帳戶51之第一幣別應收付金額91及第一帳戶51之第一幣別第一帳戶金額計算取得第一帳戶51之第一幣別第二帳戶金額為150(100+50),清算伺服裝置3依據第一帳戶51之第二幣別應收付金額92及第一帳戶51之第二幣別第一帳戶金額計算取得第一帳戶51之第二幣別第二帳戶金額為500(2000-1500),清算伺服裝置3依據第二帳戶53之第一幣別應收付金額93及第二帳戶53之第一幣別第一帳戶金額計算取得第二帳戶53之第一幣別第二帳戶金額為10(60-50),清算伺服裝置3依據第二帳戶53之第二幣別應收付金額94及第二帳戶53之第二幣別第一帳戶金額計算取得第二帳戶53之第二幣別第二帳戶金額為2500(1000+1500)。 In step S11, calculating a first currency second account amount and a second currency second account amount for each account, the clearing server 3 is based on the first currency receivable amount of each of the accounts and the plurality of accounts The first account amount of each account of the account is calculated by obtaining the first account second account amount of each of the accounts, and according to the respective second currency receivable amount of each of the accounts and the respective accounts The second currency first account amount is calculated to obtain the second currency second account amount of each of the accounts. As shown in the third B diagram and the third C diagram, the clearing servo device 3 obtains the first calculation according to the first currency receivable amount 91 of the first account 51 and the first currency first account amount of the first account 51. The first account of the account 51 has a second account amount of 150 (100+50), and the clearing server 3 is based on the second currency receivable amount 92 of the first account 51 and the second currency of the first account 51. The account amount calculation obtains the second currency of the first account 51, the second account amount is 500 (2000-1500), and the clearing server 3 is based on the first currency receivable amount 93 of the second account 53 and the second account 53 The first currency first account amount is calculated to obtain the first currency of the second account 53 and the second account amount is 10 (60-50), and the clearing server 3 is based on the second currency 53 of the second account 53. And the second account first account amount calculation of the second account 53 obtains the second currency of the second account 53 and the second account amount is 2500 (1000+1500).
於步驟S13,取得試算金額最小之帳戶,清算伺服裝置3取得該些個帳戶中第一幣別試算金額或第二幣別試算金額最小者,如第四A圖所示,第二帳戶53之第一幣別試算金額113為最小,因此所取得之帳戶為第二帳戶。 In step S13, the account with the smallest trial amount is obtained, and the clearing server 3 obtains the minimum amount of the first currency trial amount or the second currency trial amount in the accounts, as shown in FIG. 4A, the second account 53 The first currency trial amount 113 is the smallest, so the account obtained is the second account.
在本創作之一實施例中,該清算伺服裝置3於比較試算金額時,會將第一幣試算金額以一第一匯率資訊轉換為第二幣別後再與第二 幣別試算金額比較;亦可以將第二幣別試算金額以一第二匯率資訊轉換為第一幣別後再與第一幣別試算金額比較。 In an embodiment of the present invention, the clearing servo device 3 converts the first currency trial amount into a second currency and then the second currency when comparing the trial amount. The amount of the trial currency comparison is similar; the second currency trial amount can also be converted into the first currency by a second exchange rate information and then compared with the first currency trial amount.
於步驟S15,標記所取得之帳戶對應之交易命令中時間資訊最晚者,清算伺服裝置3標記所取得之帳戶所對應之交易命令組中匯出帳戶對應該帳戶之第一交易命令或第二交易命令之時間資訊最晚者之第一交易命令及第二交易命令。如第四B圖所示,由於試算金額最小之帳戶為第二帳戶53,第二帳戶53對應之交易命令組為81~83,其中,匯出帳戶對應第二帳戶53之交易命令為交易命令72、74及76,當交易命令72(例如時間資訊為上午8:00)、74(例如時間資訊為上午8:10)及76(例如時間資訊為上午8:20)之時間資訊最晚者為交易命令76時,清算伺服裝置3標記交易命令76所對應之交易命令組83之交易命令75及交易命令76。 In step S15, the last time information in the transaction command corresponding to the account obtained by the account is marked, and the clearing server 3 marks the first transaction command corresponding to the account corresponding to the account in the transaction command group corresponding to the obtained account. The first trading order and the second trading order of the latest information of the trading order. As shown in FIG. 4B, since the account with the smallest amount of trial calculation is the second account 53, the transaction command group corresponding to the second account 53 is 81-83, wherein the transaction command corresponding to the second account 53 of the export account is a transaction command. 72, 74 and 76, when the transaction order 72 (for example, time information is 8:00 am), 74 (for example, time information is 8:10 am), and 76 (for example, time information is 8:20 am), the latest information is available. In the case of the transaction command 76, the clearing server 3 marks the transaction command 75 and the transaction command 76 of the transaction command group 83 corresponding to the transaction command 76.
於步驟S17,以未被標記之交易命令取得交易命令組,清算伺服裝置3以未被標記之交易命令計算應收付金額,如第四B圖所示,清算伺服裝置3以步驟S5所述之方法依據交易命令71~74取得交易命令組,並執行步驟S7,於步驟S7中,計算取得第一帳戶51之第一幣別應收付金額91為50,第一帳戶51之第二幣別應收付金額92為-1500,第二帳戶53之第一幣別應收付金額93為-50,第二帳戶53之第二幣別應收付金額94為1500,接著執行步驟S9。於步驟S9中,第一帳戶51之第一幣別試算金額111為150,第一帳戶51之第二幣別試算金額112為500,第二帳戶53之第一幣別試算金額113為10,第二帳戶53之第一幣別試算金額114為2500,由於每一帳戶之第一幣別試算金額及第二幣別試算金額皆不小 於零,因此執行步驟S11。於步驟S11中計算取得第一帳戶51之第一幣別第二帳戶金額為150,第一帳戶51之第二幣別第二帳戶金額為1000,第二帳戶53之第一幣別第二帳戶金額為10,第二帳戶53之第二幣別第二帳戶金額為2500。於執行完後,餘額不足佇列311中會留下被標記之交易命令75及76。 In step S17, the transaction command group is obtained by the unmarked transaction command, and the clearing server 3 calculates the payable amount by the unmarked transaction command. As shown in the fourth B diagram, the clearing server 3 performs the step S5. The method obtains the transaction command group according to the transaction command 71~74, and performs step S7. In step S7, the first currency account receivable amount 91 of the first account 51 is calculated to be 50, and the second account of the first account 51 is used. The receivable amount 92 is -1500, the first currency receivable amount 93 of the second account 53 is -50, and the second currency receivable amount 94 of the second account 53 is 1500, and then step S9 is performed. In step S9, the first currency trial amount 111 of the first account 51 is 150, the second currency trial amount 112 of the first account 51 is 500, and the first currency trial amount 113 of the second account 53 is 10. The first currency trial amount 114 of the second account 53 is 2500, since the first currency trial amount and the second currency trial amount of each account are not small. At zero, step S11 is performed. In step S11, the first account second account amount of the first account 51 is calculated to be 150, the second account second account amount of the first account 51 is 1000, and the second account 53 is the first currency second account. The amount is 10, and the second account of the second account 53 has a second account amount of 2,500. After execution, the insufficient balance queues 311 will leave the marked transaction orders 75 and 76.
於此即完成本創作之第一實施例之多幣別交易之清算之方法,藉由本實施例清算伺服裝置可依據儲存於餘額不足佇列中之交易命令計算出每一帳戶之第一幣別應收付金額及第二幣別應收付金額,當帳戶之第一幣別第一帳戶金額及第二幣別第一帳戶金額足以支付第一幣別應收付金額及第二幣別應收付金額時,則清算伺服裝置可直接清算交易命令,因此可以增加多幣別交易之便利性,亦由於無法執行之交易命令會儲存於餘額不足佇列中,而不是直接拒絕交易命令或是一直讓交易命令維持在交易佇列中,可以減少交易者的流動性資金風險。 In this way, the clearing method of the multi-currency transaction of the first embodiment of the present invention is completed. The clearing servo device of the present embodiment can calculate the first currency of each account according to the transaction command stored in the insufficient balance column. The amount of the receivable and the amount of the second currency receivable, when the first account amount of the first currency of the account and the first account amount of the second currency are sufficient to pay the first currency receivable amount and the second currency When the amount is received, the clearing server can directly clear the trading order, so the convenience of multi-currency transactions can be increased, and the unmanufactured trading order will be stored in the insufficient balance, instead of directly rejecting the trading order or Keeping trading orders in the trading queue all the time can reduce the liquidity risk of traders.
接著說明本創作之第二實施例之多幣別交易之清算之方法,請參閱第五A圖~第五B圖,並搭配第一圖及第二圖。 Next, the method for clearing the multi-currency transaction of the second embodiment of the present invention will be described. Please refer to the fifth to fifth panels, together with the first and second figures.
於本實施例中,於步驟S1時,如第五A圖所示,當電子裝置1發送交易命令75及交易命令76時,將交易命令75及76之一交易次序設定為優先。 In the present embodiment, at step S1, as shown in FIG. 5A, when the electronic device 1 transmits the transaction command 75 and the transaction command 76, the transaction order of one of the transaction commands 75 and 76 is set as the priority.
於步驟S7時,如第五B圖所示,第一幣別試算金額111及113與第二幣別試算金額112及114中至少有一個小於零,因此執行步驟S13。 In step S7, as shown in FIG. 5B, at least one of the first currency trial amount 111 and 113 and the second currency trial amount 112 and 114 is less than zero, and therefore step S13 is performed.
於步驟S13時,該些個帳戶中第一幣別試算金額或第二幣別試算金額最小者為第二帳戶53。 In step S13, the first currency trial amount or the second currency trial amount in the plurality of accounts is the second account 53.
於步驟S15時,如第五B圖所示,由於試算金額最小之帳戶為第二帳戶53,第二帳戶53對應之交易命令組為81~83,其中,匯出帳戶對應第二帳戶53之交易命令為交易命令72、74及76,當交易命令72(例如時間資訊為上午8:00)、74(例如時間資訊為上午8:10)及76(例如時間資訊為上午8:20)之時間資訊最晚者為交易命令76,因此清算伺服裝置3要標記交易命令76所對應之交易命令組83之交易命令75及交易命令76,但是交易命令75或/及交易命令76之交易次序為優先,因此清算伺服裝置3標記所取得之帳戶所對應之交易命令組中匯出帳戶對應該帳戶之第一交易命令或第二交易命令之時間資訊次晚者之第一交易命令及第二交易命令,由於交易命令72(例如時間資訊為上午8:00)、74(例如時間資訊為上午8:10)及76(例如時間資訊為上午8:20)之時間資訊次晚者為交易命令74,清算伺服裝置3標記交易命令74所對應之交易命令組82之交易命令73及交易命令74。 In step S15, as shown in FIG. 5B, since the account with the smallest trial amount is the second account 53, the transaction command group corresponding to the second account 53 is 81-83, wherein the export account corresponds to the second account 53. The transaction commands are transaction commands 72, 74 and 76, when the transaction command 72 (eg time information is 8:00 am), 74 (eg time information is 8:10 am) and 76 (eg time information is 8:20 am) The latest time information is the transaction command 76, so the clearing server 3 is to mark the transaction command 75 and the transaction command 76 of the transaction command group 83 corresponding to the transaction command 76, but the transaction order of the transaction command 75 or/and the transaction command 76 is Priority, so the clearing server 3 marks the first transaction command and the second transaction in the transaction command group corresponding to the account obtained by the account corresponding to the first transaction command of the account or the time information of the second transaction command Command, due to transaction command 72 (eg time information is 8:00 am), 74 (eg time information is 8:10 am) and 76 (eg time information is 8:20 am) time information is the transaction command 74 Clearing servo 3 The transaction command 73 and the transaction command 74 of the transaction command group 82 corresponding to the transaction command 74 are marked.
於步驟S17,以未被標記之交易命令取得交易命令組,清算伺服裝置3以未被標記之交易命令計算應收付金額,如第五B圖所示,清算伺服裝置3以步驟S5所述之方法依據交易命令71~72及73~74取得交易命令組,並執行步驟S7。於步驟S7中,計算取得第一帳戶51之第一幣別應收付金額91為-50,第一帳戶51之第二幣別應收付金額92為+2000,第二帳戶53之第一幣別應收付金額93為+50,第二帳戶53之第二幣別應收付金額94為-2000,接著執行步驟S9。於步驟S9中,第一帳戶51之第一幣別試算金額111為50,第一帳戶51之第二幣別試算金額112為4500,第二帳戶53之第一幣別試算金額113為110,第二帳戶53之第一 幣別試算金額114為-1000,由於每一帳戶各自之第一幣別試算金額或第二幣別試算金額至少有一個小於零,因此執行步驟S13。於步驟S13中取得第二帳戶為第一幣別試算金額或第二幣別試算金額最小之帳戶。並於步驟S15中,標記交易命令71及交易命令72,再於步驟S17中以交易命令75及76取得交易命令組,而後再執行步驟S7~步驟S11。於執行完後,餘額不足佇列311中會留下被標記之交易命令71~72及75及76。 In step S17, the transaction command group is obtained by the unmarked transaction command, and the clearing server 3 calculates the receivable amount by the unmarked transaction command. As shown in FIG. 5B, the clearing server 3 performs the step S5. The method obtains the transaction command group according to the transaction commands 71~72 and 73~74, and executes step S7. In step S7, it is calculated that the first currency receivable amount 91 of the first account 51 is -50, the second currency receivable amount 92 of the first account 51 is +2000, and the second account 53 is the first. The currency receivable amount 93 is +50, and the second currency 53 of the second account 53 is -2000, and then step S9 is performed. In step S9, the first currency trial amount 111 of the first account 51 is 50, the second currency trial amount 112 of the first account 51 is 4500, and the first currency trial amount 113 of the second account 53 is 110. First of the second account 53 The currency trial amount 114 is -1000, and since at least one of the first currency trial amount or the second currency trial amount of each account is less than zero, step S13 is performed. In step S13, the account whose second account is the first currency trial amount or the second currency trial amount is the smallest. In step S15, the transaction command 71 and the transaction command 72 are marked, and in step S17, the transaction command group is acquired by the transaction commands 75 and 76, and then steps S7 to S11 are executed. After execution, the insufficient balance column 311 will leave the marked transaction orders 71~72 and 75 and 76.
藉由本實施例,交易者可設定交易命令之交易次序,可以讓較為重要之交易命令之交易次序設定為優先,讓此交易命令可以被清算伺服裝置3優先處理,而不會被標記。 With this embodiment, the trader can set the order of transactions of the trade orders, and can set the trade order of the more important trade orders to be prioritized, so that the trade command can be preferentially processed by the clearing servo device 3 without being marked.
接著說明本創作之第三實施例之清算之方法,請參閱第六A圖~第六C圖,並搭配第一圖及第二圖。本實施例用舉例說明當帳戶有兩個以上時之清算之方法之執行流程。 Next, the method of clearing the third embodiment of the present invention will be described. Please refer to the sixth to sixth C drawings, together with the first and second figures. This embodiment exemplifies the execution flow of the method of clearing when there are two or more accounts.
於步驟S3,如第六A圖所示,將交易命令71~78儲存於餘額不足佇列。 In step S3, as shown in FIG. 6A, the transaction commands 71-78 are stored in the balance insufficient column.
於步驟S5,如第六A圖所示,清算伺服裝置3依據交易命令71~78取得交易命令組81~84。 In step S5, as shown in FIG. 6A, the clearing servo device 3 acquires the transaction command groups 81 to 84 in accordance with the transaction commands 71 to 78.
於步驟S7,如第六B圖所示,清算伺服裝置3依據交易命令組81~84計算取得第一帳戶51之第一幣別應收付金額91為+35,第一帳戶51之第二幣別應收付金額92為-1050,第二帳戶53之第一幣別應收付金額93為-50,第二帳戶53之第二幣別應收付金額94為+1500,第三帳戶55之第一幣別應收付金額95為+15,第三帳戶55之第二幣別應收付金額96為-450。 In step S7, as shown in FIG. 6B, the clearing servo device 3 calculates, according to the transaction command group 81-84, that the first currency receivable amount 91 of the first account 51 is +35, and the second account 51 is second. The credit amount of the currency receivable is 92 -1050, the first currency of the second account 53 is 93 -50, and the second currency of the second account 53 is 94 +150, the third account. The first currency of 55 has an acceptance amount of 95 of +15, and the second currency of the third account 55 has an acceptance amount of 96 of -450.
於步驟S9,如第六B圖所示,清算伺服裝置3計算取得第一帳戶51之第一幣別試算金額111為135,第一帳戶51之第二幣別試算金額112為950,第二帳戶53之第一幣別試算金額113為10,第二帳戶53之第二幣別試算金額114為2500,第三帳戶55之第一幣別試算金額115為35,第三帳戶55之第二幣別試算金額116為50,由於每一帳戶各自之第一幣別試算金額及第二幣別試算金額不小於零,因此執行步驟S11。 In step S9, as shown in FIG. 6B, the clearing servo device 3 calculates that the first currency trial amount 111 of the first account 51 is 135, and the second currency trial amount 112 of the first account 51 is 950, second. The first currency trial amount 113 of the account 53 is 10, the second currency trial amount 114 of the second account 53 is 2500, the first currency trial amount 115 of the third account 55 is 35, and the third account 55 is the second. The currency trial amount 116 is 50. Since the first currency trial amount and the second currency trial amount of each account are not less than zero, step S11 is performed.
於步驟S11,如第六C圖所示,清算伺服裝置3計算取得第一帳戶51之第一幣別第二帳戶金額為135,第一帳戶51之第二幣第二帳戶金額為950,第二帳戶53之第一幣別第二帳戶金額為10,第二帳戶53之第二幣別第二帳戶金額為2500,第三帳戶55之第一幣別第二帳戶金額為35,第三帳戶55之第二幣別第二帳戶金額為50。於此即完成本創作之第三實施例之多幣別交易之清算之方法。 In step S11, as shown in the sixth C diagram, the clearing servo device 3 calculates that the first account second account amount of the first account 51 is 135, and the second account second account amount of the first account 51 is 950. The second account of the second account 53 has a second account amount of 10, the second account 53 has a second currency, the second account amount is 2500, and the third account 55 has the first currency, the second account amount is 35, and the third account The second account of 55 has a second account amount of 50. This completes the method of clearing the multi-currency transaction of the third embodiment of the present creation.
接著說明本創作之第四實施例之多幣別交易之清算之方法,請參閱第七A圖~第七C圖,並搭配第一圖及第二圖。本實施例用舉例說明當帳戶有兩個以上時之清算之方法之執行流程。 Next, the method of clearing the multi-currency transaction of the fourth embodiment of the present invention will be described. Please refer to the seventh to seventh C drawings, together with the first and second figures. This embodiment exemplifies the execution flow of the method of clearing when there are two or more accounts.
於步驟S3,如第七A圖所示,將交易命令71~78儲存於餘額不足佇列。 In step S3, as shown in FIG. 7A, the transaction commands 71-78 are stored in the balance insufficient column.
於步驟S5,如第七A圖所示,清算伺服裝置3依據交易命令71~78取得交易命令組81~84。 In step S5, as shown in FIG. 7A, the clearing servo device 3 acquires the transaction command groups 81 to 84 in accordance with the transaction commands 71 to 78.
於步驟S7,如第七B圖所示,清算伺服裝置3依據交易命令組81~84計算取得第一帳戶51之第一幣別應收付金額91為+35,第一帳戶51之第二幣別應收付金額92為-1050,第二帳戶53之第一幣別應收付金 額93為-50,第二帳戶53之第二幣別應收付金額94為+1500,第三帳戶55之第一幣別應收付金額95為+15,第三帳戶55之第二幣別應收付金額96為-450。 In step S7, as shown in FIG. 7B, the clearing servo device 3 calculates, according to the transaction command group 81-84, that the first currency receivable amount 91 of the first account 51 is +35, and the second account 51 is the second. The currency receivable amount of 92 is -1050, and the first currency of the second account 53 is receivable and payable. The amount of 93 is -50, the second currency of the second account 53 is 94 +150, the first currency of the third account 55 is 95, and the second account is 55. The other receivable amount is 96 -450.
於步驟S9,如第七B圖所示,清算伺服裝置3計算取得第一帳戶51之第一幣別試算金額111為135,第一帳戶51之第二幣別試算金額112為950,第二帳戶53之第一幣別試算金額113為10,第二帳戶53之第二幣別試算金額114為2500,第三帳戶55之第一幣別試算金額115為35,第三帳戶55之第二幣別試算金額116為-150,由於每一帳戶各自之第一幣別試算金額或第二幣別試算金額至少有一個小於零,因此執行步驟S13。 In step S9, as shown in FIG. 7B, the clearing servo device 3 calculates that the first currency trial amount 111 of the first account 51 is 135, and the second currency trial amount 112 of the first account 51 is 950, second. The first currency trial amount 113 of the account 53 is 10, the second currency trial amount 114 of the second account 53 is 2500, the first currency trial amount 115 of the third account 55 is 35, and the third account 55 is the second. The currency trial amount 116 is -150, and since at least one of the first currency trial amount or the second currency trial amount of each account is less than zero, step S13 is performed.
於步驟S13,清算伺服裝置3取得該些個帳戶中第一幣別試算金額或第二幣別試算金額最小者,如第七B圖所示,第三帳戶55之第二幣別試算金額116為最小,因此所取得之帳戶為第三帳戶55。 In step S13, the clearing server 3 obtains the minimum amount of the first currency trial amount or the second currency trial amount in the accounts, as shown in FIG. 7B, the second currency trial amount 116 of the third account 55. To be the smallest, the account obtained is the third account 55.
於步驟S15,如第七C圖所示,由於試算金額最小之帳戶為第三帳戶55,第三帳戶55對應之交易命令組為84,其中,匯出帳戶對應第三帳戶55之交易命令為交易命令78,交易命令78視為時間資訊最晚之交易命令,清算伺服裝置3標記交易命令78所對應之交易命令組84之交易命令77及交易命令78。 In step S15, as shown in the seventh C, since the account with the smallest trial amount is the third account 55, the transaction command group corresponding to the third account 55 is 84, wherein the transaction command corresponding to the third account 55 of the export account is The transaction command 78, the transaction command 78 is regarded as the latest transaction command of the time information, and the clearing server 3 marks the transaction command 77 and the transaction command 78 of the transaction command group 84 corresponding to the transaction command 78.
於步驟S17,以未被標記之交易命令取得交易命令組,清算伺服裝置3以未被標記之交易命令計算應收付金額,如第七C圖所示,清算伺服裝置3以步驟S5所述之方法依據交易命令71~76取得交易命令組,並執行步驟S7。於步驟S7中,計算取得第一帳戶51之第一幣別應收 付金額91為+100,第一帳戶51之第二幣別應收付金額92為-2500,第二帳戶53之第一幣別應收付金額93為-100,第二帳戶53之第二幣別應收付金額94為+2500,第三帳戶55之第一幣別應收付金額95為0,第三帳戶55之第二幣別應收付金額95為0,接著執行步驟S9。於步驟S9中,第一帳戶51之第一幣別試算金額111為200,第一帳戶51之第二幣別試算金額112為-500,第二帳戶53之第一幣別試算金額113為-40,第二帳戶53之第二幣別試算金額114為+3500,第三帳戶55之第一幣別試算金額115為+20,第二帳戶55之第二幣別試算金額114為+300,由於每一帳戶各自之第一幣別試算金額或第二幣別試算金額至少有一個小於零,因此執行步驟S13。於步驟S13中取得第二帳戶為第一幣別試算金額或第二幣別試算金額最小之帳戶,於此清算伺服裝置3先將第一帳戶51之第二幣別試算金額112轉換為第一幣別其轉換後之金額為16.66,因此第二帳戶之第一幣別試算金額為最小。並於步驟S15中,標記交易命令75及交易命令76(時間資訊最晚者),再於步驟S17中以交易命令71及74取得交易命令組,而後再執行步驟S7~步驟S11。於執行完後,餘額不足佇列311中會留下被標記之交易命令71~74。 In step S17, the transaction command group is obtained by the unmarked transaction command, and the clearing server 3 calculates the payable amount by the unmarked transaction command. As shown in FIG. 7C, the clearing server 3 performs the step S5 as described in step S5. The method acquires the transaction command group according to the transaction commands 71 to 76, and executes step S7. In step S7, the first currency receivable of the first account 51 is calculated and accepted. The payment amount 91 is +100, the second currency receivable amount 92 of the first account 51 is -2500, the first currency receivable amount 93 of the second account 53 is -100, and the second account 53 is the second. The currency receivable amount 94 is +2500, the first currency receivable amount 95 of the third account 55 is 0, and the second currency receivable 95 of the third account 55 is 0, and then step S9 is performed. In step S9, the first currency trial amount 111 of the first account 51 is 200, the second currency trial amount 112 of the first account 51 is -500, and the first currency trial amount 113 of the second account 53 is - 40. The second currency trial amount 114 of the second account 53 is +3500, the first currency trial amount 115 of the third account 55 is +20, and the second currency trial amount 114 of the second account 55 is +300. Since at least one of the first currency trial amount or the second currency trial amount of each account is less than zero, step S13 is performed. In step S13, the account whose account value is the first currency trial amount or the second currency trial amount is the smallest, and the clearing server 3 first converts the second currency trial amount 112 of the first account 51 into the first account. The converted amount of the currency is 16.66, so the first currency of the second account is the minimum amount. In step S15, the transaction command 75 and the transaction command 76 (the latest time information) are marked, and in step S17, the transaction command group is acquired by the transaction commands 71 and 74, and then steps S7 to S11 are executed. After execution, the insufficient balance queue 311 will leave the marked transaction commands 71~74.
於此即完成本創作之第四實施例之清算之方法。 Thus, the method of liquidation of the fourth embodiment of the present invention is completed.
本創作之多幣別交易之清算之方法亦可使用於批次清算交易命令之清算伺服裝置,在這樣的情況下,於步驟S1,電子裝置發送交易命令至清算伺服裝置後,清伺服裝置直接將交易命令儲存於記憶單元中,清算伺服裝置每隔一段時間(如半小時、一小時、一個半小時)後執 行步驟S5~步驟S17。換言之,在這樣的情況下,僅執行步驟S1、步驟S5~步驟S17,而不執行步驟S3。 The clearing method of the multi-currency transaction of the present invention can also be used for the clearing servo device of the batch clearing transaction command. In this case, in step S1, after the electronic device sends the transaction command to the clearing servo device, the clearing device is directly Store the transaction command in the memory unit, and clear the servo device after a period of time (such as half an hour, one hour, one and a half hours) Steps S5 to S17 are performed. In other words, in such a case, only step S1, step S5 to step S17 are performed, and step S3 is not performed.
惟以上所述者,僅為本創作之較佳實施例而已,並非用來限定本創作實施之範圍,舉凡依本創作申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本創作之申請專利範圍內。 However, the above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and the variations, modifications, and modifications of the shapes, structures, features, and spirits described in the scope of the patent application. , should be included in the scope of the patent application of this creation.
本創作係實為一具有新穎性、進步性及可供產業利用者,應符合我國專利法所規定之專利申請要件無疑,爰依法提出新型專利申請,祈 鈞局早日賜准專利,至感為禱。 This creative department is a novelty, progressive and available for industrial use. It should meet the requirements of patent applications stipulated in China's Patent Law. It is undoubtedly a new type of patent application, and the Prayer Council will grant patents as soon as possible. prayer.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107201199U TWM565354U (en) | 2018-01-24 | 2018-01-24 | Multi-currency liquidating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107201199U TWM565354U (en) | 2018-01-24 | 2018-01-24 | Multi-currency liquidating system |
Publications (1)
Publication Number | Publication Date |
---|---|
TWM565354U true TWM565354U (en) | 2018-08-11 |
Family
ID=63961961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107201199U TWM565354U (en) | 2018-01-24 | 2018-01-24 | Multi-currency liquidating system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWM565354U (en) |
-
2018
- 2018-01-24 TW TW107201199U patent/TWM565354U/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220366491A1 (en) | Incrementally perfected digital asset collateral wallet | |
JP5044927B2 (en) | Facilitating small payments between multiple parties | |
US8626639B2 (en) | Trade matching platform with variable pricing based on clearing relationships | |
JP7276495B2 (en) | Control method, control program, information processing device and control system | |
CN103020816A (en) | Online virtual currency third-party credit method and data processing system thereof | |
US20170337548A1 (en) | Card Processing Methods and Systems | |
US20130226827A1 (en) | Enhanced Clearing House Collateral Management System with Capabilities to Transfer Excess Collateral to Other Users | |
KR102137577B1 (en) | Method for transfer mediation using cryptocurrency and apparatus using the same | |
KR20170073336A (en) | method of exchange and remittance using electronic money | |
US20190188790A1 (en) | Apparatus, system, and method for intelligent choice in currency | |
US12067517B2 (en) | Facilitating shareholder voting and associated proxy rights | |
TWI726093B (en) | Method of liquidation | |
TWI646488B (en) | Method of liquidation of multi-currency transactions | |
CN101663683A (en) | System and method for financial transaction | |
US10872369B1 (en) | Systems and methods for providing intelligent electronic communications | |
US11551175B1 (en) | Facilitating shareholder voting and associated proxy rights | |
TWM565354U (en) | Multi-currency liquidating system | |
TWM631250U (en) | Foreign exchange transaction management system | |
US20130024345A1 (en) | Interest Accrual Provisions For Multi-Laterally Traded Contracts | |
KR102097244B1 (en) | Method for peer to peer intellectual property secured loan financial technology service and apparatus thereof | |
WO2022054007A1 (en) | System and method for facilitating direct trading of electronic transactions | |
TWM563023U (en) | Multi-currency transaction clearing system | |
TW201907355A (en) | Multi-currency clearing method capable of reducing liquidity risk of traders in multi-currency transactions | |
TWI655598B (en) | Method of liquidation with balance queue | |
US10685342B2 (en) | Systems and methods for use in routing funds, associated with transactions, to direct-pay accounts |