JP2019191631A - Virtual currency transaction system - Google Patents

Virtual currency transaction system Download PDF

Info

Publication number
JP2019191631A
JP2019191631A JP2018079687A JP2018079687A JP2019191631A JP 2019191631 A JP2019191631 A JP 2019191631A JP 2018079687 A JP2018079687 A JP 2018079687A JP 2018079687 A JP2018079687 A JP 2018079687A JP 2019191631 A JP2019191631 A JP 2019191631A
Authority
JP
Japan
Prior art keywords
purchase
virtual currency
exchange
transaction
currency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018079687A
Other languages
Japanese (ja)
Inventor
直紀 ▲高▼▲柳▼
直紀 ▲高▼▲柳▼
Naoki Takayanagi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to JP2018079687A priority Critical patent/JP2019191631A/en
Publication of JP2019191631A publication Critical patent/JP2019191631A/en
Pending legal-status Critical Current

Links

Abstract

To provide a system capable of trading smoothly as if exchange markets that handle virtual currency to purchase are integrated as single.SOLUTION: A virtual currency transaction system includes time management means that sets a purchase virtual currency, a purchase condition and a time condition, determines reaching a time set by the time condition, and initiates a purchase processing of the purchase virtual currency when reaching, selection means that communicates with exchange markets trading the purchase virtual currency to obtain price information of the purchase virtual currency traded at the exchange markets, and selects any of the exchange markets based on the obtained currency information when a purchase processing is started, and purchase means that performs authentication confirmation by the communication with the selected exchange markets based on a cryptographic key, and purchases the purchase virtual currency at a transaction price presented by the selected exchange market.SELECTED DRAWING: Figure 8

Description

本発明は、仮想通貨の決済を支援するシステムである。   The present invention is a system that supports settlement of virtual currency.

近年、ビットコインやイーサリアムをベースとする様々な仮想通貨が発行され、種類が増えてきている。これら仮想通貨に対する需要は伸びてきており、資産としての価値が上昇してきていることから、計画的に購入して長期的な資産形成にしたいという動きもある。株や不動産については、長期的な購入計画をサポートする様々なシステムが存在しているが、仮想通貨については未発達である。   In recent years, various virtual currencies based on Bitcoin and Ethereum have been issued and their types are increasing. Demand for these virtual currencies is increasing and the value as an asset is rising, so there is a movement to purchase it systematically and make it a long-term asset formation. For stocks and real estate, there are various systems that support long-term purchase plans, but virtual currencies are still undeveloped.

例えば、株式の取引においては、いわゆるドルコスト投資法というものがある。日々価格が変動する投資商品に対して、毎月一定の額を投資し、高い値段では少なく、安い値段では多くの投資商品を購入するものである。さらにはネットトレードが現在では発達しているので、事前に設定をしておくことによりドルコスト投資法を実現するものもある。   For example, in stock trading, there is a so-called dollar cost investment method. A certain amount of money is invested every month for investment products whose prices fluctuate daily, and many investment products are purchased at low prices and low prices. Furthermore, since net trade is now developed, there are some that realize the dollar cost investment method by setting in advance.

ドルコスト法に限らず、事前に設定された方法で定期的に取引するシステムが求められており、株式市場では事前設定による定期的取引は多くみられる。取引対象となる取引所が複数にわたっていても、複数の電子取引システムに対して最も優位な条件で注文を処理するようにシステムができている(例えば、特許文献1参照)。   In addition to the dollar cost method, there is a need for a system that regularly conducts trading using a preset method, and in the stock market, regular trading based on presetting is often seen. Even if there are a plurality of exchanges to be traded, the system is configured to process orders under the most advantageous conditions over a plurality of electronic trading systems (see, for example, Patent Document 1).

特開2008-59292号公報JP 2008-59292 A

しかし以上の投資システムは、株式などの旧来からの投資商品にのみ用いられており、仮想通貨については実現されていなかった。従来の投資商品では、投資商品そのもの及び現金を、証券会社が保有し、保有した証券会社を通して、電子取引システムを介在して取引をしていたため、証券会社のシステムで例えばドルコスト法などの取引方法を実現しておけばそれで足りた。取引時には取引所を介して取引するが、取引所も多くのものがあり、その中からいずれかを選択することができる。計画的な投資を実現する方法は、取引所にて備えているものではなく、ユーザ自身のシステムとして備えなければならず、システム開発が進んでいなかった。   However, the above investment system is used only for traditional investment products such as stocks, and virtual currency has not been realized. With conventional investment products, the investment product itself and cash are held by a securities company, and transactions are made through the electronic trading system through the securities company, so transactions such as the dollar cost method are performed in the securities company system. It would be enough if the method was realized. At the time of trading, trading is performed through an exchange, but there are many exchanges, and one of them can be selected. A method for realizing planned investment is not provided at an exchange but must be provided as a user's own system, and system development has not progressed.

本発明に係る仮想通貨取引システムは、購入対象とする仮想通貨を、購入仮想通貨として設定する通貨設定手段と、前記購入仮想通貨の購入条件を設定する購入設定手段と、前記購入仮想通貨を購入する時期的条件を設定する時期設定手段と、前記時期的条件によって設定した時期の到達を判定し、到達した場合に前記購入仮想通貨の購入処理を開始する時期管理手段と、前記購入処理を開始した場合、前記購入仮想通貨を取引する取引所との間で通信することにより、当該取引所で取引される前記購入仮想通貨の価格情報を取得し、取得した価格情報に基づいていずれかの取引所を選択する選択手段と、前記選択手段によって選択された取引所との間で通信により暗号鍵に基づく認証確認を行い、前記選択した取引所の提示する取引価格で前記購入仮想通貨を購入する購入手段と、を備える。   The virtual currency transaction system according to the present invention includes a currency setting unit that sets a virtual currency to be purchased as a purchase virtual currency, a purchase setting unit that sets purchase conditions for the purchase virtual currency, and purchases the purchase virtual currency. A time setting means for setting a time condition to be determined, a time management means for determining the arrival of the time set according to the time condition, and starting the purchase processing of the purchase virtual currency when the time is reached, and starting the purchase process In such a case, by communicating with the exchange that trades the purchase virtual currency, the price information of the purchase virtual currency traded at the exchange is obtained, and any of the transactions based on the obtained price information. The authentication means based on the encryption key by communication between the selection means for selecting a place and the exchange selected by the selection means, and at the transaction price presented by the selected exchange It includes a purchase means to buy the serial purchase virtual currency, the.

本発明によれば、購入したい仮想通貨、購入条件、時期的条件を設定しておくことにより、購入したい仮想通貨を取り扱う取引所がいくつかに分かれている場合でも、必要な取引所に対してそれぞれアクセスを行い、1つの取引所に一本化されたようにスムーズに取引することができる。例えば取引所によって取引がない仮想通貨がある場合であったり、取引所によって価格が異なる場合でも取引者にとって有利なように調節して取引することが可能である。その結果として、取引所や価格等の取引内容を個別に指定しない取引条件の設定に対しても、適切な取引内容を選択して、不利でない取引内容を実現することができる。   According to the present invention, by setting the virtual currency to be purchased, purchase conditions, and timing conditions, even if there are several exchanges that handle the virtual currency to be purchased, You can access each one and trade smoothly as if they were integrated into one exchange. For example, even when there is a virtual currency where there is no transaction depending on the exchange, or even when the price varies depending on the exchange, it is possible to make an adjustment in an advantageous manner for the trader. As a result, it is possible to select an appropriate transaction content and realize a transaction content which is not disadvantageous even for setting of transaction conditions in which transaction content such as an exchange and a price is not individually specified.

仮想通貨取引システムが適用されるシステム全体の構成図。The block diagram of the whole system to which a virtual currency transaction system is applied. 仮想通貨取引システムに関する機能的構成を示すブロック図。The block diagram which shows the functional structure regarding a virtual currency transaction system. 取引条件を設定する設定画面。Setting screen for setting transaction conditions. 仮想通貨取引所の情報取得を説明する説明図。Explanatory drawing explaining the information acquisition of a virtual currency exchange. 仮想通貨取引所の選択を説明する説明図。Explanatory drawing explaining selection of a virtual currency exchange. 取引処理全体を示すフローチャート。The flowchart which shows the whole transaction processing. 取引所の選択処理を示すフローチャート。The flowchart which shows the selection process of an exchange. 取引所へのログイン処理を示すフローチャート。The flowchart which shows the login process to an exchange. 取引所の価格情報の取得処理を示すフローチャート。The flowchart which shows the acquisition process of the price information of an exchange. 選択した取引所への発注処理を示すフローチャート。The flowchart which shows the order processing to the selected exchange.

