KR20200036956A - virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program - Google Patents

virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program Download PDF

Info

Publication number
KR20200036956A
KR20200036956A KR1020180111853A KR20180111853A KR20200036956A KR 20200036956 A KR20200036956 A KR 20200036956A KR 1020180111853 A KR1020180111853 A KR 1020180111853A KR 20180111853 A KR20180111853 A KR 20180111853A KR 20200036956 A KR20200036956 A KR 20200036956A
Authority
KR
South Korea
Prior art keywords
transaction
exchange
arbitrage
entry
trading
Prior art date
Application number
KR1020180111853A
Other languages
Korean (ko)
Inventor
마상용
Original Assignee
마상용
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 마상용 filed Critical 마상용
Priority to KR1020180111853A priority Critical patent/KR20200036956A/en
Publication of KR20200036956A publication Critical patent/KR20200036956A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Abstract

Disclosed are a learning-based virtual money arbitrage trading automation server capable of remarkably saving system resources and communication traffics and a method and a computer program thereof. According to the present invention, the learning-based virtual money arbitrage trading automation server comprises: a communication unit receiving trading condition information for a virtual money arbitrage trade from a plurality of terminals; a storage unit storing the trading condition information and entry trading learning data; and a control unit. The control unit classifies and binds the received trading condition information into an arbitrage trading desired set, calls a current price application programming interface (API) of comparative and reference exchanges to acquire current price information of virtual money requested by the arbitrage trading desired set and checks entry possibility based on a bid price of the comparative exchange, an asked price of the reference exchange, and the trading condition information when receiving return information of the current price API of the comparative and reference exchanges. In the case that entry is possible, the control unit determines whether to advance an entry trade based on the entry trading learning data, a trading quantity of the arbitrage trading desired set checked as the entry is possible, and the received return information and enables the based virtual money arbitrage trading automation server to control the progress of the entry trading in accordance with a determination result.

Description

학습 기반 가상화폐 차익거래 자동화 서버, 학습 기반 가상화폐 차익거래 자동화 방법, 그리고 컴퓨터프로그램{virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program}Learning-based virtual currency arbitration trading automation server, learning-based virtual currency arbitration trading automation method, and computer program {virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program}

본 발명은 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법에 관한 것으로, 보다 상세하게는, 가상화폐 차익거래를 자동으로 수행하는 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법에 관한 것이다.The present invention relates to a learning-based virtual currency arbitration transaction automation server and a learning-based virtual currency arbitration transaction automation method, and more specifically, a learning-based virtual currency arbitration transaction automation server and a learning-based virtualization for automatically performing virtual currency arbitrage transaction. It relates to a method for automating the arbitrage of money.

가상화폐(假想 貨幣, virtual currency 또는 virtual money)는 지폐나 동전과 같은 실물이 없이 네트워크로 연결된 가상 공간에서 전자적 형태로 사용되는 디지털 화폐 또는 전자화폐를 말한다. 현재 가상화폐에 대한 정의에 대해 다양한 견해가 있으나, 본 발명에서 가상화폐는 비트코인, 이더리움, 리플 등 암호화폐를 포함하는 개념으로 정의하며, 정부에 의해 통제 받는 디지털 화폐 및 정부에 의해 통제 받지 않는 디지털 화폐를 모두 포함하는 개념으로 정의한다. Virtual currency (virtual currency or virtual money) refers to digital money or electronic money that is used in electronic form in a networked virtual space without real objects such as bills or coins. Currently, there are various views on the definition of virtual currency, but in the present invention, virtual currency is defined as a concept including cryptocurrency such as Bitcoin, Ethereum, and Ripple, and is not controlled by the government and digital currency controlled by the government. It is defined as a concept that includes all digital currencies.

현재 가상화폐 거래 시장은 동일한 가상화폐임에도 가상화폐 거래소 간에 시세 차이가 발생하고, 이로 인하여 자연스럽게 차익거래(arbitrage) 환경이 만들어지고 있다. 하지만, 가상화폐 거래에 대한 각국의 금융제재 등으로 차익거래를 할 있는 방법(기법)들에 많은 제약이 발생하고 있다. 실제로 제재를 회피하면서 언제 발생할 지 모르는 차익 상황을 24시간 모니터링 할 수 없어 사람들이 많은 거래 기회를 놓치고 있는 실정이다. Even though the current cryptocurrency trading market is the same cryptocurrency, there are market differences between cryptocurrency exchanges, which naturally creates an arbitrage environment. However, there are many restrictions on the methods (techniques) for arbitrage trading due to financial sanctions of each country for virtual currency transactions. In fact, while avoiding sanctions, it is impossible to monitor the arbitrage situation that may not occur at any time, so people are missing many trading opportunities.

본 발명이 이루고자 하는 기술적 과제는 차익거래를 자동화할 수 있는 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법을 제공하는데 있다.The technical problem to be achieved by the present invention is to provide a learning-based virtual currency arbitration transaction automation server and a learning-based virtual currency arbitration transaction automation method capable of automating arbitrage transactions.

본 발명이 이루고자 하는 다른 기술적 과제는 차익거래에 있어서 기존의 암호화폐 봇들의 서버 호출 및 리턴 방식을 개선하여 시스템 자원 및 통신 트래픽을 획기적으로 절약할 수 있는 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법을 제공하는데 있다.Another technical problem to be achieved by the present invention is a learning-based cryptocurrency arbitrage trading automation server and a learning base that can dramatically save system resources and communication traffic by improving the server call and return method of existing cryptocurrency bots in arbitrage trading. It is to provide a method of automating cryptocurrency arbitrage.

본 발명이 이루고자 하는 또 다른 기술적 과제는 차익거래 있어서 슬리피지율을 낮추어 차익거래를 안전하고 완벽하게 성공시킬 수 있는 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법을 제공하는데 있다Another technical problem to be achieved by the present invention is to provide a learning-based virtual currency arbitration transaction automation server and a learning-based virtual currency arbitration transaction automation method capable of safely and completely succeeding in arbitrage trading by lowering the slippage rate in arbitrage trading.

상기의 기술적 과제를 달성하기 위한, 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 방법은, 복수의 단말기로부터 가상화폐 차익거래를 위한 거래 조건 정보를 수신하는 단계, 상기 수신된 거래 조건 정보를 분류하여 차익 거래 희망 집합으로 묶는 단계, 상기 차익 거래 희망 집합이 요청하는 가상화폐의 시세 정보를 획득하기 위해, 비교 거래소 및 기준 거래소의 시세 API(Application Programming Interface)를 호출하는 단계, 상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매도 호가, 상기 기준 거래소의 매수 호가, 및 상기 거래 조건 정보를 기초로 진입 가능 여부를 확인하는 단계, 상기 진입 가능으로 확인된 경우에는, 진입 거래 학습 데이터, 상기 진입 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 진입 거래 진행 여부를 판단하는 단계, 및 상기 가상화폐 차익거래 자동화 서버가 상기 판단 결과에 따라 진입 거래를 진행하는 단계를 포함할 수 있다.In order to achieve the above technical problem, the learning-based cryptocurrency arbitrage transaction automation method according to the present invention comprises: receiving transaction condition information for virtual currency arbitrage transaction from a plurality of terminals, classifying the received transaction condition information Bundling into a desired set of arbitrage trading, in order to obtain market price information of a cryptocurrency requested by the desired set of arbitrage trading, calling a quote API (Application Programming Interface) of a comparison exchange and a reference exchange, the comparison exchange and the reference When return information of the exchange's quote API is received, confirming whether or not access is possible based on the selling price of the comparison exchange, the buying price of the reference exchange, and the transaction condition information, when the entry is confirmed to be possible, Entry transaction learning data, transaction quantity of desired set of arbitrage transactions identified as possible entry, The method may include determining whether to proceed with an entry transaction based on the received return information, and performing an entry transaction according to the determination result by the virtual currency arbitration transaction automation server.

상기 진입 거래를 진행하는 단계는, 상기 비교 거래소의 매수 API를 호출하고 상기 기준 거래소의 공매도 API를 호출하는 단계, 상기 가상화폐의 매수가 모두 성공되거나 상기 매수 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계, 상기 가상화폐의 공매도가 모두 성공되거나 상기 공매도 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계, 및 상기 저장된 거래 기록을 학습하여 상기 진입 거래 학습 데이터를 업데이트하는 단계를 포함할 수 있다.In the step of proceeding with the entry transaction, the purchase API of the comparative exchange is called and the short selling API of the reference exchange is called, the purchase of the virtual currency is all successful or the entry transaction learning data is indicated after the purchase API call When the time to elapse, storing the transaction record of the virtual currency, when all of the short selling of the virtual currency is successful or the time indicated by the entry transaction learning data after calling the short selling API, the transaction recording of the virtual currency And storing the stored transaction records and updating the entry transaction learning data.

상기 거래 기록은, 상기 가상화폐의 매수 수량, 공매도 수량, 및 상기 진입 거래 학습 데이터가 지시하는 시간이 경과된 시점에, 상기 가상화폐의 매수 잔량 및 공매도 잔량을 포함할 수 있다.The transaction record may include the purchase quantity of the virtual currency, the short selling quantity, and the remaining balance of the buying and selling of the virtual currency when the time indicated by the entry transaction learning data has elapsed.

상기 업데이트하는 단계는, 상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하는 단계, 및 상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트하는 단계를 포함할 수 있다.The updating may include generating a slippage percentage based on the transaction record, and updating a sleeppage percentage indicated by the entry transaction learning data based on the transaction record and the generated slippage percentage. It can contain.

상기 진입 거래 진행 여부를 판단하는 단계는, 상기 비교 거래소의 시세 API의 리턴정보를 기초로 상기 비교 거래소의 매도 호가 잔량을 확인하는 단계, 상기 기준 거래소의 시세 API의 리턴정보를 기초로 상기 기준 거래소의 매수 호가 잔량을 확인하는 단계, 상기 확인된 매도 호가 잔량, 상기 매수 호가 잔량, 상기 차익 거래 희망 집합의 거래 잔량 및 상기 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 거래 진행 여부를 판단하는 단계를 포함할 수 있다.The step of determining whether or not the entry transaction proceeds comprises: checking the remaining price of the selling price of the comparison exchange based on the return information of the quote API of the comparison exchange, and the reference exchange based on the return information of the quote API of the reference exchange Determining the remaining bid price of the bid, determining the remaining bid price, the remaining bid price, the remaining balance of the desired arbitrage trading set, and determining whether to proceed with the transaction based on the percentage of slippage indicated by the entry transaction learning data It may include steps.

