KR20010075877A - System for operating automatic stock transaction program - Google Patents

System for operating automatic stock transaction program Download PDF

Info

Publication number
KR20010075877A
KR20010075877A KR1020000002783A KR20000002783A KR20010075877A KR 20010075877 A KR20010075877 A KR 20010075877A KR 1020000002783 A KR1020000002783 A KR 1020000002783A KR 20000002783 A KR20000002783 A KR 20000002783A KR 20010075877 A KR20010075877 A KR 20010075877A
Authority
KR
South Korea
Prior art keywords
purchase
sale
module
buy
account
Prior art date
Application number
KR1020000002783A
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 KR1020000002783A priority Critical patent/KR20010075877A/en
Publication of KR20010075877A publication Critical patent/KR20010075877A/en

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

PURPOSE: A system for operating a stock auto-trading program is provided to select concerned items in great quantities, to execute basic stock price analysis and technical stock price analysis, and to automatically make a sale order or a purchase order when a sale point or a purchase point is consistent with an analyzed value. CONSTITUTION: The system for operating a stock auto-trading program consists of an account database, a quotation information receiving thread, a purchase/sale point analysis module, a purchase module, a sale module, and a purchase/sale point order thread. The account database stores a plurality of account data. The quotation information receiving thread receives quotation data from an external data server. The purchase/sale point analysis module executes information processing and operation on the basis of the quotation data, analyzes a purchase or sale point, and determines purchase or sale. The purchase module, if purchase is determined, selects an account to deal with, determines a purchase quantity, and generates a purchase signal. The sale module, if sale is decided, finds out an account possessing the stocks to be sold, and generates a sale signal. The purchase/sale point order thread, communicating with an external BP server, receives the signal from the purchase module or the sale module and makes a purchase or sale order. The purchase/sale point order thread receives conclusion information from the BP server and updates it.

Description

주식 자동매매 프로그램이 운용되는 시스템{SYSTEM FOR OPERATING AUTOMATIC STOCK TRANSACTION PROGRAM}System for stock trading program {SYSTEM FOR OPERATING AUTOMATIC STOCK TRANSACTION PROGRAM}

본 발명은 주식 자동매매 프로그램의 운용 시스템에 관한 것으로, 특히 대량의 관심 종목을 분석하여 매수 또는 매도시점이 분석치와 일치하는 경우 자동으로 매도, 매수 주문을 내는 프로그램의 운용 시스템에 관한 것이다.The present invention relates to an operating system of a stock trading program, and more particularly, to a system for operating a program for automatically selling and buying orders when a buy or sell point matches an analysis value by analyzing a large number of items of interest.

종래의 주식 거래는 개개인이 일정 종목을 선정하고, 이 종목들에 대한 정보를 일일이 수집하고 추적하면서 분석하여, 주식의 매수 또는 매도를 결정한 다음 주문을 내는 방식을 취하였다.In conventional stock trading, individuals select certain stocks, collect and track information on these stocks, analyze them, determine buying or selling stocks, and then place an order.

그러나 이러한 방법으로는 다수의 종목을 관리하는 것이 불가능하고, 또한각 종목을 개별적으로 분석하는데에 걸리는 시간적 손실 또한 막대하였다.However, it was not possible to manage multiple stocks in this way, and the time lost to analyzing each stock individually was enormous.

따라서 근래에는 주가 분석 프로그램이 등장하여 일부에서 사용되고 있으나, 이러한 프로그램은 각 종목의 주가 및 거래량 변화 등 주가 지표에 대한 기술적 분석만을 바탕으로 하여 그 정확성에 의문이 제기되고 있으며, 각 종목을 개별적으로 확인하고 주문을 내야하는 번거로움이 있어 이 역시 대량의 종목을 연속적으로 추적 분석하면서 매매 주문을 내기에는 적합하지 않았다.Therefore, in recent years, a stock price analysis program has been introduced and used in some parts.However, such a program has been questioned for its accuracy based only on technical analysis of stock price indicators such as changes in stock prices and trading volume. The hassle of placing an order is also not suitable for placing a trading order while continuously analyzing a large number of stocks.

또한, 상기 두 가지 방법 모두에서 종목에 대한 분석이 끝난 다음, 매매 주문은 별도의 수작업으로 하여야 하기 때문에 신속한 주문을 내는 것은 불가능하여 단지 1,2 분차로 타인이 매매 체결의 우선권을 갖게 되는 경우가 많았고, 특히 대량의 종목을 관리할 경우에는 동시분석은 물론, 신속한 주문은 불가능하였다.In addition, after analyzing the items in both of the above methods, it is not possible to place an order quickly because the trading order must be done by manual labor. In particular, when managing a large number of stocks, simultaneous analysis and rapid ordering were not possible.