以下、図面を参照して本発明の実施の形態を説明する。ただし、以下に説明する実施形態は、あくまでも例示であり、以下に明示しない種々の変形や技術の適用を排除する意図はない。即ち、本発明は、その趣旨を逸脱しない範囲で種々変形して実施することができる。また、以下の図面の記載において、同一または類似の部分には同一または類似の符号を付して表している。図面は模式的なものであり、必ずしも実際の寸法や比率等とは一致しない。図面相互間においても互いの寸法の関係や比率が異なる部分が含まれていることがある。   Embodiments of the present invention will be described below with reference to the drawings. However, the embodiment described below is merely an example, and there is no intention to exclude various modifications and technical applications that are not explicitly described below. That is, the present invention can be implemented with various modifications without departing from the spirit of the present invention. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. The drawings are schematic and do not necessarily match actual dimensions and ratios. In some cases, the dimensional relationships and ratios may be different between the drawings.

図1は、仮想通貨取引システムが適用されるシステム全体の構成図である。仮想通貨取引システムによれば、取引所サーバ10〜40が接続されたネットワーク環境に、情報端末50と、システムサーバ60及びアプリケーションプロバイダ70の各サーバが接続されている。   FIG. 1 is a configuration diagram of the entire system to which a virtual currency trading system is applied. According to the virtual currency trading system, the information terminal 50, the system server 60, and the application provider 70 are connected to the network environment to which the exchange servers 10 to 40 are connected.

取引所サーバ10〜40は、仮想通貨取引所にて取引のために設置されたサーバである。仮想通貨取引所は、販売所と取引所に大きく分けられる。販売所は、その販売所の所有者が保有している仮想通貨を直接販売している場所のことを言う。取引所は、証券取引所の同様の仕組みで、仮想通貨を買いたい者と売りたい者がそれぞれ希望価格及び数量を提示して、いわゆる板と呼ばれる発注情報を積んでおくことで、発注情報を基に取引をマッチングする。発注情報のうちの最高希望購入価格と最低希望販売価格をマッチングして、取引を次々に成立させる。取引成立後は、仮想通貨の保有者から購入者に取引成立した仮想通貨を取引所を通して送り、決済代金を、購入者の保有者から仮想通貨に送金することで決済する。   The exchange servers 10 to 40 are servers installed for transactions at the virtual currency exchange. Virtual currency exchanges are broadly divided into sales offices and exchanges. The sales office refers to a place that directly sells the virtual currency held by the owner of the sales office. The exchange is the same mechanism as the stock exchange, and the person who wants to buy the virtual currency and the person who wants to sell it present the desired price and quantity, respectively, and place the order information called a so-called board. Match transactions based on. The highest desired purchase price and the lowest desired sales price in the ordering information are matched, and transactions are established one after another. After the transaction is completed, the virtual currency that has been established from the owner of the virtual currency is sent to the purchaser through the exchange, and the settlement price is transferred from the owner of the purchaser to the virtual currency for settlement.

情報端末50は、ユーザが使用しているスマートホン、タブレット端末、携帯電話等の情報処理端末において実現される。以上に限られず、各種のコンピュータ機能を有する情報処理装置一般に適用することができるが、上述の小型情報処理端末において適用することを想定して説明する。情報端末50は、取引所サーバ10〜40に対して認証可能であるとともに、仮想通貨の保有に関する情報を保持し、保持している仮想通貨の取引に関する情報を送受信する端末である。   The information terminal 50 is realized in an information processing terminal such as a smart phone, a tablet terminal, or a mobile phone used by a user. The present invention is not limited to the above, and can be applied to general information processing apparatuses having various computer functions. However, description will be made assuming that the present invention is applied to the above-described small information processing terminal. The information terminal 50 is a terminal that can authenticate with respect to the exchange servers 10 to 40, holds information related to possession of virtual currency, and transmits / receives information related to the transaction of virtual currency that is retained.

システムサーバ60は、情報端末50と取引所サーバ10〜40との間の取引処理に際し、必要なデータ処理を実行するシステムである。本実施の形態に係るアプリケーションプログラム80は、システムサーバ60からアプリケーションプロバイダ70を介して情報端末50にダウンロードされ、情報端末50で実行される。取引そのものは情報端末50と取引所サーバ10〜40の間で直接行うが、補助的なシステム管理はシステムサーバ60の側で実行する。   The system server 60 is a system that executes necessary data processing in the transaction processing between the information terminal 50 and the exchange servers 10 to 40. The application program 80 according to the present embodiment is downloaded from the system server 60 to the information terminal 50 via the application provider 70 and executed on the information terminal 50. Although the transaction itself is directly performed between the information terminal 50 and the exchange servers 10 to 40, auxiliary system management is executed on the system server 60 side.

アプリケーションプロバイダ70は、システムサーバ60からアプリケーションプログラム80を取得し、各情報端末50にてダウンロード要求が来たときに、認証及び場合によっては決済を経て、アプリケーションプログラム80を各情報端末50にダウンロードする。   The application provider 70 acquires the application program 80 from the system server 60, and downloads the application program 80 to each information terminal 50 through authentication and possibly settlement when a download request is received from each information terminal 50. .

本実施の形態は、情報端末50がアプリケーションプログラム80を取得してインストールすることにより実行されるが、そのハードウェア構成及びソフトウェア構成について、後述する。   This embodiment is executed when the information terminal 50 acquires and installs the application program 80. The hardware configuration and software configuration will be described later.

(本システムのハードウェア構成について)
情報端末50、システムサーバ60及びアプリケーションプロバイダ70は、CPU(Central Processing Unit)と,ROM(Read Only Memory)と,RAM(Random Access Memory)と,画像処理部と,メモリを備えている。CPU,ROM,RAM,画像処理部及びメモリは,バスを介して相互に接続されている。
(About the hardware configuration of this system)
The information terminal 50, the system server 60, and the application provider 70 include a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an image processing unit, and a memory. The CPU, ROM, RAM, image processing unit, and memory are connected to each other via a bus.

CPUは,ROMに記録されているプログラム,又はメモリからRAMにロードされたプログラムに従って各種の処理を実行する。RAMには,CPUが各種の処理を実行する上において必要なデータ等も適宜記憶される。   The CPU executes various processes according to a program recorded in the ROM or a program loaded from the memory to the RAM. The RAM appropriately stores data necessary for the CPU to execute various processes.

画像処理部は,DSP(Digital Signal Processor)や,VRAM(Video Random Access Memory)等から構成されており,CPUと協働して,画像データに対して各種画像処理を施す。例えば、画像処理部は、撮像部10から出力される撮像画像のデータに対し、ノイズ低減、ホワイトバランスの調整、手ぶれ補正等の画像処理を施す。   The image processing unit is configured by a DSP (Digital Signal Processor), a VRAM (Video Random Access Memory), and the like, and performs various image processing on image data in cooperation with the CPU. For example, the image processing unit performs image processing such as noise reduction, white balance adjustment, camera shake correction, and the like on the captured image data output from the imaging unit 10.

メモリは,DRAMやキャッシュメモリ,磁気ディスク,光ディスク,光磁気ディスク,或いは半導体メモリ等何らかの記憶媒体が挙げられる。メモリは,バスにより接続されるもののみならず,ドライブを介して読み書きされるものも含まれる。本実施形態で記憶されたデータは,一時的記憶も不揮発性メモリによる長期記憶の場合も,このメモリにいったん記憶するものとして説明する。   The memory may be any storage medium such as DRAM, cache memory, magnetic disk, optical disk, magneto-optical disk, or semiconductor memory. The memory includes not only those connected by a bus but also those read and written via a drive. The data stored in this embodiment will be described as being temporarily stored in this memory, both in the case of temporary storage and in the case of long-term storage using a nonvolatile memory.

情報端末50、システムサーバ60及びアプリケーションプロバイダ70には入出力インターフェースが接続される。入出力インターフェースを介して,表示部,入力部,通信部が接続されている。入力部は,各種ボタンにより構成され,ユーザの指示操作を受け付ける。通信部は,インターネットを含むネットワークを介して他の装置との間で行う通信を制御する。   An input / output interface is connected to the information terminal 50, the system server 60, and the application provider 70. A display unit, an input unit, and a communication unit are connected via an input / output interface. The input unit includes various buttons and accepts user instruction operations. The communication unit controls communication performed with other devices via a network including the Internet.

表示部は表示画面55を有し、画像処理部によって形成された画像または映像を表示し、再生するディスプレイ装置を有する。ディスプレイ装置は、モニタや液晶ディスプレイなどの各種ディスプレイ装置が想定される。本実施形態では、CPU等で画像表示すべき画像データを生成し、画像処理部を介して表示画面上に画像表示処理を行う。以降、単に「表示する」と説明をするときは、以上の機能を含めて表示処理を実行することを含む。   The display unit includes a display screen 55, and includes a display device that displays and reproduces an image or video formed by the image processing unit. As the display device, various display devices such as a monitor and a liquid crystal display are assumed. In the present embodiment, image data to be displayed by a CPU or the like is generated, and image display processing is performed on the display screen via the image processing unit. Henceforth, when only “display” is described, it includes executing display processing including the above functions.