상기 진입 거래 진행 여부를 판단하는 단계는, 상기 진입 거래 학습 데이터, 상기 차익 거래 희망 집합의 거래 수량, 상기 리턴 정보를 기초로 거래가 가능한지 여부를 판단하는 단계, 상기 거래가 가능한 경우에는, 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하는 단계, 및 상기 확인 결과를 기초로 거래 진행 여부를 판단하는 단계를 포함할 수 있다.The step of determining whether to proceed with the entry transaction includes: determining whether a transaction is possible based on the entry transaction learning data, the transaction quantity of the desired arbitrage transaction set, and the return information, and when the transaction is possible, the arbitrage transaction hope The method may include determining a balance associated with the terminal that has transmitted the transaction condition information included in the set, and determining whether to proceed with the transaction based on the confirmation result.

상기 잔고를 확인하는 단계는, 상기 비교 거래소의 보유 자금과 상기 거래 조건 정보에 포함된 거래량의 매수 금액과 비교하는 단계, 및 상기 기준 거래소의 예치금과 상기 거래 조건 정보에 포함된 거래량의 매도 금액과 비교하는 단계를 포함할 수 있다.The checking of the balance may include comparing the holding amount of the comparative exchange with the purchase amount of the transaction amount included in the transaction condition information, and the selling amount of the deposit of the reference exchange and the transaction amount included in the transaction condition information. And comparing.

상기 학습 기반 가상화폐 차익거래 자동화 방법은, 상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매수 호가, 상기 기준 거래소의 매도 호가 및 상기 거래 조건 정보를 기초로 청산 가능 여부를 확인하는 단계, 상기 청산 가능으로 확인된 경우에는, 청산 거래 학습 데이터, 상기 청산 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 청산 거래 진행 여부를 판단하는 단계, 및 상기 판단 결과에 따라 청산 거래를 진행하는 단계를 더 포함할 수 있다.In the learning-based cryptocurrency arbitrage trading automation method, when return information of the quote APIs of the comparison exchange and the reference exchange is received, the purchase price of the comparison exchange, the selling price of the reference exchange, and the transaction condition information are cleared. Determining whether it is possible, if it is determined that the liquidation is possible, determining whether to perform a liquidation transaction based on the learning data of the liquidation transaction, the transaction quantity of the desired set of arbitrage transactions identified as the liquidation possibility, and the received return information The method may further include performing a liquidation transaction according to the determination result.

상기 청산 거래를 진행하는 단계는, 상기 비교 거래소의 매도 API를 호출하고 상기 기준 거래소의 공매도 청산 API를 호출하는 단계, 상기 가상화폐의 매도가 모두 성공되거나 상기 매도 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계, 상기 가상화폐의 공매도 청산이 모두 성공되거나 상기 공매도 청산 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계, 및 상기 저장된 거래 기록을 학습하여 상기 청산 거래 학습 데이터를 업데이트하는 단계를 포함할 수 있다.In the step of proceeding with the liquidation transaction, the selling API of the comparison exchange is called and the short selling liquidation API of the reference exchange is called, the selling of the virtual currency is all successful, or the liquidation transaction learning data is obtained after the selling API call. When the instructing time has elapsed, storing the transaction record of the virtual currency, when all the short selling liquidation of the virtual currency is successful or when the time indicated by the clearing transaction learning data after calling the short selling API is passed, the virtual currency The method may include storing a transaction record of and updating the clearing transaction learning data by learning the stored transaction record.

상기 업데이트하는 단계는, 상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하는 단계, 및 상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트하는 단계를 포함할 수 있다.The updating may include generating a slippage percentage based on the transaction record, and updating a sleeppage percentage indicated by the liquidation transaction learning data based on the transaction record and the generated slippage percentage. It can contain.

상기 청산 거래 진행 여부를 판단하는 단계는, 상기 비교 거래소의 시세 API의 리턴정보를 기초로 상기 비교 거래소의 매수 호가 잔량을 확인하는 단계, 상기 기준 거래소의 시세 API의 리턴정보를 기초로 상기 기준 거래소의 매도 호가 잔량을 확인하는 단계, 및 상기 확인된 매수 호가 잔량, 상기 확인된 매도 호가 잔량, 상기 차익 거래 희망 집합의 거래 잔량 및 상기 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 청산 거래 진행 여부를 판단하는 단계를 포함할 수 있다.The step of determining whether or not the liquidation transaction proceeds comprises: checking the remaining amount of the bid price of the comparison exchange based on the return information of the quote API of the comparison exchange, and the reference exchange based on the return information of the quote API of the reference exchange Checking the selling price balance of the selling price, and the confirmed selling price remaining amount, the checked selling price remaining amount, the trading balance of the desired set of arbitrage trading, and the liquidation transaction proceeding based on the percentage of slippage indicated by the liquidation transaction learning data It may include determining whether or not.

상기 청산 거래 진행 여부를 판단하는 단계는, 상기 청산 거래 학습 데이터, 상기 차익 거래 희망 집합의 거래 수량, 상기 리턴 정보를 기초로 거래가 가능한지 여부를 판단하는 단계, 상기 거래가 가능한 경우에는, 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하는 단계, 및 상기 확인 결과를 기초로 거래 진행 여부를 판단하는 단계를 포함할 수 있다.Determining whether or not to proceed with the liquidation transaction comprises: determining whether a transaction is possible based on the liquidation transaction learning data, the transaction quantity of the desired arbitrage transaction set, and the return information, and if the transaction is possible, the arbitrage transaction hope The method may include determining a balance associated with the terminal that has transmitted the transaction condition information included in the set, and determining whether to proceed with the transaction based on the confirmation result.

상기 잔고를 확인하는 단계는, 상기 비교 거래소의 보유 코인과 상기 거래 조건 정보에 포함된 거래량과 비교하는 단계, 및 상기 기준 거래소의 보유 자금과 상기 거래 조건 정보에 포함된 거래량의 매수 금액과 비교하는 단계를 포함할 수 있다.The checking of the balance may include comparing the amount of coins held in the comparative exchange with the amount of transaction included in the transaction condition information, and comparing the amount of money held in the reference exchange with the amount of the transaction amount included in the transaction condition information. It may include steps.

상기의 다른 기술적 과제를 달성하기 위한, 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 서버는, 복수의 단말기로부터 가상화폐 차익거래를 위한 거래 조건 정보를 수신하는 통신부, 상기 거래 조건 정보 및 진입 거래 학습 데이터를 저장하는 저장부 및 상기 수신된 거래 조건 정보를 분류하여 차익 거래 희망 집합으로 묶고, 상기 차익 거래 희망 집합이 요청하는 가상화폐의 시세 정보를 획득하기 위해, 비교 거래소 및 기준 거래소의 시세 API(Application Programming Interface)를 호출하며, 상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매도 호가, 상기 기준 거래소의 매수 호가, 및 상기 거래 조건 정보를 기초로 진입 가능 여부를 확인하고, 상기 진입 가능으로 확인된 경우에는, 상기 진입 거래 학습 데이터, 상기 진입 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 진입 거래 진행 여부를 판단하며, 상기 가상화폐 차익거래 자동화 서버가 상기 판단 결과에 따라 진입 거래를 진행을 제어하는 제어부를 포함할 수 있다.In order to achieve the above other technical problems, the learning-based virtual currency arbitration transaction automation server according to the present invention is a communication unit that receives transaction condition information for virtual currency arbitrage transaction from a plurality of terminals, learning the transaction condition information and entry transaction In order to classify the storage unit for storing data and the received transaction condition information into a desired arbitrage trading set and obtain the market price information of the cryptocurrency requested by the desired arbitrage trading set, the comparison API of the reference exchange and the reference exchange ( Application Programming Interface), and when return information of the quote APIs of the comparison exchange and the reference exchange is received, whether the selling price of the comparison exchange, the buying price of the reference exchange, and the transaction condition information can be entered And if it is confirmed that the entry is possible, the entry transaction learning Based on the transaction quantity of the desired set of arbitrage transactions identified as possible to enter, and whether or not to proceed with an entry transaction based on the received return information, the virtual currency arbitration transaction automation server proceeds with the entry transaction according to the determination result. It may include a control unit to control.

본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 서버 및 학습 기반 가상화폐 차익거래 자동화 방법에 의하면, 기준 거래소 및 비교 거래소로부터 자동으로 시세 정보를 획득하고 이를 비교 하여 차익거래를 자동으로 진행할 수 있고, According to the learning-based virtual currency arbitration transaction automation server and the learning-based virtual currency arbitration transaction automation method according to the present invention, it is possible to automatically acquire market price information from the reference exchange and the comparative exchange and compare them to automatically proceed with the arbitrage transaction.

복수의 단말기로부터 수신된 거래 조건 정보를 분류하여 차익 거래 희망 집합으로 묶어서 처리함으로써, 기존의 암호화폐 봇들의 서버 호출 및 리턴 방식을 개선하여 시스템 자원 및 통신 트래픽을 획기적으로 절약할 수 있으며,By classifying transaction condition information received from a plurality of terminals and processing them in a desired set of arbitrage trades, it is possible to dramatically improve system call and return methods of existing cryptocurrency bots, dramatically reducing system resources and communication traffic,

학습 기반 알고리즘을 통해 기존의 차익거래 결과를 바탕으로 슬리피지율에 대한 학습을 통해 적응적으로 인지하고 이를 차익거래에 반영함으로써, 차익거래를 안전하고 완벽하게 성공시킬 수 있다.Through learning-based algorithms, it is possible to safely and completely succeed in the arbitrage transaction by adaptively recognizing and reflecting it in the arbitrage transaction through learning about sleepy rates based on the results of existing arbitrage transactions.

도 1은 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 시스템에 대한 바람직한 일실시예의 구성을 도시한 구성도이다.
도 2는 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 서버에 대한 바람직한 일실시예의 구성을 도시한 블록도이다.
도 3a는 가상화폐의 거래 조건 정보를 입력하기 위한 설정 현황 인터페이스를 도시한 도면이다.
도 3b는 가상화폐의 거래 조건 정보를 입력하기 위한 설정 인터페이스를 도시한 도면이다.
도 4는 가상화폐 차익거래 운영 현황을 제공하는 운영 현황 인터페이스를 도시한 도면이다.
도 5는 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 방법에 대한 바람직한 일실시예의 수행과정을 도시한 순서도이다.
1 is a configuration diagram showing the configuration of a preferred embodiment of the learning-based cryptocurrency arbitrage transaction automation system according to the present invention.
2 is a block diagram showing the configuration of a preferred embodiment of a learning-based cryptocurrency arbitrage transaction automation server according to the present invention.
3A is a diagram showing a setting status interface for inputting transaction condition information of a virtual currency.
3B is a diagram showing a setting interface for inputting transaction condition information of a virtual currency.
4 is a view showing an operation status interface that provides a virtual currency arbitrage transaction status.
5 is a flowchart illustrating a preferred embodiment of a method for automating a transaction-based cryptocurrency arbitrage transaction according to the present invention.