또한 상기의 경우는 급변하는 시장 상황에 대한 신속한 대응이 어려운 문제점이 있었다.In addition, in the above case, it was difficult to quickly respond to rapidly changing market conditions.

본 발명은 이와 같은 종래의 문제점을 감안하여 이루어진 것으로, 그 목적은 인간의 능력으로는 분석할 수 없는 대량의 관심 종목을 선택하여, 기본적인 주가 분석과 기술적인 주가 분석을 하여 매수 또는 매도 시점이 분석치와 일치하면 자동으로 매수 및 매도 주문을 내는 주식 자동 매매 프로그램의 운용 시트템을 제공하는데 있다.The present invention has been made in view of the above-mentioned conventional problems, and its purpose is to select a large number of stocks that cannot be analyzed by human ability, perform basic stock analysis and technical stock analysis, and analyze the buy or sell timing. In line with the above, it provides an operating system for the auto stock trading program that automatically places buy and sell orders.

본 발명의 다른 목적은 급변하는 시장 상황에 빠르게 대응함으로써 안정적인 수익을 거둘 수 있도록 하는 주식 자동 매매 프로그램의 운용 시스템을 제공하는데있다.Another object of the present invention is to provide a system for operating an automatic stock trading program that can achieve stable profits by quickly responding to rapidly changing market conditions.

도 1 은 본 발명의 전체 흐름을 나타낸 플로우차트도.1 is a flowchart showing the overall flow of the present invention.

도 2 는 본 발명에 따른 매수/매도 시점을 분석하는 플로우차트도.Figure 2 is a flowchart for analyzing the buy / sell time point in accordance with the present invention.

도 3 은 본 발명에 따른 매수 신호를 나타낸 플로우차트도.3 is a flowchart showing a buy signal according to the present invention;

도 4 는 본 발명에 따른 매도 신호를 나타낸 플로우차트도.4 is a flowchart illustrating a sell signal according to the present invention;

도 5 는 본 발명에 따른 주문 체결을 나타낸 플로우차트도.5 is a flowchart illustrating order fastening according to the present invention.

본 발명에 따른 시스템의 주식 자동 매매 프로그램은 기본적으로, 계좌 데이터 베이스와, 호가 정보 수신 쓰레드, 매수/매도 시점 분석 모듈, 매수 모듈, 매도 모듈, 그리고 매수/매도 주문 쓰레드로 구성된다.The automatic stock trading program of the system according to the present invention basically comprises an account database, a quotation request information thread, a buy / sell point analysis module, a buy module, a sell module, and a buy / sell order thread.

본 발명에 따른 시스템에서 다수개의 계좌 정보를 갖는 계좌 데이터 베이스가 제공되고, 상기 프로그램이 구동시에, 호가 정보 수신 쓰레드가 외부 데이터 서버로부터 호가 데이터를 수신한다.In the system according to the present invention, an account database having a plurality of account information is provided, and when the program is run, a quote information receiving thread receives the quote data from an external data server.

매수/매도 시점 분석 모듈은 상기의 호가 정보를 토대로 정보처리 및 연산을하면서 매수 또는 매도 시점을 분석하여 매수 또는 매도를 결정한다.The buy / sell point analysis module analyzes a buy or sell point while determining information on a buy or sell point while performing information processing and calculation based on the above quoted price information.

매수가 결정됐을 경우, 매수 모듈에서는, 내부의 계좌 데이터 베이스를 검색하여 다수개의 계좌를 갖고 있을 때 다른 계좌에서 매수할 종목의 주식을 이미 보유하고 있는 지의 여부 및 거래할 계좌 선정, 매수수량을 결정하여 매수/매도 주문 쓰레드에 신호를 보낸다.Once the purchase has been decided, the purchase module searches the internal account database to determine whether the company already has stocks for the item to be bought in another account, the selection of accounts to be traded, and the quantity to buy. Signals the buy / sell order thread.

매도가 결정됐을 경우, 매도 모듈에서는 내부의 계좌 데이터 베이스를 검색하여 매도할 주식을 보유한 계좌를 찾아 매수/매도 주문 쓰레드에 신호를 보낸다.If the sell decision is made, the sell module searches the internal account database to find the account holding the stock to sell and signals the buy / sell order thread.