情報端末50、システムサーバ60及びアプリケーションプロバイダ70は、以上の各構成を備えるが,機能的構成については後述する。各機能的構成は,CPU,ROM,RAM,画像処理部及びメモリの協働動作により機能的に実現される。これらの各部の機能は電子回路又はプログラムによって提供されるモジュール構成であり,プログラムについてはROMに格納され,CPUにより適宜読み出しながら各部と協働することで実行される。   The information terminal 50, the system server 60, and the application provider 70 have the above-described configurations, and the functional configuration will be described later. Each functional configuration is functionally realized by the cooperative operation of the CPU, ROM, RAM, image processing unit, and memory. The function of each of these units is a module configuration provided by an electronic circuit or a program. The program is stored in the ROM, and is executed by cooperating with each unit while being appropriately read out by the CPU.

図2は、仮想通貨取引システムに関する機能的構成を示すブロック図である。図2に示すアプリケーションプログラム80は、設定部100、時期管理部150、選択部160、購入部170を備える。   FIG. 2 is a block diagram showing a functional configuration related to the virtual currency trading system. The application program 80 shown in FIG. 2 includes a setting unit 100, a time management unit 150, a selection unit 160, and a purchase unit 170.

(仮想通貨取引の設定)
設定部100は、本実施の形態に係る仮想通貨取引の各種設定を行い、設定事項を保持する機能的構成である。設定部100は、通貨設定部110と、購入設定部120と、時期設定部130と、を備える。表示画面55に設定のための入力および選択画面を表示し、表示画面55に対する操作を反映することにより、各種設定を実行する。
(Virtual currency transaction setting)
The setting unit 100 is a functional configuration that performs various settings of the virtual currency transaction according to the present embodiment and holds setting items. The setting unit 100 includes a currency setting unit 110, a purchase setting unit 120, and a time setting unit 130. Various settings are executed by displaying an input and selection screen for setting on the display screen 55 and reflecting operations on the display screen 55.

通貨設定部110は、購入対象とする仮想通貨を、購入仮想通貨として設定する。選択可能な仮想通貨としては、例えばビットコインやイーサリアムなど、多岐にわたる仮想通貨を購入対象の選択肢とする。購入対象の選択肢となる仮想通貨から、購入する選択肢を少なくとも1つ選択する。本実施例では、円通貨から、各仮想通貨を購入する場合を中心に説明するが、仮想通貨から仮想通貨を購入する取引にも対応する。この場合、どの仮想通貨により、他のどの仮想通貨を購入するのかを両方とも設定する。   The currency setting unit 110 sets a virtual currency to be purchased as a purchase virtual currency. As a selectable virtual currency, for example, a wide variety of virtual currencies such as bit coins and Ethereum are used as options for purchase. At least one option to be purchased is selected from the virtual currency that is the option to be purchased. In the present embodiment, a case where each virtual currency is purchased from the yen currency will be mainly described, but it corresponds to a transaction for purchasing the virtual currency from the virtual currency. In this case, which virtual currency is used to set both other virtual currency is set.

1つの仮想通貨を購入するとして選択するのが単純であるが、複数の仮想通貨を選択可能としても良い。その場合、購入する仮想通貨の金額比率を決めておく。例えばビットコイン:イーサリアム=4:1と設定しても良い。未設定の場合には均等割合にするなどの初期設定も可能とする。通貨設定部110は、仮想通貨及びその購入比率を選択したら、購入対象として設定しておく。   Although it is simple to select one virtual currency to purchase, a plurality of virtual currencies may be selectable. In that case, the amount ratio of the virtual currency to be purchased is determined. For example, bitcoin: etherium = 4: 1 may be set. When not set, initial setting such as equal proportion is also possible. After selecting the virtual currency and its purchase ratio, the currency setting unit 110 sets it as a purchase target.

購入設定部120は、購入仮想通貨の購入条件を設定する。購入条件の例としては、各回あたりの購入金額が挙げられる。購入設定部120は、その他仮想通貨の購入に必要な各種設定を行い、設定情報を保存する。設定情報としては、通信設定、ユーザの名前、ユーザが保有するウォレットのアクセス情報が挙げられる。   The purchase setting unit 120 sets purchase conditions for the purchase virtual currency. An example of purchase conditions is the purchase amount for each time. The purchase setting unit 120 performs various settings necessary for purchasing other virtual currencies and stores setting information. The setting information includes communication settings, user name, and wallet access information held by the user.

この他にも、取引所を選択することにより取引所を設定し、取引所に関する各種情報を保存する。取引所に関する各種情報として、取引所サーバのエンドポイントや、各取引所のAPIに対する個別のアプリケーションプログラム及び関連情報を含む。さらに、署名に必要なID情報及び暗号・パスワード情報も含む。   In addition to this, an exchange is set by selecting an exchange, and various information about the exchange is stored. Various types of information related to the exchange include an endpoint of the exchange server, an individual application program for each API of the exchange, and related information. Furthermore, ID information and encryption / password information necessary for signature are also included.

時期設定部130は、購入仮想通貨を購入する時期的条件を設定する。例えば毎月1回購入するという設定も可能であり、具体的に購入する日時を設定する。日時には幅を持たせておいて、その中で一定の条件に合致したタイミングで購入処理を実行し、満たさないときは、その期間の終わりに購入処理するという設定も可能である。   The time setting unit 130 sets a time condition for purchasing the purchase virtual currency. For example, the setting of purchasing once a month is possible, and the date and time of purchase is set specifically. It is also possible to set a time range so that the purchase process is executed at a timing that matches a certain condition, and if it is not satisfied, the purchase process is executed at the end of the period.

図3は、取引条件を設定する設定画面を示す。取引条件の設定に移行した場合、アプリケーション80は、表示画面55に図3に示す設定画面を表示する。取引設定として、まず購入を希望する仮想通貨を指定する。図3では、通貨1、通貨2として表示している。選択する仮想通貨は1つだけでもよいし、設定により追加して通貨3、通貨4、と増やしていっても良い。   FIG. 3 shows a setting screen for setting transaction conditions. When transitioning to setting of transaction conditions, the application 80 displays a setting screen shown in FIG. 3 on the display screen 55. As a transaction setting, first, a virtual currency desired to be purchased is designated. In FIG. 3, they are displayed as currency 1 and currency 2. Only one virtual currency may be selected, or it may be added by setting and increased to currency 3 and currency 4.

ここで通貨1として仮想通貨A、通貨2として仮想通貨Bを設定した場合を図3に示しているが、各仮想通貨の購入比率も併せて入力する。初期設定値では均等割りとするので、仮想通貨A:仮想通貨B=50:50の場合を図3に示すが、ここで30:70のように、入力により設定値を変えても良い。また、金額や数量比により選択しても良い。   Here, the case where the virtual currency A is set as the currency 1 and the virtual currency B is set as the currency 2 is shown in FIG. 3, but the purchase ratio of each virtual currency is also input. Since the initial set value is equally divided, the case of virtual currency A: virtual currency B = 50: 50 is shown in FIG. 3, but the set value may be changed by input, such as 30:70. Moreover, you may select by the amount of money or quantity ratio.

次に、1回の取引ごとの取引金額、すなわち購入金額を入力する。図3の例では、各回でそれぞれ3万円ずつ購入していく場合について設定する。設定金額は3万円でも、毎回ちょうど3万円になることはほとんどなく、各種調節により、3万円を超えたり、3万円未満になったりする。実際の購入単位の決定については後述する。仮想通貨から設定する場合には、例えばビットコインを0.01BTCを使って毎回購入する、のように設定する。   Next, the transaction amount for each transaction, that is, the purchase amount is input. In the example of FIG. 3, the setting is made for the case of purchasing 30,000 yen each time. Even if the set amount is 30,000 yen, it is rarely just 30,000 yen each time, and it can exceed 30,000 yen or less than 30,000 yen depending on various adjustments. The actual purchase unit determination will be described later. In the case of setting from virtual currency, for example, setting is made such that bit coins are purchased every time using 0.01 BTC.

次に取引頻度を決定する。本実施例では月に1回の取引として設定する。そしてその取引の日付け及び取引時間を設定する。取引日が休日その他取引量が減る日となる等の場合には、取引日の振替設定をしても良い。また、日付ではなく曜日で設定しても良い。   Next, the transaction frequency is determined. In this embodiment, the transaction is set once a month. Then set the date and time of the transaction. If the transaction date is a holiday or other date when the transaction volume decreases, the transfer date may be set. Also, the day of the week may be set instead of the date.