이하에서 첨부된 도면들을 참조하여 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 서버, 학습 기반 가상화폐 차익거래 자동화 방법에 대해 상세하게 설명한다. 이때 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.Hereinafter, the learning-based virtual currency arbitration transaction automation server and the learning-based virtual currency arbitration transaction automation method according to the present invention will be described in detail with reference to the accompanying drawings. At this time, the configuration and operation of the present invention illustrated in the drawings and described by the present invention are described as at least one embodiment, and the technical idea of the present invention and its core configuration and operation are not limited thereby.

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 이는 당해 기술분야에 종사하는 기술자의 의도 또는 관례 또는 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 함을 밝혀 두고자 한다.The terminology used in the present invention is a general terminology that is currently widely used while considering functions in the present invention, but this may vary depending on the intention or custom of a person skilled in the art or the appearance of a new technology. In addition, in certain cases, some terms are arbitrarily selected by the applicant, and in this case, their meanings will be described in detail in the description of the applicable invention. Therefore, the terms used in the present invention are intended to reveal that the terms should be defined based on the meanings of the terms and the contents of the present invention, rather than simply the names of the terms.

도 1은 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 시스템에 대한 바람직한 일실시예의 구성을 도시한 구성도이다.1 is a configuration diagram showing the configuration of a preferred embodiment of the learning-based cryptocurrency arbitrage transaction automation system according to the present invention.

도 1을 참조하면, 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 시스템(1)은 기준 거래소(10), 비교 거래소(20), 복수의 단말기(30 내지 30-3) 및 학습 기반 가상화폐 차익거래 자동화 서버(100)를 포함할 수 있다. 기준 거래소(10), 비교 거래소(20), 복수의 단말기(30 내지 30-3) 및 학습 기반 가상화폐 차익거래 자동화 서버(100)는 네트워크(7)를 통해 연결될 수 있다. 네트워크(7)는 유무선 네트워크일 수 있고, 인터넷일 수 있다. 네트워크(7)는 가입자망 및 백본망으로 구성될 수 있고, 백본망은 인터넷일 수 있으며, 가입자망은 FTTH(Fiber To The Home), ADSL(Asymmetric Digital Subscriber Line), 케이블망, Wireless LAN(IEEE 802.11b, IEEE 802.11a, IEEE802.11g, IEEE802.11n), WIBro(Wireless Broadband), Wimax 및 HSDPA(High Speed Downlink Packet Access)일 수 있다. 1, the learning-based cryptocurrency arbitrage trading automation system 1 according to the present invention includes a reference exchange 10, a comparative exchange 20, a plurality of terminals 30 to 30-3 and a learning-based cryptocurrency margin It may include a transaction automation server 100. The reference exchange 10, the comparison exchange 20, the plurality of terminals 30 to 30-3, and the learning-based cryptocurrency arbitrage transaction automation server 100 may be connected through the network 7. The network 7 may be a wired or wireless network, or may be the Internet. The network 7 may be composed of a subscriber network and a backbone network, the backbone network may be the Internet, and the subscriber network is FTTH (Fiber To The Home), ADSL (Asymmetric Digital Subscriber Line), cable network, Wireless LAN (IEEE It may be 802.11b, IEEE 802.11a, IEEE802.11g, IEEE802.11n), Wireless Broadband (WIBro), Wimax, and High Speed Downlink Packet Access (HSDPA).

기준 거래소(10) 및 비교 거래소(20)는 가상화폐 거래소로 가상화폐 거래를 위한 API(Application Programming Interface)를 제공하는 시스템을 의미한다. 여기서, 기준 거래소(10)는 공매도가 가능한 가상화폐 거래소를 의미한다.The reference exchange 10 and the comparative exchange 20 refer to a system that provides an application programming interface (API) for virtual currency trading as a virtual currency exchange. Here, the reference exchange 10 means a cryptocurrency exchange capable of short selling.

기준 거래소(10) 및 비교 거래소(20)는 시세 정보를 리턴하는 시세 API (Application Programming Interface), 가상 화폐를 매수하기 위한 매수 API 및 가상 화폐를 매도하기 위한 매도 API를 제공할 수 있다. 기준 거래소(10)는 공매도를 위한 공매도 API 및 공매도 청산 API를 더 제공할 수 있다.The reference exchange 10 and the comparative exchange 20 may provide a quote API (Application Programming Interface) that returns quote information, a buy API for buying virtual currency, and a sell API for selling virtual currency. The reference exchange 10 may further provide a short selling API for short selling and a short selling clearing API.

단말기(30)는 사용자가 사용하는 전자장치를 의미한다. 상기 전자 장치는 데스크톱, 랩톱, 태블릿, 미니 컴퓨터, 노트북, 핸드헬드 컴퓨터 등의 퍼스널 컴퓨터 시스템일 수 있고, 내비게이터 또는 IPTV 및 Smart TV 등의 디지털 TV일 수 있고, 휴대폰, 스마트 폰(smart phone), 디지털방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player) 및 빔프로젝터일 수 있다.The terminal 30 refers to an electronic device used by a user. The electronic device may be a personal computer system such as a desktop, a laptop, a tablet, a mini computer, a notebook, a handheld computer, a navigator or a digital TV such as IPTV and Smart TV, a mobile phone, a smart phone, Digital broadcasting terminals, PDAs (Personal Digital Assistants), PMPs (Portable Multimedia Players), and beam projectors.

서버(100)는 단발기(30)로부터 가상화폐의 거래 조건 정보를 수신하고, 상기 거래 조건 정보에 따라 가상화폐 차익거래를 수행할 수 있다. 도 1에서 단말기를 3개로 도시하였으나, 본 발명은 이에 한정되지 않고, 서버(100)는 한 개 또는 한 개 이상 단말기로부터 거래 조건 정보를 수신할 수 있다.The server 100 may receive the transaction condition information of the virtual currency from the single machine 30 and perform a virtual currency arbitrage transaction according to the transaction condition information. Although three terminals are illustrated in FIG. 1, the present invention is not limited thereto, and the server 100 may receive transaction condition information from one or more terminals.

도 2는 본 발명에 따른 가상화폐 차익거래 자동화 서버에 대한 바람직한 일실시예의 구성을 도시한 블록도이다.2 is a block diagram showing the configuration of a preferred embodiment of the virtual currency arbitration transaction automation server according to the present invention.

도 2를 참조하면, 서버(100)는 통신부(110), 제어부(120) 및 저장부(130)를 포함할 수 있다.Referring to FIG. 2, the server 100 may include a communication unit 110, a control unit 120, and a storage unit 130.

통신부(110)는 네트워크(7)를 통해 기준 거래소(10), 비교 거래소(20) 및 복수의 단말기(30 내지 30-3)와 데이터 또는 정보를 송수신할 수 있다. 통신부(110)는 네트워크 인터페이스부, 랜카드, 랜 어탭터를 포함할 수 있다.The communication unit 110 may transmit and receive data or information with the reference exchange 10, the comparison exchange 20, and the plurality of terminals 30 to 30-3 through the network 7. The communication unit 110 may include a network interface unit, a LAN card, and a LAN adapter.

제어부(120)는 운영 체제와 함께 프로그램 코드를 실행하고 데이터를 생성 및 사용하는 동작을 한다. 운영 체제는 일반적으로 공지되어 있으며 이에 대해 보다 상세히 기술하지 않는다. 예로서, 운영 체제는 Window 계열 OS, Unix, LINUX, Palm OS, DOS, 안드로이드(Android), iOS 및 매킨토시 등일 수 있고, 라우터용 운영 체제일 수 있다. 운영 체제, 다른 컴퓨터 코드 및 데이터는 제어부(120)와 연결되어 동작하는 저장부(130) 내에 존재할 수 있다. 상기 프로그램 코드는 소스 코드 생성 모듈 및 실행 코드 생성 모듈일 수 있다.The control unit 120 executes program code together with an operating system and generates and uses data. Operating systems are generally known and are not described in more detail. For example, the operating system may be a Windows-based OS, Unix, LINUX, Palm OS, DOS, Android, iOS, and Macintosh, and may be an operating system for a router. The operating system, other computer codes, and data may be present in the storage unit 130 connected to the control unit 120 and operated. The program code may be a source code generation module and an execution code generation module.

저장부(130)는 판독 전용 메모리(ROM), 랜덤 액세스 메모리(RAM), 하드 디스크 드라이브 등으로 구현될 수 있다. 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 관리되는 저장매체일 수 있다. 또한 저장부(130)에는 데이터베이스가 형성될 수 있고, 상기 데이터베이스는 복수의 테이블을 포함하고, 제어부(120)는 상기 복수의 테이블에 해당 데이터 또는 정보를 저장할 수 있다.The storage unit 130 may be implemented as a read-only memory (ROM), a random access memory (RAM), a hard disk drive, or the like. It may be a storage medium distributed in a networked computer system and managed in a distributed manner. In addition, a database may be formed in the storage unit 130, the database includes a plurality of tables, and the control unit 120 may store corresponding data or information in the plurality of tables.

도 3a는 가상화폐의 거래 조건 정보를 입력하기 위한 설정 현황 인터페이스를 도시한 도면이고, 도 3b는 가상화폐의 거래 조건 정보를 입력하기 위한 설정 인터페이스를 도시한 도면이다.3A is a diagram showing a setting status interface for inputting transaction condition information of a virtual currency, and FIG. 3B is a diagram showing a setting interface for inputting transaction condition information of a virtual currency.

도 3a 내지 도 3b를 참조하면, 단말기(30)는 설정 현황 인터페이스(300)를 디스플레이할 수 있다. 설정 현황 인터페이스(300)는 현재 설정된 거래 조건 정보를 표시할 수 있다. 여기서 거래 조건 정보는 가상화폐 정보, 기준 거래소 정보, 비교 거래소 정보, 조건 세부 정보, 진입 범위 정보 및 청산 범위 정보를 포함할 수 있고, 상기 조건 세부 정보는 진입 조건 정보, 청산 조건 정보 및 매매 수량 정보를 포함할 수 있다. 일예로, 도 3a와 같이, 설정 현황 인터페이스(300)는 현재 설정된 가상화폐(리플), 기준 거래소(빗썸), 비교 거래소(비트파이넥스), 조건 세부 정보(12%->35%(50개)), 안정 진입 범위(±0.2%) 및 청산 집인 범위(±0.2%), 프리미엄(12%)을 표시한다.3A to 3B, the terminal 30 may display the setting status interface 300. The setting status interface 300 may display currently set transaction condition information. Here, the transaction condition information may include cryptocurrency information, reference exchange information, comparative exchange information, condition details, entry range information, and liquidation scope information, and the condition details may include entry condition information, liquidation condition information, and transaction quantity information It may include. As an example, as shown in Figure 3a, the setting status interface 300 is the currently set virtual currency (ripple), the standard exchange (bit thumb), the comparative exchange (bitfinex), condition details (12%-> 35% (50) ), Stable entry range (± 0.2%), liquidation collection range (± 0.2%), and premium (12%).