매수/매도 주문 쓰레드에서는, 외부 비피(BP) 서버와 통신하며, BP 서버에 매수 또는 매도 주문을 내고 또한 BP 서버로부터 체결정보를 받아 체결정보를 업데이트한다.In the buy / sell order thread, it communicates with an external BP server, places a buy or sell order on the BP server, and also receives the trade information from the BP server to update the trade information.

본 발명에 따른 시스템의 프로그램은, 부가적으로 매매주문을 수동으로 선택할 수 있는 모듈을 포함할 수 있으며, 또한 원하는 종목들만을 선택하여 매매하게 하는 모듈을 포함할 수도 있다.The program of the system according to the present invention may additionally include a module for manually selecting a trading order, and may also include a module for selecting and trading only desired items.

이하 본 발명을 실시례에 따라 자세히 설명하면,Hereinafter, the present invention will be described in detail with reference to Examples.

본 발명에 따른 시스템의 프로그램은 도 1 내지 도 5 에서와 같이, 계좌 데이터 베이스, 호가 정보 수신 쓰레드, 매수/매도 시점 분석 모듈, 매수 모듈, 매도 모듈, 그리고 매수/매도 주문 쓰레드로 이루어져 있다.The program of the system according to the present invention is composed of an account database, a price information receiving thread, a buy / sell point analysis module, a buy module, a sell module, and a buy / sell order thread, as shown in FIGS.

상기 프로그램은 다수개의 계좌를 통해 거래를 하게 된다.The program will trade through multiple accounts.

먼저 호가 정보 수신 쓰레드에서 외부의 데이터 서버로부터 유디피(UDP) 통신 방식으로 호가 데이터를 제공받는다.First, the call price information thread is provided with call price data through an UDP communication method from an external data server.

매도/매수 시점 분석 모듈에서는, 도2와 같이, 제공된 호가 정보를 토대로 이동평균 수렴 혹산지수(MACD, Oscillator) 등을 구하는 연산을 수행한다.In the sell / buy time analysis module, as shown in FIG. 2, a calculation for calculating a moving average convergence subtractive index (MACD, Oscillator) or the like is performed based on the provided call price information.

그리고, 계좌의 주식 보유 여부를 판단하여, 계좌가 주식을 보유하고 있으면 매도시점을 분석하고, 주식을 보유하고 있지 않으면 매수시점을 분석한다.In addition, it is determined whether the account holds stocks, and if the account has stocks, the selling point is analyzed, and if not, the buying time is analyzed.

또한 매수 또는 매도 시점일 경우, 각각 매수 모듈과 매도 모듈로 신호를 보낸다.In addition, when the buy or sell point, signals to the buy module and sell module, respectively.

매수일 경우, 매수 모듈에서는, 도3과 같이, 먼저 다른 계좌에서 이미 그 종목의 주식을 보유하고 있는지를 판단하고, 보유하고 있으면 매수신호는 무시한다.In the case of buying, the buying module first determines whether the stock of the item is already held in another account as shown in FIG. 3, and if so, the buying signal is ignored.

보유하고 있지 않으면, 계좌 데이터 베이스를 검색하면서 거래횟수가 가장 작은 계좌를 먼저 검색하고, 상기 계좌가 거래할 최소금액을 갖고 있는지를 판단한다.If not, the account with the smallest number of transactions is searched first while searching the account database to determine whether the account has the minimum amount to trade.

거래할 최소 금액을 갖고 있지 않으면 다음으로 거래 횟수가 작은 계좌를 다시 검색하게 된다.If you don't have the minimum amount to trade, you'll search again for the next few accounts.

계좌가 거래할 최소금액을 갖고 있으면 설정된 1차,2차 매수수량을 시장가로 주문하도록 매수/매도 주문 쓰레드로 신호를 보낸다.If the account has the minimum amount to trade, it sends a signal to the buy / sell order thread to order the set first and second purchase quantities at the market price.

매도일 경우, 매도 모듈에서는, 도4와 같이, 매도할 종목을 보유하고 있는 계좌를 계좌 데이터 베이스에서 검색하고, 보유수량 만큼 시장가로 주문하도록 매수/매도 주문 쓰레드로 신호를 보낸다.In the case of sell, the sell module retrieves the account holding the item to be sold from the account database as shown in FIG. 4 and sends a signal to the buy / sell order thread so as to order at the market price by the quantity held.