図3に示す取引設定は以上であるが、その他、通信設定、各取引所毎の設定なども必要に応じて実行する。次に、設定部100の各部による設定に基づき、設定条件に従った仮想通貨の取引処理を実行する。   The transaction settings shown in FIG. 3 are as described above, but communication settings, settings for each exchange, and the like are also executed as necessary. Next, based on the setting by each unit of the setting unit 100, a virtual currency transaction process according to the setting condition is executed.

(仮想通貨の取引処理)
時期管理部150は、時期的条件によって定められた該当する時期に到達したか否かを判定し、取引開始時期に到達したら、購入仮想通貨の取引処理を開始する。図3に示した例では、時期設定部130により、取引頻度を月に1回、取引日を毎月15日、取引時間を13:00と設定しているので、毎月1回、設定された日時を取引開始日時とする。この取引開始日時の到達を時期的条件の一例とする。取引開始により、選択部160及び購入部170の処理に移行する。
(Virtual currency transaction processing)
The time management unit 150 determines whether or not the corresponding time determined by the time condition has been reached, and when the transaction start time is reached, starts the transaction processing of the purchased virtual currency. In the example shown in FIG. 3, the time setting unit 130 sets the transaction frequency once a month, the transaction date 15th of each month, and the transaction time 13:00. Is the transaction start date and time. The arrival of the transaction start date and time is taken as an example of a time condition. When the transaction starts, the process proceeds to the processing of the selection unit 160 and the purchase unit 170.

選択部160は取引所を選択するが、取引処理の開始に先立って、取引所の検索を行う。取引所の検索は、実際の取引そのものではないので、取引時間に先立って行ったり、又は前日に行っても良い。取引所の検索は、あらかじめ登録した取引所の中から実行する。例えば初期設定で10社程度登録しておいてもよく、条件に応じて自動登録又は自動削除可能としても良い。   The selection unit 160 selects an exchange, but searches for an exchange prior to starting the transaction process. Since the search for the exchange is not the actual transaction itself, it may be performed prior to the transaction time or the day before. The exchange search is executed from pre-registered exchanges. For example, about 10 companies may be registered by default, and automatic registration or automatic deletion may be possible depending on conditions.

例えば10社とすると、選択部160は、その各取引所について、通貨設定部110で設定した購入仮想通貨の取引があるかどうかを、取引所サーバ10〜40のうちの該当するものと通信することにより確認する。例えば購入仮想通貨X及び購入仮想通貨Yについて、取引所毎の取引所Aでは両方取引があり、取引所Bでは購入仮想通貨Xは取引があるが、購入仮想通貨Yの取引はない、という確認結果を取得する。ここで、仮想通貨Xにより仮想通貨Yを購入する取引の場合、その取引所は仮想通貨Xと仮想通貨Yの両方を取引している必要があるので、交換に使う仮想通貨と交換で受け取る仮想通貨のペアで、各取引所に対して確認する。   For example, when there are 10 companies, the selection unit 160 communicates with the corresponding one of the exchange servers 10 to 40 whether or not there is a purchase virtual currency transaction set by the currency setting unit 110 for each exchange. To confirm. For example, for purchase virtual currency X and purchase virtual currency Y, confirmation is made that there are both transactions at exchange A for each exchange, and there is a transaction for purchase virtual currency X at exchange B, but there is no transaction for purchase virtual currency Y Get the result. Here, in the case of a transaction in which the virtual currency Y is purchased by the virtual currency X, the exchange needs to trade both the virtual currency X and the virtual currency Y, so the virtual currency received in exchange for the virtual currency used for the exchange Check against each exchange with currency pairs.

(有利な取引所の選択)
選択部160は、購入処理を開始した場合、事前に検索された取引所のそれぞれとの間で通信することにより、当該取引所で取引される購入仮想通貨についての価格情報を取得する。つまり、選択部160は、購入するとして設定した購入仮想通貨を取引する取引所が公開しているAPI(アプリケーションソフトウェア)にアクセスすることにより価格情報を取得する。図4で仮想通貨取引所の情報取得について説明する通り、該当する購入仮想通貨の価格を取得して、表示画面55に一覧で表示する。
(Selection of advantageous exchanges)
When the selection unit 160 starts the purchase process, the selection unit 160 communicates with each of the exchanges searched in advance, thereby acquiring price information about the purchase virtual currency traded on the exchange. That is, the selection unit 160 obtains price information by accessing an API (application software) published by an exchange that trades the purchase virtual currency set to be purchased. As described with reference to virtual currency exchange information acquisition in FIG. 4, the price of the corresponding purchase virtual currency is acquired and displayed in a list on the display screen 55.

単一種類の仮想通貨のみを取引しても良いが、複数通貨を取引する場合、選択部160は、複数の購入仮想通貨のそれぞれに対して取引する取引所を選択する。例えば購入仮想通貨A及びBに対して、図4に示すように、仮想通貨取引所10では、A:8400円、Bは取引なしという情報を取得する。同様に、仮想通貨取引所20では、A:8300円、Bは取引なしという情報を取得する。仮想通貨取引所30では、Aは取引なし、B:14400円という情報を取得する。仮想通貨取引所10では、A:8500円、B:14500円という情報を取得する。仮想通貨間取引の場合も同様に、交換比率を各取引所毎に取得する。   Only a single type of virtual currency may be traded, but when trading multiple currencies, the selection unit 160 selects an exchange to trade for each of the multiple purchase virtual currencies. For example, for the virtual currencies A and B, as shown in FIG. 4, the virtual currency exchange 10 acquires information that A is 8400 yen and B is no transaction. Similarly, the virtual currency exchange 20 obtains information that A is 8300 yen and B is no transaction. At the virtual currency exchange 30, A acquires no information and B: 14400 yen. The virtual currency exchange 10 acquires information of A: 8500 yen and B: 14500 yen. Similarly, in the case of transactions between virtual currencies, the exchange ratio is acquired for each exchange.

選択部160は、取得した価格情報のうちの最も有利な取引条件を提供する取引所を選択する。最も有利な取引条件は、最低価格となる取引条件又は最良執行方針に基づく取引条件である。最も有利な取引条件と言うのは、購入する場合には通常は最低価格であることを示すが、例えば通信環境などの諸条件から、必ずしも案件な取引が保証できなかったり、その他最低価格であるからと言って必ずしも発注者にとって有利であるとは限らない場合には、その次の価格を提示する取引所を選択する。   The selection unit 160 selects an exchange that provides the most advantageous transaction conditions among the acquired price information. The most advantageous trading terms are those that are at the lowest price or are based on the best execution policy. The most advantageous trading conditions indicate that the lowest price is usually the case when purchasing, but due to various conditions such as the communication environment, it is not always possible to guarantee a deal or the other lowest price. If it is not always advantageous to the orderer, the exchange that offers the next price is selected.

図5は、仮想通貨取引所の選択を説明する。図4に示したように取引所ごとの価格を既に取得しているので、その取得している価格を互いに比較することにより、所望の仮想通貨について取引する取引所を選択する。仮想通貨Aについては、図4に示した通り、仮想通貨取引所20で提示される価格が8300円と最も安いが、仮想通貨取引所20では仮想通貨Bの取引がない。一方で仮想通貨Bについては、図4に示した通り、仮想通貨取引所30で提示される価格が14400円と最も安い。   FIG. 5 illustrates the selection of a virtual currency exchange. Since the price for each exchange has already been acquired as shown in FIG. 4, the exchange for trading the desired virtual currency is selected by comparing the acquired prices with each other. As for the virtual currency A, as shown in FIG. 4, the price presented at the virtual currency exchange 20 is the cheapest at 8300 yen, but the virtual currency exchange 20 has no virtual currency B transaction. On the other hand, as for the virtual currency B, as shown in FIG. 4, the price presented at the virtual currency exchange 30 is the cheapest at 14400 yen.

従って選択部160は、図5に示す通り、仮想通貨Aについては仮想通貨取引所20を選択し、仮想通貨Bについては仮想通貨取引所30を選択する。ただし、取引対象とするすべての仮想通貨を同一の取引所で購入することを優先して選択しても良いし、また仮想通貨ごとに別々の取引所を選択するように選択しても良い。仮想通貨間取引の場合も同様に、交換比率が最も有利な、希望する仮想通貨を最も多く受け取れる取引所を選択する。   Accordingly, the selection unit 160 selects the virtual currency exchange 20 for the virtual currency A and selects the virtual currency exchange 30 for the virtual currency B, as shown in FIG. However, it may be selected with priority to purchase all virtual currencies to be traded at the same exchange, or may be selected to select different exchanges for each virtual currency. Similarly, in the case of transactions between virtual currencies, an exchange that can receive the most desired virtual currency with the most advantageous exchange ratio is selected.

