METHOD AND SYSTEM FOR PREDICTING CRYPTOCURRENCY PRICE USING ARTIFICIAL INTELLIGENCE
20200410480 ยท 2020-12-31
Inventors
Cpc classification
G06Q20/3678
PHYSICS
International classification
Abstract
A method and system for predicting a cryptocurrency price using artificial intelligence. The cryptocurrency price prediction method includes the steps of: receiving information on each cryptocurrency from a cryptocurrency exchange server through an API and extracting a plurality of price data, by a data extraction unit; processing and storing the extracted price data in a storage unit, by a data refinement unit; creating a dataset configured of a mean and a standard deviation of each cryptocurrency, by a dataset construction unit; and creating a model using a dataset read function of each cryptocurrency, by a modeling unit.
Claims
1. A method of predicting a cryptocurrency price using artificial intelligence, the method comprising the steps of: (a) receiving information on each cryptocurrency from a cryptocurrency exchange server through an API and extracting a plurality of price data, by a data extraction unit; (b) processing and storing the extracted price data in a storage unit, by a data refinement unit; (c) creating a dataset configured of a mean and a standard deviation of each cryptocurrency, by a dataset construction unit; and (d) creating a model using a dataset read function of each cryptocurrency, by a modeling unit.
2. The method according to claim 1, further comprising the steps of: (e) predicting a price of each cryptocurrency through a regression analysis, by a prediction unit; and (f) verifying the predicted price, by a verification unit.
3. The method according to claim 2, wherein at steps (e) and (f), the prediction unit predicts the price on the basis of a first interval, and the verification unit extracts a current price on the basis of a second interval.
4. The method according to claim 3, wherein the verification unit calculates a difference ratio between the predicted price and the current price and outputs a verification result.
5. A system for predicting a cryptocurrency price using artificial intelligence, the system comprising: a data extraction unit for receiving information on each cryptocurrency from a cryptocurrency exchange server through an API and extracting a plurality of price data; a data refinement unit for processing and storing the extracted price data in a storage unit; a dataset construction unit for creating a dataset configured of a mean and a standard deviation of each cryptocurrency; and a modeling unit for creating a model using a dataset read function of each cryptocurrency.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015] Specific structural or functional description with respect to the embodiments according to the concept of the present invention disclosed in this specification is merely exemplified for the purpose of describing the embodiments according to the concept of the present invention, and the embodiments according to the concept of the present invention may be embodied in a variety of forms and are not limited to the embodiments described in this specification.
[0016] As the embodiments according to the concept of the present invention allows diverse changes and may have various forms, the embodiments will be illustrated in the drawings and described in detail in this specification. However, this is not intended to limit the embodiments according to the concept of the present invention to specific disclosed forms, and it is to be appreciated that all changes, equivalents, and substitutes that do not depart from the spirit and technical scope of the present invention are encompassed in the present invention.
[0017] The terms used herein are used only to describe particular embodiments and are not intended to limit the present invention. Singular expressions include plural expressions, unless the context clearly indicates otherwise. It will be further understood that the terms include, have and the like used herein is to specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude in advance the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
[0018] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0019]
[0020] Referring to
[0021] The price prediction server 100 may receive information on each cryptocurrency from the cryptocurrency exchange server 200 and predict a cryptocurrency price by extracting and processing a price data. The cryptocurrency exchange server 200 may transmit information on each cryptocurrency managed by the server to the price prediction server 100. The price prediction server 100 may receive a reference data from the database server 300 and purify the price data.
[0022]
[0023] Referring to
[0024] The data extraction unit 110 may receive information on each cryptocurrency from the cryptocurrency exchange server 200 using an API and extract a plurality of price data. At this point, as the information on each cryptocurrency, the data extraction unit 110 may receive at least one among information on the last transaction of the cryptocurrency exchange, detailed information on transactions pending registration of sales and purchase at the exchange or transactions currently in progress, detailed information on transactions that has been completed at the exchange, and index information using a public API, and may receive at least one among membership information, wallet information, a deposit address, last transaction information, detailed information on registration of sales and purchase transaction orders or transactions currently in progress, information on registration of sales and purchase transaction orders and transactions that has been completed, detailed information on completed sales and purchases, and information on cancellation of sales and purchase transactions using a private API.
[0025] The data extraction unit 110 may extract at least one among a starting transaction amount within the last 24 hours, a final transaction amount within the last 24 hours, a minimum transaction amount within the last 24 hours, a maximum transaction amount within the last 24 hours, a mean transaction amount within the last 24 hours, a currency transaction volume within the last 24 hours, a currency transaction volume within the last 7 days, a maximum purchase price of pending transactions, a minimum selling price of pending transactions, a 24-hour variation amount, a 24-hour variation rate, and a time stamp of current time on the basis of the received information.
[0026] The data refinement unit 120 may process and purify the extracted price data and store purified price data in the storage unit. At this point, the data refinement unit 120 may store the price data in an internal storage unit every 30 minutes using an API and may store the price data in the database server. For example, the data refinement unit 120 may construct a table using Mysql and store purified price data therein.
[0027] The dataset construction unit 130 may create a dataset configured of a mean and a standard deviation of each cryptocurrency on the basis of the purified price data. At this point, the 7-day transaction volume may have the least correlation with respect to the mean value. In addition, the minimum value may have the least correlation with respect to the mean value.
[0028] The modeling unit 140 may create a model using a dataset read function of each cryptocurrency. For example, although the dataset read function may be a Sklearn function, it is not limited thereto. At this point, since each cryptocurrency has a different price, a standard criterion is needed, and the Sklearn function is modeled using a MinMaxScaler function and may have a maximum value of +1 and a minimum value of 1.
[0029] The control unit 150 controls handling of a process related to execution of software operating in the price prediction server and controls operation of the components in the price prediction server 100.
[0030] On the basis of the modeling, the prediction unit 160 may predict a price of each cryptocurrency through a regression analysis using Tensorflow or Sklearn based on a machine learning SVM. At this point, the prediction unit may predict the price on the basis of a first interval. Although the first interval may be 4 hours, it is not limited thereto.
[0031] The verification unit 170 verifies the predicted price (step S360). At this point, the verification unit extracts the current price on the basis of a second interval. Although the second interval may be 30 minutes, it is not limited thereto. The verification unit may calculate a difference ratio between the predicted price and the current price and output a verification result.
[0032] The storage unit 180 may store the processed price data and the predicted price, and the communication unit 190 may transmit and receive information to and from the cryptocurrency exchange server 200 and the database server 300.
[0033]
[0034] Referring to
[0035] The data extraction unit 110 may receive at least one among information on the last transaction of the cryptocurrency exchange, detailed information on transactions pending registration of sales and purchase at the exchange or transactions currently in progress, detailed information on transactions that has been completed at the exchange, and index information using a public API, and may receive at least one among membership information, wallet information, a deposit address, last transaction information, detailed information on registration of sales and purchase transaction orders or transactions currently in progress, information on registration of sales and purchase transaction orders and transactions that has been completed, detailed information on completed sales and purchases, and information on cancellation of sales and purchase transactions using a private API.
[0036] The data extraction unit 110 may extract at least one among a starting transaction amount within the last 24 hours, a final transaction amount within the last 24 hours, a minimum transaction amount within the last 24 hours, a maximum transaction amount within the last 24 hours, a mean transaction amount within the last 24 hours, a currency transaction volume within the last 24 hours, a currency transaction volume within the last 7 days, a maximum purchase price of pending transactions, a minimum selling price of pending transactions, a 24-hour variation amount, a 24-hour variation rate, and a time stamp of current time on the basis of the received information.
[0037] The data refinement unit 120 extracts a price data by processing the extracted data and stores the price data in the storage unit (step S320). The data refinement unit 120 may input the price data in the database every 30 minutes using an API, and construct a table using Mysql and input purified price data therein.
[0038] The dataset construction unit 130 creates a dataset configured of a mean and a standard deviation of each cryptocurrency (step S330). The 7-day transaction volume may have the least correlation with respect to the mean value. In addition, the minimum value may have the least correlation with respect to the mean value.
[0039] The modeling unit 140 creates a model using a Sklearn function of each cryptocurrency (step S340). Since each cryptocurrency has a different price, a standard criterion is needed, and the Sklearn function is modeled using a MinMaxScaler function and may have a maximum value of +1 and a minimum value of 1.
[0040] The prediction unit predicts a price of each cryptocurrency through a regression analysis (step S350). At this point, the prediction unit may predict the price on the basis of a first interval.
[0041] The verification unit 170 verifies the predicted price (step S360). At this point, the verification unit extracts the current price on the basis of a second interval. The verification unit may calculate a difference ratio between the predicted price and the current price and output a verification result.
[0042]
[0043] Referring to
[0044]
[0045] Referring to
[0046] According to the present invention, a cryptocurrency price may be predicted by assigning a weighting value to a similarity rate of volatility of each cryptocurrency on the basis of an artificial intelligence technique.
[0047] Although the present invention has been described with reference to the embodiments shown in the figures, it is only illustrative and those skilled in the art may understand that various modifications and equivalent other embodiments are possible from the embodiments. Accordingly, the true scope of the present invention should be defined by the spirit of the appended claims.