사용자는 설정 현황 인터페이스(300)의 "관리 및 상세 보기" 버튼을 클릭하여, 거래 조건 정보를 설정 또는 재설정할 수 있다. "관리 및 상세 보기"버튼이 클릭되면, 단말기(30)는 설정 인터페이스(400)를 디스플레이할 수 있다. 사용자는 설정 인터페이스(400)를 통해 거래 조건 정보를 설정 및 재설정할 수 있다. 예를 들어, 도 3b와 같이, 사용자는 "1. 거래소 및 코인 선택"에서 가상화폐(코인), 기준 거래소, 비교 거래소를 선택하여, 가상화폐 정보, 기준 거래소 정보 및 비교 거래소 정보를 설정할 수 있다.The user can set or reset transaction condition information by clicking the "Management and Detailed View" button of the setting status interface 300. When the "Management and Detailed View" button is clicked, the terminal 30 may display the setting interface 400. The user can set and reset transaction condition information through the setting interface 400. For example, as shown in FIG. 3B, the user can set virtual currency information, reference exchange information, and comparative exchange information by selecting a virtual currency (coin), a reference exchange, or a comparative exchange in "1. .

사용자는 "2. 거래 조건 설정"에서 진입 퍼센트(예를 들어, 1.2%), 청산 퍼센트(예를 들어, 3.5%) 및 매매수량(예를 들어, 100개)을 입력하여, 진입 조건 정보, 청산 조건 정보 및 매매 수량 정보를 설정할 수 있다. 여기서, 사용자는 복수의 조건 상세 정보(예를 들어, 1st 및 2st)를 입력할 수 있다. The user enters an entry percentage (eg, 1.2%), a liquidation percentage (eg, 3.5%) and a trading quantity (eg, 100) in “2. You can set liquidation condition information and trading quantity information. Here, the user can input a plurality of condition detailed information (for example, 1st and 2st).

사용자는 "3. 상세 조절 설정"에서 안정 진입(예를 들어, ±0.2%), 안정 청산(예를 들어, ±0.2%)을 입력하여, 진입 범위 정보 및 청산 범위 정보를 설정할 수 있다.The user may set the entry range information and the settlement range information by inputting stable entry (eg, ± 0.2%) and stable settlement (eg, ± 0.2%) in "3. Detailed adjustment setting".

도 4는 가상화폐 차익거래 운영 현황을 제공하는 운영 현황 인터페이스를 도시한 도면이다.4 is a view showing an operation status interface that provides a virtual currency arbitrage transaction status.

도 4를 참조하면, 단말기(30)는 운영 현황 인터페이스(500)를 디스플레이할 수 있다. 운영 현황 인터페이스(500)는 진행 상태 정보(510, 520)를 디스플레이한다. 여기서 진행 상태 정보는 대기, 대기 중지, 진입, 진입 중지, 매수 대기, 공매도 대기, 및 매도 대기를 지시할 수 있다. 대기는 자산과 보유 코인이 모두 거래 가능한 상황을 의미한다. 대기 중지는 매수, 공매수 가능 자산이 부족한 경우를 의미한다. 진입은 기준 거래소와 비교 거래소가 모두 정상적으로 거래가 일어나 청산 비교를 하고 있는 상황을 의미한다. 진입 중지는 기준 거래소의 매도 설정 수량과 실제 보유 수량 보다 적을 경우를 의미한다. 매수 대기는 비교 거래소에서 매수 실패로 거래 대기 중을 의미한다. 공매도 대기는 기준 거래소에서 공매도 실패로 거래 대기 중을 의미한다. 매도 대기는 비교 거래소에서 매도 실패로 거래 대기 중을 의미한다. 공매도 청산 대기는 기준 거래소에서 공매도 청산 실패로 거래 대기 중을 의미한다.Referring to FIG. 4, the terminal 30 may display the operation status interface 500. The operation status interface 500 displays progress status information 510 and 520. Here, the progress status information may indicate waiting, stopping waiting, entering, stopping entering, waiting to buy, waiting to sell short, and waiting to sell. The atmosphere means the situation where both assets and coins can be traded. Suspension of waiting means that there is a shortage of available assets to buy or sell. Entry refers to a situation where both the reference exchange and the comparative exchange are trading normally and performing liquidation comparison. Stopping entry means that there is less than the set quantity sold and the actual quantity held by the reference exchange. Waiting for a purchase means waiting for a transaction due to a failure to buy at the comparative exchange. Waiting for a short sale means waiting for a transaction due to a short selling at the reference exchange. Waiting for a sale means waiting for a transaction due to a sell failure at the comparative exchange. Waiting for liquidation of the short selling means that the trading is waiting for the short selling of the short selling at the standard exchange.

일예로, 도 4에서 운영 현황 인터페이스(500)에서는 첫 번째 차익거래(1st)의 조건 상세 정보에 대한 진행 상태 정보(510)는 "진입 대기"를 표시하고, 두 번째 차익거래(2st)의 조건 상세 정보에 대한 진행 상태 정보(520)는 "청산 대기"를 표시하고 있다.For example, in FIG. 4, in the operation status interface 500, the progress status information 510 for the condition detail information of the first arbitrage transaction 1st displays “waiting for entry”, and the condition of the second arbitrage transaction 2st The progress status information 520 for the detailed information indicates "wait for liquidation."

서버(100)는 단말기(30)에 로부터 설정 현황 인터페이스(300), 설정 인터페이스(400) 및 운영 현황 인터페이스(500)를 디스플레이하기 위한 프로그램 코드를 실시간으로 전송할 수 있고, 단말기(30)의 요청에 대한 응답으로 전송할 수 있다. 또한, 서버(100)는 단말기(30)에 설정 현황 인터페이스(300), 설정 인터페이스(400) 및 운영 현황 인터페이스(500)에 디스플레이되는 정보를 실시간으로 전송할 수 있고, 단말기(30)의 요청에 대한 응답으로 전송할 수 있다.The server 100 may transmit the program code for displaying the setting status interface 300, the setting interface 400, and the operation status interface 500 from the terminal 30 in real time, and upon request of the terminal 30. In response. In addition, the server 100 may transmit information displayed on the setting status interface 300, the setting interface 400, and the operation status interface 500 to the terminal 30 in real time, and may respond to the request of the terminal 30. Can be sent in response.

도 5는 본 발명에 따른 학습 기반 가상화폐 차익거래 자동화 방법에 대한 바람직한 일실시예의 수행과정을 도시한 순서도이다.5 is a flowchart illustrating a preferred embodiment of a method for automating a transaction-based cryptocurrency arbitrage transaction according to the present invention.

도 5를 참조하면, 통신부(110)가 복수의 단말기(30 내지 30-3)로부터 가상화폐 차익거래를 위한 거래 조건 정보를 수신한다(S100).Referring to FIG. 5, the communication unit 110 receives transaction condition information for cryptocurrency arbitrage trading from a plurality of terminals 30 to 30-3 (S100).

제어부(120)는 통신부(110)가 수신한 거래 조건 정보를 분류하여 복수의 가상화폐 차익거래를 차익 거래 희망 집합으로 묶는다(S105). 여기서, 제어부(120)는 기준 거래소, 비교 거래소, 가상화폐, 진입 퍼센트 및 청산 퍼센트가 동일한 경우에, 같은 차익 거래 희망 집합으로 묶을 수 있다. The control unit 120 classifies the transaction condition information received by the communication unit 110 and bundles a plurality of cryptocurrency arbitrage transactions into a desired arbitrage transaction (S105). Here, when the reference exchange, the comparative exchange, the virtual currency, the entry percentage and the liquidation percentage are the same, the control unit 120 may group them into the same set of arbitrage trading wishes.

제어부(120)는 단계 S105에서 생성된 차익 거래 희망 집합이 차익거래를 희망하는 가상화폐의 시세 정보를 획득하기 위해, 비교 거래소(20) 및 기준 거래소(10)의 시세 API를 호출한다(S110). 기존의 봇은 각 단말기의 거래 조건 단위로 저장 후 각 거래 조건의 수량만큼 거래소의 시세 API의 호출과 리턴정보를 수신하는 방식으로 거래소에 과도한 트래픽을 발생 시키고 봇 서비스 제공자 역시 거래소에 호출한 양만큼의 리턴 트래픽을 받음으로써, 서버 증설 문제를 발생 시켰으나, 본 발명은 각 단말기의 거래 조건 정보를 차익 거래 희망 집합으로 묶어 저장하고, 거래소의 API 호출은 차익 거래 희망 집합 단위로 호출함으로써, API 호출과 리턴 트래픽을 획기적으로 줄일 수 있는 효과가 있다.The control unit 120 calls the quote APIs of the comparative exchange 20 and the reference exchange 10 to obtain the price information of the virtual currency in which the desired set of arbitrage transactions generated in step S105 desires arbitrage trading (S110). . Existing bots generate excessive traffic to the exchange by storing in units of transaction conditions of each terminal and receiving the call and return information of the exchange's quote API as much as the quantity of each transaction condition. By receiving the return traffic of, a server expansion problem was generated, but the present invention bundles and stores transaction condition information of each terminal in a desired set of arbitrage transactions, and the API call of the exchange is called in a desired set of arbitrage transactions, thereby making API calls and It has the effect of dramatically reducing return traffic.

비교 거래소(20) 및 기준 거래소(10)의 시세 API의 리턴정보가 수신되면, 제어부(120)는 비교 거래소(10)의 매도 호가, 기준 거래소(20)의 매수 호가 및 상기 차익 거래 희망 집합의 거래 조건 정보를 기초로 진입 가능 여부를 확인한다(S115). 여기서, 제어부(120)는 상기 거래 조건 정보에 포함된 진입 조건 정보, 비교 거래소(20)의 매도 호가, 기준 거래소(10)의 매수 호가를 기초로 진입 가능 여부를 확인할 수 있다. 일예로, 제어부(120)는 하기 수학식 1을 통해 수익률 y를 산출하고, 산출한 수익률 y와 상기 진입 조건 정보를 비교하여 진입 가능 여부를 확인할 수 있다.When return information of the quote API of the comparison exchange 20 and the reference exchange 10 is received, the control unit 120 displays the selling price of the comparison exchange 10, the buying price of the reference exchange 20, and the desired set of arbitrage trading It is checked whether entry is possible based on the transaction condition information (S115). Here, the controller 120 may check whether entry is possible based on the entry condition information included in the transaction condition information, the selling price of the comparison exchange 20, and the buying price of the reference exchange 10. For example, the controller 120 may calculate the yield y through Equation 1 below, and compare the calculated yield y with the entry condition information to determine whether entry is possible.