(仮想通貨の購入)
購入部170は、選択部160によって選択された取引所に対して、通信により暗号鍵に基づく認証確認を行い、最も有利な取引条件に基づく取引価格にて、購入仮想通貨を購入する。つまり、購入部170は、前記選択された取引所が公開しているアプリケーションソフトウェアに認証確認を介してアクセスすることにより前記購入仮想通貨を購入する。購入部170は、取得した価格情報及び購入条件に基づいて購入数量を決定し、決定した購入数量の購入仮想通貨を購入する。
(Buy virtual currency)
The purchase unit 170 performs authentication confirmation based on the encryption key by communication with the exchange selected by the selection unit 160, and purchases the purchase virtual currency at a transaction price based on the most advantageous transaction conditions. That is, the purchase unit 170 purchases the purchase virtual currency by accessing the application software published by the selected exchange through authentication confirmation. The purchase unit 170 determines the purchase quantity based on the acquired price information and purchase conditions, and purchases the purchase virtual currency of the determined purchase quantity.

取引所では、仮想通貨の販売及び購入を要求する入力を受け付け、販売及び購入の価格及び数量を一覧にすることにより両者をマッチングする。そしてマッチングの結果としての取引の結果を、暗号通信により、販売及び購入のそれぞれの取引の入力元に対して反映する。   The exchange accepts an input requesting the sale and purchase of virtual currency, and matches both by listing prices and quantities of the sale and purchase. Then, the result of the transaction as the matching result is reflected on the input source of each transaction of sales and purchase by encrypted communication.

複数種類の仮想通貨を設定により選択している場合は、購入部170は、複数の購入仮想通貨のそれぞれに対して選択した取引所から該当する仮想通貨を購入する。図4及び図5に示した例の場合、仮想通貨Aについては仮想通貨取引所20にて8300円で購入し、仮想通貨Bについては仮想通貨取引所30にて14400円にて購入する。   When a plurality of types of virtual currency are selected by setting, the purchase unit 170 purchases the corresponding virtual currency from the exchange selected for each of the plurality of purchased virtual currencies. 4 and 5, the virtual currency A is purchased at the virtual currency exchange 20 for 8300 yen, and the virtual currency B is purchased at the virtual currency exchange 30 for 14400 yen.

ここで、購入部170による購入は、購入設定部120による設定に基づいて実行する。例えば図3に示した購入設定によると、仮想通貨Aと仮想通貨Bの購入額は50:50であり、購入総額は3万円である。ということは、仮想通貨Aの購入額は1.5万円、仮想通貨Bの購入額は1.5万円と割り当てられていることになる。   Here, the purchase by the purchase unit 170 is executed based on the setting by the purchase setting unit 120. For example, according to the purchase setting shown in FIG. 3, the purchase amount of the virtual currency A and the virtual currency B is 50:50, and the total purchase amount is 30,000 yen. This means that the purchase price of the virtual currency A is assigned to 15,000 yen and the purchase price of the virtual currency B is assigned to 15,000 yen.

しかしながら、仮想通貨Aの8300円と、仮想通貨Bの14400円は割り切れる数字ではない。1.5万円を割り当てた場合、仮想通貨Aは約1.8単位、仮想通貨Bは1.04である。概算すると仮想通貨Aを2単位、仮想通貨Bを1単位とするのが購入総額に近い。とすると、仮想通貨Aは2x8300円=16600円分、仮想通貨Bは1x14400円=14400円分、合計で3.1万円分を購入することになる。このように最も近い購入総額の場合に合計金額を超える場合、請えないように購入するように設定しても良いし、超過分を累積して、累積分が一定以上となった場合に調整するやり方がある。本実施例の場合、仮想通貨Aを2単位、仮想通貨Bを1単位分購入した。   However, 8300 yen for virtual currency A and 14400 yen for virtual currency B are not divisible numbers. When 15,000 yen is allocated, the virtual currency A is about 1.8 units, and the virtual currency B is 1.04. Roughly speaking, 2 units of virtual currency A and 1 unit of virtual currency B are close to the total purchase amount. Then, the virtual currency A is 2x8300 yen = 16600 yen, and the virtual currency B is 1x14400 yen = 14400 yen, for a total of 31,000 yen. In this way, if the total purchase amount exceeds the total purchase amount, you may set the purchase so that it will not be charged, or if the excess amount is accumulated and the cumulative amount becomes more than a certain level, it is adjusted. There is a way to do. In the case of this example, two units of virtual currency A and one unit of virtual currency B were purchased.

以上、時期設定部130により設定された時期に到達するたびに、以上の選択部160によって取引所を選択し、購入部170によって所望の仮想通貨を購入するという処理を実行する。この仮想通貨の購入は、定期的な積み立ての観点から、設定された時期に到達するたびに取引処理を開始し、同様に最も有利な取引所をその度に選択して、最も有利な条件にて仮想通貨を購入する。自動により取引処理が繰り返されることで、有利な条件にて仮想通貨を積み立てていくことができる。   As described above, every time the time set by the time setting unit 130 is reached, the above-described selection unit 160 selects an exchange and the purchase unit 170 purchases a desired virtual currency. The purchase of this virtual currency starts from the transaction process every time the set time is reached from the viewpoint of regular accumulation, and similarly selects the most advantageous exchange each time, and makes the most advantageous conditions. Buy virtual currency. By repeating transaction processing automatically, virtual currency can be accumulated under advantageous conditions.

以上のように設定部100により仮想通貨の購入単位を事前設定し、設定の通りに仮想通貨を購入する一連の流れについて説明した。その結果として、事前設定しておくだけで、仮想通貨を毎回自ら手続することなく計画的に購入することができる。実際は単に設定して購入した、という流れだけでなく、各取引所に自動ログインするAPIを含めた機能としておく必要がある。その点を含めた説明を、フローチャートを参照して説明する。   As described above, the purchase unit of the virtual currency is preset by the setting unit 100, and a series of flows for purchasing the virtual currency according to the setting has been described. As a result, the virtual currency can be purchased in a planned manner without having to proceed with it each time by simply setting in advance. Actually, it is necessary not only to simply set and purchase, but also to include a function including an API for automatically logging in to each exchange. The description including this point will be described with reference to a flowchart.

図6は、取引処理全体の流れを示す。図6に示す処理の開始前に、時期設定部130により設定された時期的条件を満たしたかどうかを確認し、条件を満たしたときに本処理を開始する。具体的には、時期設定部130による積み立て設定を取得し、設定頻度に達したかどうかを確認しつつ、達しない場合には待機し続ける。設定頻度に到達したタイミングで本処理を開始する。   FIG. 6 shows the flow of the entire transaction process. Before starting the process shown in FIG. 6, it is checked whether the time condition set by the time setting unit 130 is satisfied, and this process is started when the condition is satisfied. Specifically, the accumulation setting by the time setting unit 130 is acquired, and it is checked whether or not the setting frequency has been reached. This process is started when the set frequency is reached.

本取引処理を開始すると、まず選択部160は、設定部100による各種設定から積み立て設定を取得する(ステップS100)。次に、そして取得した設定に基づき、最適取引所を選択する(ステップS110)。本処理の詳細は図7を参照して後述する。   When the transaction process is started, the selection unit 160 first obtains a reserve setting from various settings by the setting unit 100 (step S100). Next, based on the acquired setting, an optimal exchange is selected (step S110). Details of this processing will be described later with reference to FIG.

最適となる取引所を選択したら、加重係数を使用するか否かを判定し(ステップS120)、使用する場合には(ステップS120:Yes)、ステップS130〜S150の一連の取得により投資金額に加重をかけ、使用しない場合には(ステップS120:No)、投資金額そのものを使用する。   When an optimal exchange is selected, it is determined whether or not a weighting coefficient is used (step S120). If it is used (step S120: Yes), the investment amount is weighted by a series of acquisitions of steps S130 to S150. If it is not used (step S120: No), the investment amount itself is used.

加重係数を使用する処理は次の通りである。まず、平均取得価格を取得する(ステップS130)。本処理の詳細は図9を参照して後述する。次に、現在価格が、計算して得た平均取得価格を下回っているか否かを判定する(ステップS140)。下回っていない場合(ステップS140:No)、投資金額そのものを使用する。下回っている場合(ステップS140:Yes)、投資金額に、あらかじめ設定した所定の加重係数をかけ合わせたものを、投資金額として使用する(ステップS150)。以上のようにして、ステップS120〜S150にて投資金額を設定する。   The process using the weighting factor is as follows. First, an average acquisition price is acquired (step S130). Details of this processing will be described later with reference to FIG. Next, it is determined whether or not the current price is lower than the calculated average acquisition price (step S140). If it is not lower (step S140: No), the investment amount itself is used. If it is lower (step S140: Yes), the investment amount multiplied by a predetermined weighting factor set in advance is used as the investment amount (step S150). As described above, the investment amount is set in steps S120 to S150.