시스템에서 프로그램이 구동되면, 매수/매도 유저 인터페이스 쓰레드가 생성되어 시스템이 외부 비피(BP) 서버와 티씨피/아이피(TCP/IP) 방식으로 연결되고, 상기 매수 및 매도 모듈로부터 신호를 받아 매수/매도 주문 쓰레드가, 도5와 같이, BP 서버에 매수 또는 매도 주문을 낸다.When the program is run in the system, a buy / sell user interface thread is created so that the system is connected to an external BP server in a TCP / IP manner and receives signals from the buy and sell module. The sell order thread places a buy or sell order on the BP server, as shown in FIG.

또한 BP 서버로부터 매매가 체결됐는지에 대한 정보를 받아 매매체결정보를 업데이트한다.In addition, the BP server receives information on whether a sale has been concluded and updates the sales decision report.

프로그램 종료시, 매수/매도 유저인터페이스 쓰레드는 소멸된다.At the end of the program, the buy / sell user interface threads are destroyed.

이상과 같이 본 발명에 따른 시스템의 주식 자동매매 프로그램의 사용으로, 대량의 종목을 분석하여 신속하게 주문을 낼 수 있다.As described above, by using the stock automatic trading program of the system according to the present invention, a large amount of stocks can be analyzed to place an order quickly.

투자자 측면에서는, 가장 빠른 매수 시점과 유효적절한 매도 시점을 포착하고 시장의 급변화에 신속히 대처할 수 있다.On the investor side, you can capture the earliest buy and sell times and respond quickly to market changes.

또한 안정된 수익률 및 당일 보유주식을 최대한 정리하는 방법으로 시장리스크를 최소화할 수 있는 효과를 갖고, 증권사의 측면에서는, 가장 빠른 매수 시점과 유효 적절한 매도 시점을 포착함으로써 많은 매매가 이루어질 수 있으므로 약정을 극대화할 수 있으며 많은 계좌를 동시에 관리할 수 있는 효과를 갖는다.It also has the effect of minimizing market risk by maximizing stable returns and stocks held on the same day, and securities firms can maximize their commitments by capturing the fastest buying and effective selling points. It is possible to manage many accounts at the same time.

Claims (1)

다수개의 계좌정보를 갖는 계좌 데이터 베이스와;An account database having a plurality of account information; 외부 데이터 서버로부터 호가 데이터를 수신하는 호가 정보 수신 쓰레드와;A call price information receiving thread for receiving call price data from an external data server; 상기의 호가 정보를 토대로 정보처리 및 연산을 하면서 매수 또는 매도 시점을 분석하여 매수 또는 매도를 결정하는 매수/매도 시점 분석 모듈과;A buy / sell time analysis module configured to determine a buy or sell point by analyzing a buy or sell point while performing information processing and calculation based on the call price information; 매수가 결정됐을 경우, 내부의 계좌 데이터 베이스를 검색하여 다수개의 계좌를 갖고 있을 때 다른 계좌에서 매수할 종목의 주식을 이미 보유하고 있는 지의 여부 및 거래할 계좌 선정, 매수수량을 결정하여 매수 신호를 발생시키는 매수모듈과;In case of purchase decision, search the internal account database to determine whether the company already holds stocks of the item to be bought in another account, the selection of the account to be traded, and the quantity of purchase, when generating a buy signal. A buying module; 매도가 결정됐을 경우, 내부의 계좌 데이터 베이스를 검색하여 매도할 주식을 보유한 계좌를 찾아 매도 신호를 발생시키는 매도 모듈과;A selling module for searching the internal account database to find an account having a stock to sell and generating a selling signal when the selling is determined; 외부 비피(BP) 서버와 통신하며, 상기 매수 및 매도 모듈에서 신호를 받아 BP 서버에 매수 또는 매도 주문을 내고, BP 서버로부터 체결정보를 받아 체결정보를 업데이트하는 매수/매도 주문 쓰레드로 구성된 주식 자동 매매 프로그램이 운용되는 시스템.A stock autonomous system consisting of a buy / sell order thread that communicates with an external BP server, receives a signal from the buy and sell module, issues a buy or sell order to the BP server, and receives the closing information from the BP server to update the closing information. The system in which the trading program operates.
KR1020000002783A 2000-01-21 2000-01-21 System for operating automatic stock transaction program KR20010075877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000002783A KR20010075877A (en) 2000-01-21 2000-01-21 System for operating automatic stock transaction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000002783A KR20010075877A (en) 2000-01-21 2000-01-21 System for operating automatic stock transaction program

Publications (1)

Publication Number Publication Date
KR20010075877A true KR20010075877A (en) 2001-08-11

Family