[수학식 1][Equation 1]

y=(cs-bb)/bb×100y = (cs-bb) / bb × 100

여기서, cs 비교 거래소의 매도 호가, bb 기준 거래소의 매수 호가이다. 제어부(120)는 상기 진입 조건 정보가 y보다 작거나 같으면 진입 가능으로 확인할 수 있다.Here, the selling price of the cs comparative exchange is the selling price of the bb reference exchange. If the entry condition information is less than or equal to y, the controller 120 may confirm entry as possible.

진입 가능으로 확인된 경우에는, 상기 제어부(120)가 진입 거래 학습 데이터, 단계 S115에서 진입 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 시세 API의 리턴 정보를 기초로 진입 거래 진행 여부를 판단한다(S120).If it is confirmed that the entry is possible, the control unit 120 determines whether the entry transaction proceeds based on the entry transaction learning data, the transaction quantity of the desired arbitrage transaction set to entry in step S115, and the return information of the market price API. (S120).

일부 실시예로, 단계 120에서 제어부(120)는 비교 거래소(20)의 시세 API의 리턴정보를 기초로 비교 거래소(20)의 매도 호가 잔량을 확인할 수 있고, 기준 거래소(10)의 시세 API의 리턴정보를 기초로 기준 거래소(10)의 매수 호가 잔량을 확인할 수 있다. 그리고, 제어부(120)는 확인된 매도 호가 잔량, 매수 호가 잔량, 차익 거래 희망 집합의 거래 잔량 및 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 진입 거래 진행 여부를 판단할 수 있다. 제어부(120)는 상기 매도 호가 잔량 및 상기 매수 호가 잔량을 기초로 호가 잔량을 산출하고, 상기 거래 잔량 및 상기 슬리피지 퍼센트를 기초로 슬리피지량을 산출하여, 상기 호가 잔량이 차익 거래 희망 집합의 거래 잔량 및 슬리피지량의 합보다 같거나 많은 경우에 거래 진행으로 판단할 수 있다. 여기서 상기 호가 잔량은 상기 매도 호가 잔량 및 상기 매수 호가 잔량 중 작은 것으로 산출될 수 있고, 슬리피지량은 상기 거래 잔량에 상기 슬리피지 퍼센트가 곱해져 산출될 수 있다. 본 발명은 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 이용하여 진입 거래 진행 여부를 판단함으로써, 동일 거래 조건임에도 일부 사용자는 거래가 성공하고 다른 사용자는 실패(슬리피지)하는 문제를 해결할 수 있다. 즉, 기존의 봇은 호가를 통해 거래 시도 판단 시 호가와 그 호가 내 잔량이 거래 조건 설정 수량 보다 큰 경우 거래소에 거래 API를 홀출하여 거래를 진행하였다. 이때 일반 거래자와 다른 봇들의 거래로 인하여 봇이 시도한 거래 수량을 모두 체결하지 못하는 슬리피지 발생률이 높았으나, 본 발명에서는 슬리피지 퍼센트를 학습하여 이를 거래 진행 여부를 판단함으로써, 슬리피지 발생을 막고 차익거래를 안전하고 완벽하게 성공시킬 수 있다.In some embodiments, in step 120, the controller 120 may check the selling price balance of the comparison exchange 20 based on the return information of the quote API of the comparison exchange 20, and the price of the quote API of the reference exchange 10 Based on the return information, the purchase price of the reference exchange 10 can be checked. Then, the control unit 120 may determine whether the entry transaction proceeds based on the identified remaining selling price remaining amount, the remaining selling price remaining amount, the remaining transaction amount of the desired set of arbitrage trading, and the slippage percentage indicated by the entering transaction learning data. The controller 120 calculates the remaining amount of the quotation based on the remaining amount of the selling price and the remaining amount of the selling price, and calculates the amount of sleeping paper based on the transaction remaining amount and the percentage of the slippage, so that the remaining amount of the quoted price is traded in the desired set If the amount is equal to or greater than the sum of the remaining amount and the slippage amount, it can be judged as a transaction. Here, the remaining amount of the quoted price may be calculated as the smaller of the remaining amount of the sold price and the remaining amount of the requested price, and the slippage amount may be calculated by multiplying the remaining amount of the transaction by the slippage percentage. The present invention can solve the problem that some users succeed in the transaction and others fail (slippage) even though the transaction conditions are the same, by determining whether or not the entry transaction proceeds by using the slippage percentage indicated by the entry transaction learning data. In other words, when the existing bot judges the transaction attempt through the quote price, if the quote price and the remaining amount within the quote price are greater than the transaction condition setting quantity, the trading API was held by the exchange to proceed with the transaction. At this time, the incidence of slippage was high due to the transaction between the general trader and other bots, and the amount of the attempted bot could not be completed, but in the present invention, by learning the percentage of slippage and determining whether to proceed with the transaction, it prevents slippage and prevents gains. You can make your transaction safe and complete.

일부 실시예로, 단계 120에서 제어부(120)는 진입 거래 학습 데이터, 차익 거래 희망 집합의 거래 수량, 시세 API의 리턴 정보를 기초로 거래가 가능한지 여부를 판단한다. 판단 결과로 거래가 가능한 경우에는, 제어부(120)는 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하고, 상기 확인 결과를 기초로 거래 진행 여부를 판단할 수 있다. 여기서, 제어부(120)는 비교 거래소(20)의 보유 자금과 단말기가 전송한 거래 조건 정보에 포함된 거래량의 매수 금액과 비교하고, 기준 거래소(10)의 예치금과 상기 단말기가 전송한 거래 조건 정보에 포함된 거래량의 매도 금액과 비교할 수 있다. 제어부(120)는 상기 보유 자금으로 상기 거래량만큼 매수가 가능하고, 상기 예치금으로 상기 거래량만큼 공매도가 가능한 경우에는, 거래를 진행하는 것으로 판단할 수 있다.In some embodiments, in step 120, the controller 120 determines whether a transaction is possible based on the entry transaction learning data, the transaction quantity of the desired arbitrage transaction, and the return information of the market price API. When a transaction is possible as a result of the determination, the controller 120 may check the balance associated with the terminal transmitting the transaction condition information included in the desired arbitrage transaction set, and determine whether to proceed with the transaction based on the confirmation result. Here, the control unit 120 compares the holding amount of the comparison exchange 20 with the purchase amount of the transaction amount included in the transaction condition information transmitted by the terminal, and deposits of the reference exchange 10 and transaction condition information transmitted by the terminal It can be compared with the selling amount of the transaction amount included in. The controller 120 may determine that the transaction is in progress when it is possible to purchase as much as the transaction amount with the holding funds and short selling is possible as the transaction amount with the deposit.

일부 실시예로, 단계 120에서 제어부(120)는 비교 거래소(20)의 시세 API의 리턴정보를 기초로 비교 거래소(20)의 매도 호가 잔량을 확인할 수 있고, 기준 거래소(10)의 시세 API의 리턴정보를 기초로 기준 거래소(10)의 매수 호가 잔량을 확인할 수 있다. 그리고, 제어부(120)는 확인된 매도 호가 잔량, 매수 호가 잔량, 차익 거래 희망 집합의 거래 잔량 및 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 거래가 가능한지 여부를 판단할 수 있다. 판단 결과로 거래가 가능한 경우에는, 제어부(120)는 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하고, 상기 확인 결과를 기초로 거래 진행 여부를 판단할 수 있다.In some embodiments, in step 120, the controller 120 may check the remaining selling price of the comparison exchange 20 based on the return information of the quote API of the comparison exchange 20, and the price of the quote API of the reference exchange 10 Based on the return information, the purchase price of the reference exchange 10 can be checked. Then, the control unit 120 may determine whether the transaction is possible based on the identified remaining selling price remaining amount, the remaining selling price remaining amount, the remaining transaction amount of the desired set of arbitrage trading, and the slippage percentage indicated by the entry transaction learning data. When a transaction is possible as a result of the determination, the controller 120 may check the balance associated with the terminal transmitting the transaction condition information included in the desired arbitrage transaction set, and determine whether to proceed with the transaction based on the confirmation result.

제어부(120)는 단계 S120의 판단 결과에 따라 진입 거래를 진행한다(S125). 제어부(120)는 비교 거래소(20)의 매수 API를 호출하고 기준 거래소(10)의 공매도 API를 호출할 수 있다. 상기 가상화폐의 매수가 모두 성공되거나 상기 매수 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 제어부(120)는 가상화폐의 거래 기록을 저장부(130)에 저장할 수 있다. 또한, 상기 가상화폐의 공매도가 모두 성공되거나 상기 공매도 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 제어부(120)는 상기 가상화폐의 거래 기록을 저장부(130)에 저장할 수 있다. 여기서, 상기 거래 기록은, 상기 가상화폐의 매수 수량, 공매도 수량, 및 상기 진입 거래 학습 데이터가 지시하는 시간이 경과된 시점에, 상기 가상화폐의 매수 잔량 및 공매도 잔량을 포함할 수 있다.The controller 120 proceeds to the entry transaction according to the determination result of step S120 (S125). The control unit 120 may call the purchase API of the comparison exchange 20 and the short selling API of the reference exchange 10. When the purchase of the virtual currency is all successful or the time indicated by the entry transaction learning data has elapsed after the purchase API call, the control unit 120 may store the transaction record of the virtual currency in the storage unit 130. In addition, when all of the short selling of the virtual currency is successful or the time indicated by the entry transaction learning data has elapsed after the short selling API call, the controller 120 may store the transaction record of the virtual currency in the storage 130. . Here, the transaction record may include the purchase quantity of the virtual currency, the short selling quantity of the virtual currency, and the remaining time of the buying and selling of the cryptocurrency when the time indicated by the entry transaction learning data has elapsed.

제어부(120)는 저장된 거래 기록을 학습하여 상기 진입 거래 학습 데이터를 업데이트한다(S130). 제어부(120)는 상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하고, 상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트할 수 있다. 제어부(120)는 하기 수학식 2를 기초로 슬리피지 퍼센트 α를 산출할 수 있다.The controller 120 updates the entry transaction learning data by learning the stored transaction record (S130). The control unit 120 may generate a slippage percentage based on the transaction record, and update the sleeppage percentage indicated by the transaction learning data based on the transaction record and the generated slippage percentage. The controller 120 may calculate the slippage percentage α based on Equation 2 below.

[수학식 2][Equation 2]

α = 슬리피지 수량/거래 잔량α = Sleeppage quantity / transaction balance

여기서, 슬리피지 수량은 거래 기록에 포함된 매수 잔량 또는 공매도 잔량일 수 있다.Here, the slippage quantity may be the remaining amount of the purchase or the remaining amount of the short selling included in the transaction record.