次に、購入数量を算出する(ステップS160)。購入数量は、以上のように決定した投資金額を、購入価格で割ることによって求める。購入数量を求めたら、取引所固有ログインを実行する(ステップS170)。本処理の詳細は図8を参照して後述する。取引所を選択したら、取引所固有発注を実行する(ステップS180)。本処理の詳細は図10を参照して後述する。   Next, the purchase quantity is calculated (step S160). The purchase quantity is obtained by dividing the investment amount determined as described above by the purchase price. After obtaining the purchase quantity, an exchange-specific login is executed (step S170). Details of this processing will be described later with reference to FIG. When the exchange is selected, an exchange-specific order is executed (step S180). Details of this processing will be described later with reference to FIG.

図7は、取引所の選択処理を示す。図6のステップS110で実行する処理を、図7を参照して詳細に説明する。まず取引所固有ログインを実行する(ステップS200)。本処理の詳細は図8を参照して後述する。取引所を選択したら、取引所固有価格情報を取得する(ステップS210)。本処理の詳細は図9を参照して後述する。   FIG. 7 shows an exchange selection process. The process executed in step S110 of FIG. 6 will be described in detail with reference to FIG. First, an exchange-specific login is executed (step S200). Details of this processing will be described later with reference to FIG. If an exchange is selected, exchange specific price information will be acquired (step S210). Details of this processing will be described later with reference to FIG.

選択部160は、価格情報を取得した取引所について、その価格が最安であるか否かを判定する(ステップS220)。最安である場合、これまで比較対象としてきた取引所に比べて最適な取引所であるので、選択部160は、最適取引所に設定する(ステップS230)。このような一連の流れの中で、全ての取引所について価格を参照し、取引所ループを終了したか否かを判定し(ステップS240)、終了した場合は図7に示す一連のフローを終了し、終了していない場合には、次の取引所について価格情報を参照すべき、ステップS200に戻って改めて処理を実行し直す。   The selection unit 160 determines whether or not the price of the exchange from which the price information has been acquired is the lowest price (step S220). If it is the cheapest, it is an optimal exchange compared to the exchange that has been compared so far, and therefore the selection unit 160 sets the optimal exchange (step S230). In such a series of flows, the prices for all the exchanges are referred to, and it is determined whether or not the exchange loop has been completed (step S240). If it has not been completed, the price information for the next exchange should be referred to. The process returns to step S200 and the process is executed again.

図8〜図10は、取引所サーバ10〜40が公開しているAPI(Application Programming Interface)を利用した取引処理についてのフローチャートを示す。APIは各取引所で使用しているソフトウェアを一部公開して、端末50のソフトウェアと機能を共有できるようにしたものである。ソフトウェアの一部をWEB上に公開することによって、外部から利用することができるようにしたものである。   8 to 10 show flowcharts of transaction processing using an API (Application Programming Interface) published by the exchange servers 10 to 40. The API is a part of software used in each exchange so that the functions of the software of the terminal 50 can be shared. A part of the software can be used externally by publishing on the web.

取引所が公開しているAPIに対して外部のウェブアプリケーションからアクセスすることにより、相場の情報をリアルタイムで取得し、入出金もプログラムから可能となる。またAPIを使うことにより、チャートの作成、取引の自動化なども可能である。   By accessing the API published by the exchange from an external web application, market price information can be acquired in real time, and deposits and withdrawals can also be made from the program. Also, by using API, chart creation, transaction automation, etc. are possible.

APIを使用するためのウェブアプリケーションを作成することができる。ファイルはHTMLで記述し、保存、公開することにより、ウェブアプリケーションとして公開することができる。   Web applications for using APIs can be created. A file can be published as a web application by describing it in HTML, storing it and publishing it.

取引所APIでは、認証の必要ない Public API と必要のある Private API の2つのAPIが利用可能である。Public API では取引所の注文状況や公開されている取引の履歴、板情報を参照することができる。Private API では取引所での新規注文やそのキャンセル、自分の残高などを確認することができる。   In the exchange API, two APIs can be used: Public API that does not require authentication and Private API that requires authentication. With Public API, it is possible to refer to the order status of the exchange, the history of transactions that have been made public, and board information. With Private API, you can check new orders on the exchange, cancel them, and check your balance.

Private APIの認証方法について説明する。(1)まずAPI Keyを作成する。APIキーは、取引所が公開しているアプリケーションから作成することができる。ここで生成される、アクセスキー及びシークレットアクセスキーは秘密保持しなければならない。この作成されたキーを使ってリクエストを作成する。(2)次に、パーミッションの設定を行う。キーを生成する際、機能ごとにパーミッションを設定することができる。また、任意のIPアドレスに使用を許可するよう設定することも可能である。   Describe the authentication method of Private API. (1) First, create an API Key. An API key can be created from an application published by an exchange. The access key and secret access key generated here must be kept secret. Create a request using this created key. (2) Next, permission is set. When generating keys, permissions can be set for each function. It is also possible to set to permit use of any IP address.

(3)次に、リクエストの作成を行う。認証が必要なリクエストでは、以下の情報を HTTP Header に含めてリクエストする必要がある。
(ACCESS-KEY)アクセスキー
(ACCESS-NONCE)リクエストごとに増加する自然数。APIキーごとに管理する。
(ACCESS-SIGNATURE)署名
(3) Next, a request is created. For requests that require authentication, the following information must be included in the HTTP Header.
(ACCESS-KEY) Access key
(ACCESS-NONCE) A natural number that increases with each request. Manage each API key.
(ACCESS-SIGNATURE) Signature

(4)署名を作成する。署名は、ACCESS-NONCE, リクエスト先URL, リクエストのボディ を全て文字列にし連結したものを、HMAC-SHA256 hash形式でシークレットキーを使って署名することにより作成する。   (4) Create a signature. The signature is created by signing the ACCESS-NONCE, the request URL, and the request body concatenated into a character string using the secret key in the HMAC-SHA256 hash format.

端末50と取引所サーバ10〜40のAPIとの間で行う共通的な処理は以上であり、以上の共通的な処理に基づき、取引所にログインし、取引所で取引される価格情報を取得し、実際に取引及び決済を実行するが、その詳細について、図8〜図10を参照して説明する。   The common processing performed between the terminal 50 and the API of the exchange server 10 to 40 is as described above. Based on the above common processing, the user logs in to the exchange and obtains price information traded on the exchange. Then, the transaction and settlement are actually executed. Details thereof will be described with reference to FIGS.

図8は、取引所へのログイン処理を示す。図6のステップS170及びステップS200で実行する処理を、図8を参照して詳細に説明する。まず、ポリモーフィズムを介して、選択した取引所にログインするための、各取引所ごとのAPIを呼び出す。ここでのポリモーフィズムとは、複数の異なる型に対して共通のインタフェースを提供することである。   FIG. 8 shows the login process to the exchange. The processing executed in step S170 and step S200 in FIG. 6 will be described in detail with reference to FIG. First, an API for each exchange for logging in to the selected exchange is called through polymorphism. Polymorphism here is to provide a common interface for several different types.

ここで取引所APIごとに処理は異なるが、いずれも、まずエンドポイントを指定して、各取引所ごとのAPIに対して必要な固有な処理を行い、最終的に署名処理を実行することにより、各取引所に対するログイン処理を実行する。署名処理まで完了後、取引所固有ログイン処理を終了する。   Here, the processing is different for each exchange API, but in each case, by first specifying the endpoint, performing the necessary unique processing for the API for each exchange, and finally executing the signature processing Execute the login process for each exchange. After completing the signature process, the exchange-specific login process is terminated.

図9は、取引所の価格情報の取得処理を示す。図6のステップS130及び図7のステップS210で実行する処理を、図9を参照して詳細に説明する。図8の場合と同様にポリモーフィズムを介して、選択した取引所の価格情報を取得するための、各取引所ごとのAPIを呼び出す。ここでも取引所ごとにAPIに対する処理は異なるが、いずれも、まずエンドポイントを指定して、各取引所ごとのAPIへのアクセスに対して必要な固有な処理を実行することにより、各取引所に対する価格情報取得処理を終了する。   FIG. 9 shows an exchange price information acquisition process. The processing executed in step S130 of FIG. 6 and step S210 of FIG. 7 will be described in detail with reference to FIG. Similar to the case of FIG. 8, API for each exchange for obtaining price information of the selected exchange is called through polymorphism. Again, the API processing differs for each exchange, but in each case, each exchange is designated by first specifying an endpoint and executing the necessary processing for accessing the API for each exchange. The price information acquisition process for is terminated.