ID=19640218

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000002783A KR20010075877A (en) 2000-01-21 2000-01-21 System for operating automatic stock transaction program

Country Status (1)

Country Link
KR (1) KR20010075877A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020063542A (en) * 2002-07-08 2002-08-03 강철준 strategy trading system utilizing the varying structure of the tic data and/or the limit order book data
KR20030084023A (en) * 2002-04-24 2003-11-01 키움닷컴증권 주식회사 real time order transaction system and the method for futures and options deals
KR100836066B1 (en) * 2007-06-29 2008-06-10 장태연 System and method for automatic stock trading, and recording medium recorded with a program therefor
KR20160017694A (en) 2014-07-31 2016-02-17 주식회사 한국금융아이티 Apparatus and method for synchronized automatic dealing of system trading
KR20200086557A (en) 2019-01-09 2020-07-17 김재현 Automatic stock trading method using OPEN API
KR20210068969A (en) 2019-11-28 2021-06-10 카멜레온홀딩스(주) Exchange and transaction system for algorithm-based quantitative investment strategies
KR20210102117A (en) 2020-02-11 2021-08-19 카멜레온홀딩스(주) System and method for algorithm-based quantitative investment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030084023A (en) * 2002-04-24 2003-11-01 키움닷컴증권 주식회사 real time order transaction system and the method for futures and options deals
KR20020063542A (en) * 2002-07-08 2002-08-03 강철준 strategy trading system utilizing the varying structure of the tic data and/or the limit order book data
KR100836066B1 (en) * 2007-06-29 2008-06-10 장태연 System and method for automatic stock trading, and recording medium recorded with a program therefor
KR20160017694A (en) 2014-07-31 2016-02-17 주식회사 한국금융아이티 Apparatus and method for synchronized automatic dealing of system trading
KR20200086557A (en) 2019-01-09 2020-07-17 김재현 Automatic stock trading method using OPEN API
KR20210068969A (en) 2019-11-28 2021-06-10 카멜레온홀딩스(주) Exchange and transaction system for algorithm-based quantitative investment strategies
KR20210102119A (en) 2019-11-28 2021-08-19 카멜레온홀딩스(주) Exchange and transaction system for algorithm-based quantitative investment strategies
KR20220081964A (en) 2019-11-28 2022-06-16 카멜레온홀딩스(주) Exchange and transaction system for algorithm-based quantitative investment strategies
KR20210102117A (en) 2020-02-11 2021-08-19 카멜레온홀딩스(주) System and method for algorithm-based quantitative investment
KR20220081963A (en) 2020-02-11 2022-06-16 카멜레온홀딩스(주) System and method for algorithm-based quantitative investment

Similar Documents

Publication Publication Date Title
US8458065B1 (en) System and methods for content-based financial database indexing, searching, analysis, and processing
US6594643B1 (en) Automatic stock trading system
US20050165670A1 (en) Systems and methods for linking orders in electronic trading systems
US8571968B2 (en) Solutions server
JP2000353196A (en) Security trade aiding system
KR20200098182A (en) Automated stock trading system and its service method
US20050102220A1 (en) Method and system for investment trading venue selection
KR20160032416A (en) Auto stocks bulk sale of the shares offered by way of real-time automated trading system, and the system
CN110163758A (en) Artificial intelligence Stock investment analysis system
KR20190018369A (en) Merchandise Planning System And Method Using Merchandise Planning Server
JP3734168B2 (en) Trading order processing system for automatically setting ordering conditions, and trading order processing method
KR20010075877A (en) System for operating automatic stock transaction program
US20070244781A1 (en) System and method for organizing and evaluating regulation SHO threshold security listed stocks
US20140052597A1 (en) Determination of banding start price for order evaluation
US20010032116A1 (en) System and method for providing information on market pricing
KR20180055778A (en) System and method for judging stock based on context recognition
EP1237102A1 (en) Security exchange assisting system and security exchange assisting method, and computer-readable recorded medium where program is recorded
KR20000054759A (en) Realtime Stock Information Preestemated Program
JP2003281369A (en) Trade planning device and automatic trading system
KR102079232B1 (en) Apparatus and Method for analyzing stock item
KR20070059522A (en) System and method for real time trading
WO2019090619A1 (en) Commodity recommending method and commodity recommending system based on intelligent terminal
KR20020073953A (en) offering method for buying and selling index of stocks item by real time in internet
JP2004029882A (en) System and method for automatically reporting retrieved brand
JP2007140926A (en) Stock transaction assistance system, and method and program for selecting candidate stock for sale

Legal Events

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