일부 실시예로, 제어부(120)는 생성한 슬리피지 퍼센트와 기존 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 산술평균하여 산출된 값을, 진입 거래 학습 데이터의 슬리피지 퍼센트로 정할 수 있다.In some embodiments, the controller 120 may determine a value calculated by arithmetic average of the generated slippage percentage and the percentage of slippage indicated by the existing entry transaction learning data, as the percentage of slippage of the entry transaction learning data.

일부 실시예로, 제어부(120)는 생성한 슬리피지 퍼센트와 기존 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 가중 평균하여 산출된 값을, 진입 거래 학습 데이터의 슬리피지 퍼센트로 정할 수 있다. 여기서, 가중 평균은 현재 거래의 거래 잔량과 누적된 거래 잔량을 기초로 결정될 수 있다. In some embodiments, the controller 120 may determine a value calculated by weighted average of the generated slippage percentage and the percentage of slippage indicated by the existing entry transaction learning data, as the percentage of slippage of the entry transaction learning data. Here, the weighted average may be determined based on the transaction balance of the current transaction and the accumulated transaction balance.

본 발명은 학습 기반 알고리즘을 통해 기존의 차익거래 결과를 바탕으로 슬리피지율을 학습을 통해 적응적으로 인지하고 이를 차익거래의 진입 거래에 반영함으로써, 차익거래를 안전하고 완벽하게 성공시킬 수 있다.The present invention can adaptively recognize sleepy rate through learning based on the results of the existing arbitrage transaction through the learning-based algorithm and reflect it in the incoming transaction of the arbitrage transaction, so that the arbitrage transaction can be safely and completely succeeded.

제어부(120)는 비교 거래소(20) 및 기준 거래소(30)의 시세 API의 리턴정보가 수신되면, 비교 거래소(20)의 매수 호가 및 기준 거래소(30)의 매도 호가의 차이값 및 거래 조건 정보를 기초로 청산 가능 여부를 확인한다(S135). 여기서, 청산 가능 여부는 진입 거래 진행이 완료된 차익 거리 희망 집합을 대상으로 청산 가능 여부를 확인할 수 있다.When the return information of the quote APIs of the comparative exchange 20 and the reference exchange 30 is received, the controller 120 receives the difference value of the purchase price of the comparison exchange 20 and the selling price of the reference exchange 30 and the transaction condition information Based on the check whether it is possible to liquidate (S135). Here, whether the liquidation is possible or not can be confirmed whether the liquidation is possible for a desired set of arbitrage distances in which the entry transaction is completed.

상기 청산 가능으로 확인된 경우에는, 제어부(120)는 청산 거래 학습 데이터, 상기 청산 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 청산 거래 진행 여부를 판단한다(S140). 여기서, 제어부(120)는 비교 거래소(20)의 시세 API의 리턴정보를 기초로 비교 거래소(20)의 매수 호가 잔량을 확인할 수 있고, 기준 거래소(10)의 시세 API의 리턴정보를 기초로 기준 거래소(10)의 매도 호가 잔량을 확인할 수 있다. If it is confirmed that the liquidation is possible, the control unit 120 determines whether the liquidation transaction proceeds based on the liquidation transaction learning data, the transaction quantity of the desired set of arbitrage transactions identified as the liquidation possibility, and the received return information (S140). ). Here, the control unit 120 may check the remaining price of the purchase price of the comparison exchange 20 based on the return information of the quote API of the comparison exchange 20, and based on the return information of the quote API of the reference exchange 10 The selling price of the exchange 10 can check the remaining amount.

일부 실시예로, 단계 135에서 제어부(120)는 비교 거래소(20)의 시세 API의 리턴정보를 기초로 비교 거래소(20)의 매수 호가 잔량을 확인할 수 있고, 기준 거래소(10)의 시세 API의 리턴정보를 기초로 기준 거래소(10)의 매도 호가 잔량을 확인할 수 있다. 그리고, 제어부(120)는 확인된 매수 호가 잔량, 매도 호가 잔량, 차익 거래 희망 집합의 거래 잔량 및 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 청산 거래 진행 여부를 판단할 수 있다. 제어부(120)는 상기 매수 호가 잔량 및 상기 매도 호가 잔량을 기초로 호가 잔량을 산출하고, 상기 거래 잔량 및 상기 슬리피지 퍼센트를 기초로 슬리피지량을 산출하여, 상기 호가 잔량이 차익 거래 희망 집합의 거래 잔량 및 슬리피지량의 합보다 같거나 많은 경우에 거래 진행으로 판단할 수 있다. 여기서 상기 호가 잔량은 상기 매수 호가 잔량 및 상기 매도 호가 잔량 중 작은 것으로 산출될 수 있고, 슬리피지량은 상기 거래 잔량에 상기 슬리피지 퍼센트가 곱해져 산출될 수 있다. 본 발명은 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 이용하여 청산 거래 진행 여부를 판단함으로써, 동일 거래 조건임에도 일부 사용자는 거래를 성공하고 다른 사용자는 실패(슬리피지)하는 문제를 해결할 수 있다. 즉, 기존의 봇은 호가를 통해 거래 시도 판단 시 호가와 그 호가 내 잔량이 거래 조건 설정 수량 보다 큰 경우 거래소에 거래 API를 호출하여 거래를 진행하였다. 이때 일반 거래자와 다른 봇들의 거래로 인하여 봇이 시도한 거래 수량을 모두 채결하지 못하는 슬리피지 발생률이 높았으나, 본 발명에서는 슬리피지 퍼센트를 학습하여 거래 진행 여부를 판단함으로써, 슬리피지 발생을 막고 차익거래를 안전하고 완벽하게 성공시킬 수 있다.In some embodiments, in step 135, the controller 120 may check the remaining price of the purchase price of the comparison exchange 20 based on the return information of the quote API of the comparison exchange 20, and the price of the quote API of the reference exchange 10 Based on the return information, the selling price of the reference exchange 10 can be checked. Then, the control unit 120 may determine whether to perform the liquidation transaction based on the identified remaining bid price, the remaining bid price, the remaining transaction amount of the desired set of arbitrage trading, and the slippage percentage indicated by the liquidation transaction learning data. The controller 120 calculates the remaining amount of the quotation based on the remaining amount of the bid price and the remaining amount of the sold price, and calculates the amount of slippage based on the transaction remaining amount and the percentage of the slippage, so that the remaining amount of the quoted price is traded in the desired set If the amount is equal to or greater than the sum of the remaining amount and the slippage amount, it can be judged as a transaction. Here, the remaining amount of the bid price may be calculated as the smaller of the remaining amount of the bid price and the remaining amount of the sold price, and the slippage amount may be calculated by multiplying the remaining transaction amount by the percentage of the slippage. The present invention can solve a problem in which some users succeed in a transaction and other users fail (slippage) even though the transaction conditions are the same, by determining whether to proceed with a liquidation transaction using the slippage percentage indicated by the liquidation transaction learning data. That is, the existing bot proceeds with the transaction by calling the trading API to the exchange when the bid price and the remaining amount in the bid price are greater than the transaction condition setting quantity when determining the transaction attempt through the bid price. At this time, due to the transactions between the general trader and other bots, the incidence of slippage that could not collect all the attempted bots was high, but in the present invention, by learning the percentage of slippage and determining whether to proceed with the transaction, it prevents slippage and prevents arbitrage trading. Can safely and completely succeed.

일부 실시예로, 단계 S140에서 제어부(120)는 청산 거래 학습 데이터, 차익 거래 희망 집합의 거래 수량, 리턴 정보를 기초로 거래가 가능한지 여부를 판단할 수 있다. 상기 거래가 가능한 경우에는, 제어부(120)는 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인할 수 있고 상기 확인 결과를 기초로 거래 진행 여부를 판단할 수 있다. 여기서, 제어부(120)는 비교 거래소(20)의 보유 가상화폐와 단말기가 전송한 거래 조건 정보에 포함된 거래량을 비교하고, 기준 거래소(10)의 보유자금이 상기 단말기가 전송한 거래 조건 정보에 포함된 거래량(공재도 청산)의 금액과 비교할 수 있다. 제어부(120)는 상기 보유 가상화폐로 상기 거래량만큼 매도가 가능하고, 상기 보유자금으로 상기 거래량만큼 공매 청산이 가능한 경우에는, 거래를 진행하는 것으로 판단할 수 있다.In some embodiments, in step S140, the controller 120 may determine whether the transaction is possible based on the liquidation transaction learning data, the transaction quantity of the desired set of arbitrage transactions, and return information. When the transaction is possible, the control unit 120 may check the balance associated with the terminal transmitting the transaction condition information included in the desired arbitrage transaction set and determine whether to proceed with the transaction based on the confirmation result. Here, the control unit 120 compares the amount of the transaction included in the transaction condition information transmitted by the terminal with the virtual currency held by the comparison exchange 20, and the funds held by the reference exchange 10 are included in the transaction condition information transmitted by the terminal. It can be compared with the amount of transaction included (clearance of public works). The controller 120 may determine that the transaction is in progress when it is possible to sell as much as the transaction amount in the virtual currency held and liquidation of the auction is possible as much as the transaction amount.

일부 실시예로, 단계 S140에서 제어부(120)는 비교 거래소(20)의 시세 API의 리턴정보를 기초로 비교 거래소(20)의 매수 호가 잔량을 확인할 수 있고, 기준 거래소(10)의 시세 API의 리턴정보를 기초로 기준 거래소(10)의 매도 호가 잔량을 확인할 수 있다. 그리고, 제어부(120)는 확인된 매수 호가 잔량, 매도 호가 잔량, 차익 거래 희망 집합의 거래 잔량 및 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 거래가 가능한지 여부를 판단할 수 있다. 상기 거래가 가능한 경우에는, 제어부(120)는 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인할 수 있고 상기 확인 결과를 기초로 거래 진행 여부를 판단할 수 있다.In some embodiments, in step S140, the controller 120 may check the remaining price of the purchase price of the comparison exchange 20 based on the return information of the comparison API of the comparison exchange 20, and the price of the quote API of the reference exchange 10 Based on the return information, the selling price of the reference exchange 10 can be checked. Then, the control unit 120 may determine whether the transaction is possible based on the identified remaining bid price, the remaining bid price, the remaining balance of the desired set of arbitrage trading, and the slippage percentage indicated by the liquidation transaction learning data. When the transaction is possible, the control unit 120 may check the balance associated with the terminal transmitting the transaction condition information included in the desired arbitrage transaction set and determine whether to proceed with the transaction based on the confirmation result.