図10は、選択した取引所への発注処理を示す。図6のステップS180で実行する処理を、図10を参照して詳細に説明する。図8の場合と同様にポリモーフィズムを介して、選択した取引所の価格情報を取得するための各取引所ごとのAPIを呼び出す。ここでも取引所ごとにAPIに対する処理は異なるが、いずれも、まずエンドポイントを指定して、各取引所ごとのAPIへのアクセスに対して必要な固有な処理を実行することにより、各取引所に対する発注処理を終了する。   FIG. 10 shows the ordering process for the selected exchange. The process executed in step S180 in FIG. 6 will be described in detail with reference to FIG. Similarly to the case of FIG. 8, API for each exchange for obtaining price information of the selected exchange is called through polymorphism. Again, the API processing differs for each exchange, but in each case, each exchange is designated by first specifying an endpoint and executing the necessary processing for accessing the API for each exchange. The order processing for is terminated.

以上説明した本実施形態によれば、購入したい仮想通貨、購入条件、時期的条件、その他各種設定により、設定状況に従った仮想通貨の取引を実現することができる。具体的には、時期的条件を設定しておくことにより、設定された時期的条件に沿って、例えば何月何日の何時、というタイミングでの取引を実現することが出来る。そして、設定された仮想通貨を、例えば投資予定金額などのあらかじめ設定した購入条件に従って購入処理することができる。   According to the present embodiment described above, it is possible to realize a virtual currency transaction according to the setting status by the virtual currency to be purchased, the purchase condition, the time condition, and other various settings. Specifically, by setting the time condition, it is possible to realize a transaction at the time of, for example, what month and what time according to the set time condition. Then, the set virtual currency can be purchased according to preset purchase conditions such as the planned investment amount.

仮想通貨の購入の際に、購入したい仮想通貨を取り扱う取引所がいくつかに分かれているので、設定情報に基づいて、必要な取引所に対してそれぞれアクセスし、仮想通貨の価格情報を取得する。取得した価格情報に基づいて適切な取引所を選択して取引実行するので、ユーザが従来のように個別に取引所にログインして、所望の取引条件を一つ一つ入力しなくても、1つの取引所に一本化されたようにスムーズに取引することができる。   When purchasing virtual currency, there are several exchanges that handle the virtual currency that you want to purchase. Based on the setting information, you access each required exchange and obtain price information for the virtual currency. . Since the appropriate exchange is selected based on the acquired price information and the transaction is executed, the user does not need to log in to the exchange individually and enter the desired transaction conditions one by one. You can trade smoothly as if you were integrated into one exchange.

例えば取引所によって取引がない仮想通貨がある場合であったり、取引所によって価格が異なる場合でも取引者にとって有利なように調節して取引することが可能である。その結果として、取引所や価格等の取引内容を個別に指定しない取引条件の設定に対しても、適切な取引内容を選択して、不利でない取引内容を実現することができる。   For example, even when there is a virtual currency where there is no transaction depending on the exchange, or even when the price varies depending on the exchange, it is possible to make an adjustment in an advantageous manner for the trader. As a result, it is possible to select an appropriate transaction content and realize a transaction content which is not disadvantageous even for setting of transaction conditions in which transaction content such as an exchange and a price is not individually specified.

特に個々の取引を組み合わせて操作が煩雑になるほど、事前設定により決済まで自動化されることの利点は向上する。例えば、複数の仮想通貨について定期的に積み立てていきたい場合に、一つ一つ入力して取引するのは面倒が多い。しかしながら仮想通貨では、証券取引口座のように、単一の証券会社が口座を一括して管理しているのではなく、セキュリティの問題上、一つ一つログインして取引処理をしなければならない。   In particular, the more complicated the operations are made by combining individual transactions, the better the advantage of being automated up to settlement by pre-setting. For example, when it is desired to periodically accumulate a plurality of virtual currencies, it is troublesome to enter and trade one by one. However, in the case of virtual currency, a single brokerage company does not manage the accounts collectively like a securities trading account, but due to security issues, you must log in and process transactions one by one. .

固定の取引所に決めて取引すれば問題は少ないが、取引所毎に取引価格にはばらつきがあり、有利な取引所を選択するメリットは大きい。これにさらに取引のタイミングであったり、端数の処理だったり、割安価格であったり、という諸条件を反映させる場合、取引者が自ら対応する場合にはさらに煩雑になるが、本実施形態によれば、以上の煩雑さを、設定により自動処理するので、処理が簡略化され、取引が簡易になり、仮想通貨取引への参入を促すことができる。   There are few problems if you decide to trade on a fixed exchange, but there are variations in the transaction price for each exchange, and the advantage of selecting an advantageous exchange is great. If the transaction timing, fractional processing, and bargain price are further reflected in this, it becomes even more complicated when the trader responds by himself / herself. For example, since the above complexity is automatically processed by setting, the processing is simplified, the transaction is simplified, and entry into the virtual currency transaction can be promoted.

特に仮想通貨取引の特徴として、取引単位を小数点以下まで細かく細分化可能であることから、数十円単位から非常に少額で投資が可能である。上述の実施例の説明では月に1回を例にして説明したが、毎日取引しても良いし、毎時間ごとと言う取引も可能である。事前に取引設定をしておくことにより、このような細かい取引頻度に対応できるように、各取引を少額に設定して分割して購入を進めていくことができる。取引頻度が多くなるほどに、手作業での取引の実行は困難になり、自動化する利点が大きい。その際に有利な取引所を逐次自動で選択するので、取引全体の有利さを拡大していくことができる。   In particular, as a feature of virtual currency trading, since the trading unit can be subdivided to the decimal point, it is possible to invest from a few tens of yen to a very small amount. In the above description of the embodiment, the description has been made once a month as an example. However, the transaction may be performed every day or every hour. By setting the transaction in advance, each transaction can be set to a small amount, and the purchase can be promoted in order to deal with such a detailed transaction frequency. The more frequent the transaction, the more difficult it is to execute the transaction manually and the greater the advantage of automation. At that time, advantageous exchanges are automatically selected sequentially, so that the advantage of the whole transaction can be expanded.

さらに仮想通貨取引の特徴として、仮想通貨間で取引できるというものがある。例えば株であれば株式交換に該当するが、これは当然オンライン取引で行う性質ものではなく、商品取引でも、とうもろこしとプラチナを交換する、ということは行われない。本実施の形態によれば、保有している仮想通貨と、取得したい仮想通貨をペアで設定することにより、また取引設定を事前に行うことにより、特定のポジションに偏っていた仮想通貨のポートフォリオを、設定に合わせて数多くの種類の仮想通貨に分散させることができ、逆に、特定の少数の仮想通貨に集約することもできる。   Further, as a feature of virtual currency trading, there is one that can trade between virtual currencies. For example, if it is a stock, it falls under a stock exchange, but this is not of course an online transaction, and commodities transactions do not involve the exchange of corn and platinum. According to the present embodiment, the virtual currency portfolio that is biased to a specific position can be obtained by setting the virtual currency that is held and the virtual currency to be acquired in pairs, and by setting the transaction in advance. Depending on the setting, it can be distributed over many types of virtual currencies, and conversely, it can be aggregated into a specific small number of virtual currencies.

株の場合だと、保有している株が値上がりしすぎた場合、その株を一部売却した後、その売却益で他の株を購入してポートフォリオを分散させるということを行うが、本実施の形態では、事前設定により、仮想通貨間で適切なレートにより交換を進めることができるので、現金化のプロセスを経ることなく、所望の保有比率でのポートフォリオを実現することができる。   In the case of stocks, if the value of the stocks held increases too much, after selling some of those stocks, we will purchase other stocks with the gain on sale and diversify the portfolio. In this form, since it is possible to advance the exchange between the virtual currencies at an appropriate rate by presetting, it is possible to realize a portfolio with a desired holding ratio without going through a cashing process.

以上,本発明について実施例を用いて説明したが,本発明の技術的範囲は上記実施例に記載の範囲には限定されない。上記実施例に,多様な変更又は改良を加えることが可能であることが当業者に明らかである。その様な変更又は改良を加えた形態も本発明の技術的範囲に含まれ得ることが,特許請求の範囲の記載から明らかである。   As mentioned above, although this invention was demonstrated using the Example, the technical scope of this invention is not limited to the range as described in the said Example. It will be apparent to those skilled in the art that various modifications or improvements can be made to the above-described embodiments. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

取引所サーバ10〜40、情報端末50、システムサーバ60、
アプリケーションプロバイダ70、アプリケーションプログラム80、
設定部100、時期管理部150、選択部160、購入部170
Exchange servers 10 to 40, information terminal 50, system server 60,
Application provider 70, application program 80,
Setting unit 100, time management unit 150, selection unit 160, purchase unit 170

Claims (5)