제어부(120)는 단계 S140의 판단 결과에 따라 청산 거래를 진행한다(S145). 여기서 제어부(120)는 비교 거래소(20)의 매도 API를 호출하고 기준 거래소(10)의 공매도 청산 API를 호출할 수 있다. 상기 가상화폐의 매도가 모두 성공되거나 상기 매도 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 제어부(120)는 가상화폐의 거래 기록을 저장부(130)에 저장할 수 있다. 또한, 상기 가상화폐의 공매도 청산이 모두 성공되거나 상기 공매도 청산 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 제어부(120) 상기 가상화폐의 거래 기록을 저장부(130)에 저장할 수 있다. 여기서, 상기 거래 기록은, 상기 가상화폐의 매도 수량, 공매도 청산 수량, 및 상기 청산 거래 학습 데이터가 지시하는 시간이 경과된 시점에, 상기 가상화폐의 매도 잔량 및 공매도 청산 잔량을 포함할 수 있다.The controller 120 performs a liquidation transaction according to the determination result of step S140 (S145). Here, the control unit 120 may call the selling API of the comparison exchange 20 and the short selling clearing API of the reference exchange 10. When all of the selling of the virtual currency is successful or the time indicated by the clearing transaction learning data has elapsed after the selling API call, the controller 120 may store the transaction record of the virtual currency in the storage unit 130. In addition, when all of the short selling liquidation of the virtual currency is successful or the time indicated by the clearing transaction learning data after the short selling API call is elapsed, the controller 120 may store the transaction records of the virtual currency in the storage unit 130. have. Here, the transaction record may include the selling amount of the virtual currency, the selling amount of the short selling amount, and the remaining amount of the selling amount and the selling amount of the short selling amount of the virtual currency when the time indicated by the clearing transaction learning data has elapsed.

그리고 제어부(120)는 저장부(130)에 저장된 거래 기록을 학습하여 상기 청산 거래 학습 데이터를 업데이트할 수 있다. 여기서 제어부(120)는 상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하고, 상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트할 수 있다. 제어부(120)는 하기 수학식 3을 기초로 슬리피지 퍼센트 β를 산출할 수 있다.In addition, the control unit 120 may update the clearing transaction learning data by learning the transaction records stored in the storage unit 130. Here, the controller 120 may generate a slippage percentage based on the transaction record, and update the sleeppage percentage indicated by the liquidation transaction learning data based on the transaction record and the generated slippage percentage. The controller 120 may calculate the slippage percentage β based on Equation 3 below.

[수학식 3][Equation 3]

Β = 슬리피지 수량/거래 잔량Β = Sleepy quantity / transaction balance

여기서, 슬리피지 수량은 거래 기록에 포함된 매도 잔량 또는 공매도 청산 잔량일 수 있다.Here, the slippage quantity may be a short sales balance or a short sales clearance included in the transaction record.

일부 실시예로, 제어부(120)는 생성한 슬리피지 퍼센트와 기존 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 산술평균하여 산출된 값을, 청산 거래 학습 데이터의 슬리피지 퍼센트로 정할 수 있다.In some embodiments, the control unit 120 may determine a value calculated by arithmetic average of the generated slippage percentage and the percentage of slippage indicated by the existing clearing transaction learning data, as the percentage of slippage of the clearing transaction learning data.

일부 실시예로, 제어부(120)는 생성한 슬리피지 퍼센트와 기존 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 가중 평균하여 산출된 값을, 청산 거래 학습 데이터의 슬리피지 퍼센트로 정할 수 있다. 여기서, 가중 평균은 현재 거래의 거래 잔량과 누적된 거래 잔량을 기초로 결정될 수 있다. In some embodiments, the control unit 120 may determine a value calculated by weighted average of the generated slippage percentage and the percentage of slippage indicated by the existing clearing transaction learning data, as a percentage of slippage of the clearing transaction learning data. Here, the weighted average may be determined based on the transaction balance of the current transaction and the accumulated transaction balance.

본 발명은 학습 기반 알고리즘을 통해 기존의 차익거래 결과를 바탕으로 슬리피지율을 학습을 통해 적응적으로 인지하고 이를 차익거래의 청산 거래에 반영함으로써, 차익거래를 안전하고 완벽하게 성공시킬 수 있다.The present invention can adaptively recognize sleepy rates through learning based on the results of existing arbitrage transactions through learning-based algorithms and reflect them in liquidation transactions of arbitrage transactions, so that arbitrage transactions can be safely and completely succeeded.

본 발명은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The present invention can also be embodied as computer readable codes on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data readable by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tapes, floppy disks, optical data storage devices, etc., and are also implemented in the form of carrier waves (for example, transmission over the Internet). Includes. The computer-readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이상에서 본 발명의 바람직한 실시예에 대해 도시하고 설명하였으나, 본 발명은 상술한 특정의 바람직한 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.Although the preferred embodiments of the present invention have been shown and described above, the present invention is not limited to the specific preferred embodiments described above, and the technical field to which the present invention pertains without departing from the gist of the present invention claimed in the claims. Of course, various modifications can be made to anyone having ordinary knowledge, and such changes are within the scope of the claims.

학습 기반 가상화폐 차익거래 자동화 시스템 1
기준 거래소 10
비교 거래소 20
단말기 30
학습 기반 가상화폐 차익거래 자동화 서버 100
Learning-based cryptocurrency arbitrage trading automation system 1
Base exchange 10
Comparative Exchange 20
Terminal 30
Learning-based cryptocurrency arbitrage trading automation server 100

Claims (15)

복수의 단말기로부터 가상화폐 차익거래를 위한 거래 조건 정보를 수신하는 단계;
상기 수신된 거래 조건 정보를 분류하여 차익 거래 희망 집합으로 묶는 단계;
상기 차익 거래 희망 집합이 요청하는 가상화폐의 시세 정보를 획득하기 위해, 비교 거래소 및 기준 거래소의 시세 API(Application Programming Interface)를 호출하는 단계;
상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매도 호가, 상기 기준 거래소의 매수 호가, 및 상기 거래 조건 정보를 기초로 진입 가능 여부를 확인하는 단계;
상기 진입 가능으로 확인된 경우에는, 진입 거래 학습 데이터, 상기 진입 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 진입 거래 진행 여부를 판단하는 단계; 및
상기 가상화폐 차익거래 자동화 서버가 상기 판단 결과에 따라 진입 거래를 진행하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
Receiving transaction condition information for cryptocurrency arbitrage trading from a plurality of terminals;
Classifying the received transaction condition information and grouping it into a desired arbitrage transaction set;
In order to obtain the market price information of the cryptocurrency requested by the desired set of arbitrage trading, calling a market price API (Application Programming Interface) of a comparative exchange and a reference exchange;
When return information of the quote APIs of the comparison exchange and the reference exchange is received, checking whether a selling price of the comparison exchange, a buying price of the reference exchange, and the transaction condition information are possible;
If it is confirmed that the entry is possible, determining whether an entry transaction proceeds based on the entry transaction learning data, the transaction quantity of the desired arbitrage transaction set as the entry possibility, and the received return information; And
And a method for automating the virtual currency arbitration transaction based on the determination result.
제 1항에 있어서,
상기 진입 거래를 진행하는 단계는,
상기 비교 거래소의 매수 API를 호출하고 상기 기준 거래소의 공매도 API를 호출하는 단계;
상기 가상화폐의 매수가 모두 성공되거나 상기 매수 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계;
상기 가상화폐의 공매도가 모두 성공되거나 상기 공매도 API 호출 후 상기 진입 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계; 및
상기 저장된 거래 기록을 학습하여 상기 진입 거래 학습 데이터를 업데이트하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
According to claim 1,
The step of proceeding with the entry transaction,
Calling the buying API of the comparison exchange and calling the short selling API of the reference exchange;
Storing the transaction record of the virtual currency when all of the purchases of the virtual currency are successful or the time indicated by the entry transaction learning data has elapsed after the purchase API call;
Storing the transaction record of the virtual currency when all of the short selling of the virtual currency is successful or a time indicated by the entry transaction learning data has elapsed after the short selling API call; And
And learning the stored transaction record to update the entry transaction learning data.
제 2항에 있어서,
상기 거래 기록은,
상기 가상화폐의 매수 수량, 공매도 수량, 및 상기 진입 거래 학습 데이터가 지시하는 시간이 경과된 시점에, 상기 가상화폐의 매수 잔량 및 공매도 잔량을 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
According to claim 2,
The transaction record,
A method for automating a transaction-based cryptocurrency arbitrage transaction, comprising a purchase quantity, a short selling quantity of the virtual currency, and a remaining buying quantity and a short selling quantity of the virtual currency when a time indicated by the entry transaction learning data has elapsed. .
제 3항에 있어서,
상기 업데이트하는 단계는,
상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하는 단계; 및
상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
According to claim 3,
The updating step,
Generating a slippage percentage based on the transaction record; And
And updating the slippage percentage indicated by the entry transaction learning data based on the transaction record and the generated slippage percentage.
제 4항에 있어서,
상기 진입 거래 진행 여부를 판단하는 단계는,
상기 비교 거래소의 시세 API의 리턴정보를 기초로 상기 비교 거래소의 매도 호가 잔량을 확인하는 단계;
상기 기준 거래소의 시세 API의 리턴정보를 기초로 상기 기준 거래소의 매수 호가 잔량을 확인하는 단계; 및
상기 확인된 매도 호가 잔량, 상기 매수 호가 잔량, 상기 차익 거래 희망 집합의 거래 잔량 및 상기 진입 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 거래 진행 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 4,
The step of determining whether the entry transaction is in progress,
Checking the remaining selling price of the comparison exchange based on the return information of the quote API of the comparison exchange;
Checking the remaining amount of the bid price of the reference exchange based on the return information of the quote API of the reference exchange; And
And determining whether to proceed with the transaction based on the identified remaining selling price remaining amount, the remaining selling price remaining amount, the remaining trading amount of the desired arbitrage trading set, and the slippage percentage indicated by the entering transaction learning data. -Based cryptocurrency arbitration method.
제 1항에 있어서,
상기 진입 거래 진행 여부를 판단하는 단계는,
상기 진입 거래 학습 데이터, 상기 차익 거래 희망 집합의 거래 수량, 상기 리턴 정보를 기초로 거래가 가능한지 여부를 판단하는 단계;
상기 거래가 가능한 경우에는, 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하는 단계; 및
상기 확인 결과를 기초로 거래 진행 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
According to claim 1,
The step of determining whether the entry transaction is in progress,
Determining whether a transaction is possible based on the entry transaction learning data, the transaction quantity of the desired arbitrage transaction set, and the return information;
If the transaction is possible, checking a balance associated with a terminal that transmits transaction condition information included in the arbitrage desired set; And
And determining whether to proceed with the transaction based on the confirmation result.
제 6항에 있어서,
상기 잔고를 확인하는 단계는,
상기 비교 거래소의 보유 자금과 상기 거래 조건 정보에 포함된 거래량의 매수 금액과 비교하는 단계; 및
상기 기준 거래소의 예치금과 상기 거래 조건 정보에 포함된 거래량의 매도 금액과 비교하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 6,
The step of checking the balance,
Comparing the holding amount of the comparative exchange with the purchase amount of the transaction amount included in the transaction condition information; And
And comparing the deposit amount of the reference exchange with the selling amount of the transaction amount included in the transaction condition information.
제 1항에 있어서,
상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매수 호가, 상기 기준 거래소의 매도 호가 및 상기 거래 조건 정보를 기초로 청산 가능 여부를 확인하는 단계;
상기 청산 가능으로 확인된 경우에는, 청산 거래 학습 데이터, 상기 청산 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 청산 거래 진행 여부를 판단하는 단계; 및
상기 판단 결과에 따라 청산 거래를 진행하는 단계를 더 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
According to claim 1,
When return information of a quote API of the comparison exchange and the reference exchange is received, confirming whether the liquidation is possible based on the bid price of the comparative exchange, the selling price of the reference exchange, and the transaction condition information;
If it is confirmed that the liquidation is possible, determining whether to perform a liquidation transaction based on the liquidation transaction learning data, the transaction quantity of the desired arbitrage transaction set as the liquidation possibility, and the received return information; And
Learning-based cryptocurrency arbitration transaction automation method further comprising the step of proceeding with the liquidation transaction according to the determination result.
제 8항에 있어서,
상기 청산 거래를 진행하는 단계는,
상기 비교 거래소의 매도 API를 호출하고 상기 기준 거래소의 공매도 청산 API를 호출하는 단계;
상기 가상화폐의 매도가 모두 성공되거나 상기 매도 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계;
상기 가상화폐의 공매도 청산이 모두 성공되거나 상기 공매도 청산 API 호출 후 상기 청산 거래 학습 데이터가 지시하는 시간이 경과되면, 상기 가상화폐의 거래 기록을 저장하는 단계; 및
상기 저장된 거래 기록을 학습하여 상기 청산 거래 학습 데이터를 업데이트하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 8,
The step of proceeding with the liquidation transaction,
Calling the selling API of the comparison exchange and calling the short selling clearing API of the reference exchange;
Storing the transaction records of the virtual currency when all of the selling of the virtual currency is successful or a time indicated by the liquidation transaction learning data has elapsed after the selling API call;
Storing the transaction records of the virtual currency when all of the short selling liquidation of the virtual currency is successful or when a time indicated by the clearing transaction learning data has elapsed after the short selling API call; And
And learning the stored transaction records to update the clearing transaction learning data.
제 9항에 있어서,
상기 업데이트하는 단계는,
상기 거래 기록을 기초로 슬리피지 퍼센트를 생성하는 단계; 및
상기 거래 기록 및 상기 생성된 슬리피지 퍼센트를 기초로 상기 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 업데이트하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 9,
The updating step,
Generating a slippage percentage based on the transaction record; And
And updating the slippage percentage indicated by the clearing transaction learning data based on the transaction record and the generated slippage percentage.
제 10항에 있어서,
상기 청산 거래 진행 여부를 판단하는 단계는,
상기 비교 거래소의 시세 API의 리턴정보를 기초로 상기 비교 거래소의 매수 호가 잔량을 확인하는 단계;
상기 기준 거래소의 시세 API의 리턴정보를 기초로 상기 기준 거래소의 매도 호가 잔량을 확인하는 단계; 및
상기 확인된 매수 호가 잔량, 상기 확인된 매도 호가 잔량, 상기 차익 거래 희망 집합의 거래 잔량 및 상기 청산 거래 학습 데이터가 지시하는 슬리피지 퍼센트를 기초로 청산 거래 진행 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 10,
The step of determining whether to proceed with the liquidation transaction,
Checking the remaining amount of the bid price of the comparison exchange based on the return information of the quote API of the comparison exchange;
Checking the selling price balance of the reference exchange based on the return information of the quote API of the reference exchange; And
And determining whether to perform a liquidation transaction based on the identified remaining bid price, the confirmed remaining bid price, the remaining balance of the desired arbitrage transaction set, and the slippage percentage indicated by the liquidation transaction learning data. Learning-based cryptocurrency autonomous trading method.
제 8항에 있어서,
상기 청산 거래 진행 여부를 판단하는 단계는,
상기 청산 거래 학습 데이터, 상기 차익 거래 희망 집합의 거래 수량, 상기 리턴 정보를 기초로 거래가 가능한지 여부를 판단하는 단계;
상기 거래가 가능한 경우에는, 상기 차익 거래 희망 집합에 포함된 거래 조건 정보를 전송한 단말기와 연관된 잔고를 확인하는 단계; 및
상기 확인 결과를 기초로 거래 진행 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 8,
The step of determining whether to proceed with the liquidation transaction,
Determining whether a transaction is possible based on the liquidation transaction learning data, the transaction quantity of the arbitrage desired set, and the return information;
If the transaction is possible, checking a balance associated with a terminal that transmits transaction condition information included in the arbitrage desired set; And
And determining whether to proceed with the transaction based on the confirmation result.
제 12항에 있어서,
상기 잔고를 확인하는 단계는,
상기 비교 거래소의 보유 코인과 상기 거래 조건 정보에 포함된 거래량과 비교하는 단계; 및
상기 기준 거래소의 보유 자금과 상기 거래 조건 정보에 포함된 거래량의 매수 금액과 비교하는 단계를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 방법.
The method of claim 12,
The step of checking the balance,
Comparing the holding coin of the comparison exchange with the transaction amount included in the transaction condition information; And
A method for automating the arbitrage trading based on a virtual currency, comprising the step of comparing the holding amount of the reference exchange with the purchase amount of the transaction amount included in the transaction condition information.
제 1항 내지 제 13항 중 어느 한 항에 기재된 방법을 실행시키기 위하여 매체에 저장된 컴퓨터프로그램.A computer program stored in a medium for carrying out the method according to any one of claims 1 to 13. 복수의 단말기로부터 가상화폐 차익거래를 위한 거래 조건 정보를 수신하는 통신부;
상기 거래 조건 정보 및 진입 거래 학습 데이터를 저장하는 저장부; 및
상기 수신된 거래 조건 정보를 분류하여 차익 거래 희망 집합으로 묶고, 상기 차익 거래 희망 집합이 요청하는 가상화폐의 시세 정보를 획득하기 위해, 비교 거래소 및 기준 거래소의 시세 API(Application Programming Interface)를 호출하며, 상기 비교 거래소 및 상기 기준 거래소의 시세 API의 리턴정보가 수신되면, 상기 비교 거래소의 매도 호가, 상기 기준 거래소의 매수 호가, 및 상기 거래 조건 정보를 기초로 진입 가능 여부를 확인하고, 상기 진입 가능으로 확인된 경우에는, 상기 진입 거래 학습 데이터, 상기 진입 가능으로 확인된 차익 거래 희망 집합의 거래 수량, 상기 수신된 리턴 정보를 기초로 진입 거래 진행 여부를 판단하며, 상기 가상화폐 차익거래 자동화 서버가 상기 판단 결과에 따라 진입 거래를 진행을 제어하는 제어부를 포함하는 것을 특징으로 하는 학습 기반 가상화폐 차익거래 자동화 서버.
A communication unit that receives transaction condition information for cryptocurrency arbitrage trading from a plurality of terminals;
A storage unit that stores the transaction condition information and entry transaction learning data; And
To classify the received transaction condition information and group it into a desired arbitrage trading set, and to obtain the market price information of the cryptocurrency requested by the arbitrage desired set, a quote API (Application Programming Interface) of a comparative exchange and a reference exchange is called, When the return information of the quote APIs of the comparison exchange and the reference exchange is received, the selling price of the comparison exchange, the buying price of the reference exchange, and whether the entry is possible based on the transaction condition information are checked and the entry is possible If it is confirmed, the entry transaction learning data, the transaction quantity of the desired set of arbitrage transactions identified as possible to enter, and determines whether an entry transaction proceeds based on the received return information, and the virtual currency arbitration transaction automation server Characterized in that it comprises a control unit for controlling the progress of the entry transaction according to the determination result Learning-based virtual currency arbitrage automation servers that.
KR1020180111853A 2018-09-18 2018-09-18 virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program KR20200036956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180111853A KR20200036956A (en) 2018-09-18 2018-09-18 virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180111853A KR20200036956A (en) 2018-09-18 2018-09-18 virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program

Publications (1)

Publication Number Publication Date
KR20200036956A true KR20200036956A (en) 2020-04-08

Family

ID=70275711

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180111853A KR20200036956A (en) 2018-09-18 2018-09-18 virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program

Country Status (1)

Country Link
KR (1) KR20200036956A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220040829A (en) * 2020-09-24 2022-03-31 업라이즈 주식회사 Method and Device for Managing Digital Asset
KR20220116631A (en) 2021-02-15 2022-08-23 곽한상 Apparatus and method for trading assert

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220040829A (en) * 2020-09-24 2022-03-31 업라이즈 주식회사 Method and Device for Managing Digital Asset
KR20220116631A (en) 2021-02-15 2022-08-23 곽한상 Apparatus and method for trading assert

Similar Documents

Publication Publication Date Title
US8380614B1 (en) Dynamic price improvement
US7752117B2 (en) System and method for money management in electronic trading environment
US7769668B2 (en) System and method for facilitating trading of financial instruments
US11423479B2 (en) Dynamic peg orders in an electronic trading system
US10636082B2 (en) Proxy agent for distributed computing transactions
US20030041006A1 (en) Methods and systems for suppression of stale or invalid data in a securities quotation display
CN110291550A (en) The system and method for improving the safety of intelligent contract on block chain
US10825086B2 (en) Computerized method and system for scale trading
WO2002086657A2 (en) Price change of orders from reserve in an electronic trading system
TW201923684A (en) Systems and methods for optimizing trade execution
US20210142410A1 (en) Trading system with price improvement
JP2003528370A (en) Computerized methods and systems for securities trading
KR101964429B1 (en) Method for auto-trading using stock information performed by the stock trading server
KR20200036956A (en) virtual money arbitrage trading automation server and virtual money arbitrage trading automation method based on leaning and computer program
US20160092979A1 (en) System and method to optimize discount setting utilizing flexible pricing and continuous product time value decay
CA2521478C (en) Systems and methods for providing neutral price improvement
US11676205B2 (en) Dynamic peg orders in an electronic trading system
US20140108215A1 (en) System and methods for trading
US10949892B2 (en) Cross platform reward exchange marketplace providing an auction operation
US20210027373A1 (en) Method for initiating and hosting an auction for a security
KR20210144501A (en) Method and system for presponding server overload in auction process
KR20220159072A (en) Auto-trading apparatus and system of virtual currency
CN115689734A (en) Product transaction processing method, device, equipment, medium and program product
KR20050050516A (en) Method and system for providing stock information
AU2009210385A1 (en) Centre Point Order

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E601 Decision to refuse application