購入対象とする仮想通貨を、購入仮想通貨として設定する通貨設定手段と、
前記購入仮想通貨の購入条件を設定する購入設定手段と、
前記購入仮想通貨を購入する時期的条件を設定する時期設定手段と、
前記時期的条件によって設定した時期の到達を判定し、到達した場合に前記購入仮想通貨の購入処理を開始する時期管理手段と、
前記購入処理を開始した場合、前記購入仮想通貨を取引する取引所との間で通信することにより、当該取引所で取引される前記購入仮想通貨の価格情報を取得し、取得した価格情報に基づいていずれかの取引所を選択する選択手段と、
前記選択手段によって選択された取引所との間で通信により暗号鍵に基づく認証確認を行い、前記選択した取引所の提示する取引価格で前記購入仮想通貨を購入する購入手段と、
を備える仮想通貨取引システム。
Currency setting means for setting a virtual currency to be purchased as a purchase virtual currency;
Purchase setting means for setting purchase conditions of the purchase virtual currency;
Time setting means for setting time conditions for purchasing the purchase virtual currency;
A time management means for determining the arrival of the time set according to the time condition, and starting the purchase processing of the purchase virtual currency when it has been reached;
When the purchase process is started, by communicating with the exchange that trades the purchase virtual currency, the price information of the purchase virtual currency that is traded on the exchange is obtained, and based on the obtained price information A selection means for selecting one of the exchanges,
Purchasing means for performing authentication confirmation based on an encryption key by communication with the exchange selected by the selection means, and purchasing the purchase virtual currency at a transaction price presented by the selected exchange;
A virtual currency trading system comprising:
前記時期設定手段により設定された時期に到達するたびに、
前記選択手段は、前記購入仮想通貨を取引する取引所が公開しているアプリケーションソフトウェアにアクセスすることにより前記価格情報を取得し、
前記購入手段は、前記選択された取引所が公開しているアプリケーションソフトウェアに前記認証確認を介してアクセスすることにより前記購入仮想通貨を購入する、ことを繰り返す、請求項1に記載の仮想通貨取引システム。
Each time the time set by the time setting means is reached,
The selection means obtains the price information by accessing application software published by an exchange that trades the purchased virtual currency,
The virtual currency transaction according to claim 1, wherein the purchase unit repeats purchasing the purchased virtual currency by accessing the application software published by the selected exchange via the authentication confirmation. system.
前記購入設定手段で設定される前記購入条件は、購入金額であり、
前記購入手段は、取得した前記価格情報及び前記購入条件に基づいて購入数量を決定し、決定した購入数量の前記購入仮想通貨を購入し、
前記取引所では、仮想通貨の販売及び購入を要求する入力を受け付け、販売及び購入の価格及び数量を一覧にすることにより両者をマッチングし、
マッチングの結果としての取引の結果を、暗号通信により、販売及び購入のそれぞれの取引の入力元に対して反映する、請求項1に記載の仮想通貨取引システム。
The purchase condition set by the purchase setting means is a purchase amount,
The purchase means determines a purchase quantity based on the acquired price information and the purchase condition, purchases the purchase virtual currency of the determined purchase quantity,
The exchange accepts input requesting the sale and purchase of virtual currency, matching both by listing the price and quantity of the sale and purchase,
The virtual currency transaction system according to claim 1, wherein a result of a transaction as a result of matching is reflected on an input source of each transaction of sales and purchase by encryption communication.
前記通貨設定手段は、複数の購入仮想通貨を設定可能であり、
前記購入設定手段は、前記複数の購入仮想通貨に対してそれぞれ前記購入条件を設定し、
前記選択手段は、前記複数の購入仮想通貨のそれぞれに対して取引する取引所を選択し、
前記購入手段は、前記複数の購入仮想通貨のそれぞれに対して選択した取引所から該当する仮想通貨を購入する、請求項1に記載の仮想通貨取引システム。
The currency setting means can set a plurality of purchase virtual currencies,
The purchase setting means sets the purchase conditions for each of the plurality of purchase virtual currencies,
The selection means selects an exchange for dealing with each of the plurality of purchased virtual currencies,
The virtual currency transaction system according to claim 1, wherein the purchase means purchases a corresponding virtual currency from an exchange selected for each of the plurality of purchased virtual currencies.
前記設定された購入仮想通貨、前記購入条件、及び前記時期的条件を、利用者がダウンロードした前記アプリケーションソフトウェア内に設定を保持し、前記アプリケーションソフトウェアと前記各取引所を直接接続し取引を行うことにより、前記購入仮想通貨の取引を行う、請求項1に記載の仮想通貨取引システム。



The set purchase virtual currency, the purchase condition, and the time condition are held in the application software downloaded by the user, and the application software and the respective exchanges are directly connected to perform a transaction. The virtual currency transaction system according to claim 1, wherein the purchase virtual currency is transacted.



JP2018079687A 2018-04-18 2018-04-18 Virtual currency transaction system Pending JP2019191631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018079687A JP2019191631A (en) 2018-04-18 2018-04-18 Virtual currency transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018079687A JP2019191631A (en) 2018-04-18 2018-04-18 Virtual currency transaction system

Publications (1)

Publication Number Publication Date
JP2019191631A true JP2019191631A (en) 2019-10-31

Family

ID=68390325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018079687A Pending JP2019191631A (en) 2018-04-18 2018-04-18 Virtual currency transaction system

Country Status (1)

Country Link
JP (1) JP2019191631A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020100743A1 (en) * 2018-11-13 2020-05-22 株式会社黒須情報システム技研 Server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272324A (en) * 2006-03-30 2007-10-18 Daiwa Securities Group Inc System, method and program for selecting execution destination in security transaction
JP2008059292A (en) * 2006-08-31 2008-03-13 Intertrade Co Ltd Order transfer processing system between a plurality of electronic transaction systems
WO2017145021A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Method and system for efficient transfer of cryptocurrency associated with a payroll on a blockchain that leads to An Automated payroll method and system based on smart contracts
JP2017200196A (en) * 2017-06-01 2017-11-02 株式会社bitFlyer Private node, processing method in private node, and program therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272324A (en) * 2006-03-30 2007-10-18 Daiwa Securities Group Inc System, method and program for selecting execution destination in security transaction
JP2008059292A (en) * 2006-08-31 2008-03-13 Intertrade Co Ltd Order transfer processing system between a plurality of electronic transaction systems
WO2017145021A1 (en) * 2016-02-23 2017-08-31 nChain Holdings Limited Method and system for efficient transfer of cryptocurrency associated with a payroll on a blockchain that leads to An Automated payroll method and system based on smart contracts
JP2017200196A (en) * 2017-06-01 2017-11-02 株式会社bitFlyer Private node, processing method in private node, and program therefor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"第1章 仮想通貨入門編!", 月刊仮想通貨 VOL.1 ゼロから始めるビットコイン!, JPN6021041889, pages 26 - 33, ISSN: 0004765758 *
資産100倍も目指せるビットコイン仮想通貨超入門, JPN6021041887, pages 25 - 27, ISSN: 0004765757 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020100743A1 (en) * 2018-11-13 2020-05-22 株式会社黒須情報システム技研 Server
JP2020080067A (en) * 2018-11-13 2020-05-28 株式会社黒須情報システム技研 Server and program
JP7191371B2 (en) 2018-11-13 2022-12-19 株式会社黒須情報システム技研 server, program

Similar Documents

Publication Publication Date Title
JP6660450B2 (en) Transaction management device, transaction management system, transaction management method in transaction management system, program
JP4435139B2 (en) Financial product transaction management device, program
JP6852025B2 (en) Information processing equipment, information processing methods and information processing programs
JP4682244B2 (en) Trading price determination method and trading price determination device
JP6959113B2 (en) Information processing equipment, information processing methods and information processing programs
JP2010061699A (en) Real-time settlement system for securities
US20200074460A1 (en) System and method for a stable cryptocurrency
CN109034948B (en) Transaction processing method, device, equipment and system
JP5103488B2 (en) Securities trading system and method, and program
JP2002092328A (en) Stock dealing system and stock dealing method
JP6694838B2 (en) Financial product purchase system, financial product purchase method, communication terminal device, and computer program
JP2007200310A (en) Real-time settlement system for securities, real-time settlement system for stock trading and real-time settlement device for securities
JP6110039B1 (en) Financial product purchase system, financial product purchase method, transaction server, and computer program
JP2019191631A (en) Virtual currency transaction system
JP4481754B2 (en) Securities trading system and method, and program
JP4544548B1 (en) Asset exchange support device, asset exchange support program, and asset exchange support method
JP2016110491A (en) Transaction information processing system
JP2005018287A (en) Stock buying/selling order making system and method
JP4012951B2 (en) Information processing system
JP7086917B2 (en) Information processing equipment, information processing methods and information processing programs
JP7161245B2 (en) Financial instrument transaction management device, financial instrument transaction management method, and program
JP7340049B2 (en) Order system, order method and program
KR102625311B1 (en) Method and apparatus for performing trading of goods
JP2023027225A (en) Financial product transaction management device, financial product transaction management method in financial product transaction management system and program
JP2021026568A (en) Securities settlement device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220510