WO2017217734A1 - Device for managing item trade data on basis of last-in first-out scheme, and method for managing item trade data by using same - Google Patents

Device for managing item trade data on basis of last-in first-out scheme, and method for managing item trade data by using same Download PDF

Info

Publication number
WO2017217734A1
WO2017217734A1 PCT/KR2017/006136 KR2017006136W WO2017217734A1 WO 2017217734 A1 WO2017217734 A1 WO 2017217734A1 KR 2017006136 W KR2017006136 W KR 2017006136W WO 2017217734 A1 WO2017217734 A1 WO 2017217734A1
Authority
WO
WIPO (PCT)
Prior art keywords
selling
profit
trading
purchase
price
Prior art date
Application number
PCT/KR2017/006136
Other languages
French (fr)
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 KR1020187032232A priority Critical patent/KR102124322B1/en
Publication of WO2017217734A1 publication Critical patent/WO2017217734A1/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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • 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
    • 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/06Asset management; Financial planning or analysis
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Definitions

  • the present invention relates to a stock trading data management device of the last-in-first-out method and a stock trading data management method using the same, and more particularly, to a stock trading data management method using the same. It relates to a technology that can calculate the profit for each item based on the last-in-first-out method.
  • the online stock trading system which trades stocks, futures or options online, has data on the average purchase price.
  • the average purchase price is the unit price divided by the quantity of purchases when only stocks, futures or options are purchased. If the stock is sold, the average purchase price of the shares remains unchanged. If the purchase is made after the sale, the average purchase price is (amount of sale after sale * average price after sale + purchase price * quantity of purchase) / holding quantity.
  • This average price method can be used effectively in real-world transactions, especially when accounting is required.
  • the most influential price is the most recently purchased price.
  • selling is likely to sell the most recently bought product for profit or to believe it is wrong.
  • An object of the present invention is to provide a profit or loss of stocks held by stocks or time according to the last-in-first-out method when trading stocks, futures or options.
  • the item trading data management method performed by the item trading data management apparatus for achieving the above object, in the item trading data management method performed by the item trading data management apparatus, the number of purchases for a particular item Storing the number of sheets and the number of sheets if they occur; Calculating and storing the gains and gains on the sale if the sale of a specific sale for the particular item occurs by a last-in first-out method; Calculating the average purchase price of the stocks held by the last-in, first-out method using the accumulated trading profit; And calculating an investment profit corresponding to the average purchase price of the stocks.
  • the item trading data management method is to display the first element of the investment profit generated by the sale of the specific item and the second element of the investment profit corresponding to the price change of the remaining balance of the specific item It may further comprise a step.
  • the first element may be calculated using the cumulative trading profit.
  • the second element may be calculated by multiplying the remaining amount by subtracting the present price from the average purchase price of the holding item.
  • the sum of the first element and the second element may correspond to the investment profit.
  • the step of calculating and storing the trading profit and the cumulative trading profit is to store the relative selling price from the most recently purchased quantity to the selling quantity corresponding to the selling, and based on the selling profit and selling quantity Accumulated trading margin can be calculated.
  • the step of calculating and storing the selling profit and the cumulative selling and selling profits store two or more selling relative buys when the selling quantity of the specific selling is more than the most recently bought quantity, and each of the two or more selling selling buys. It is possible to calculate the trading margin and cumulative trading margin for.
  • the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from a value obtained by subtracting the selling relative purchase amount from the specific selling product by the selling quantity.
  • the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated sales gains by the remaining amount.
  • the item trading data management apparatus stores the sale and cumulative gains cumulative that is calculated by the last-in-first-out method whenever the item sells for a particular sell occurs Memory; And a processor for calculating the average purchase price of the stocks of the last-in-first-out type and calculating the investment profit corresponding to the average purchase price of the stocks, using the cumulative profits from the last-in, first-out type.
  • the processor may display the first element of the investment profit generated by the sale of the particular item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item.
  • the first element may be calculated using the cumulative trading profit.
  • the second element may be calculated by multiplying the remaining amount by subtracting the present price from the average purchase price of the holding item.
  • the sum of the first element and the second element may correspond to the investment profit.
  • the memory may store the relative selling price from the most recently purchased quantity to the selling quantity corresponding to the selling, and calculate the selling and selling profit accumulation based on the selling relative quantity.
  • the memory may store two or more selling relative purchases when the selling quantity of the particular selling quantity is more than the most recently purchased quantity, and calculates the selling and selling profit accumulation for each of the two or more selling buying quantities. Can be.
  • the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from a value obtained by subtracting the selling relative purchase amount from the specific selling product by the selling quantity.
  • the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated sales gains by the remaining amount.
  • the present invention can provide the profit information of the stock more accurately by calculating the profit and loss based on the last-in, first-out method.
  • the present invention may provide information on the most recently purchased stock based on the selling point when the sale of a particular item occurs.
  • FIG. 1 is a view showing a stock trading system of the last-in, first-out method according to an embodiment of the present invention.
  • FIG. 2 is a block diagram illustrating an example of an apparatus for managing trading data shown in FIG. 1.
  • FIG. 3 is a flowchart illustrating a method of managing item transaction data in a last-in-first-out method according to an embodiment of the present invention.
  • FIG. 4 is a view showing an example of the item trading data using the item trading data management method according to the present invention.
  • 5 to 6 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
  • FIG. 7 to 8 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
  • FIG. 9 is a diagram illustrating an example of an interface screen of an apparatus for managing trading data according to the present invention.
  • FIG. 1 is a view showing a stock trading system of the last-in, first-out method according to an embodiment of the present invention.
  • the last-in first-out item trading system includes an item trading data management device 110 and the terminal (120-1 ⁇ 120-N).
  • the item transaction data management apparatus 110 may calculate the profit for each item of the stock based on a last-in, first-out method.
  • the online stock trading system calculates the profit by making a database of stock trading data based on the average purchase price.
  • the stock trading system provides profit information on stocks based on the last-in-first-out method, so that the holders of stocks can accurately grasp the stock situation and profit and loss information caused by trading. You can do that.
  • the item trading data management device 110 stores the number of purchases and the number of purchases for a particular item, and stores the sale and sale profits calculated by the last-in-first-out method whenever an item is sold for a particular sale.
  • the relative selling price may be stored as the selling quantity from the most recently purchased quantity, and the selling profit and the accumulating trading profit may be calculated based on the selling quantity.
  • the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
  • the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
  • the item transaction data management apparatus 110 calculates the average selling price of the holding item of the last-in-first-out method by using the cumulative profit of the last-in-first-out method.
  • the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated trading gains by the remaining amount.
  • the item transaction data management device 110 calculates an investment profit corresponding to the average purchase price of the item.
  • the investment profit may be calculated by subtracting the input amount from the present value of the holdings multiplied by the remaining amount.
  • the item transaction data management device 110 displays the first element of the investment profit generated by the sale of a particular item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item.
  • the first element may be calculated by using the trading profit accumulation.
  • the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item.
  • the sum of the first element and the second element may correspond to the investment profit.
  • the terminals 120-1 to 120 -N may correspond to a means of checking stock trading data by a user who owns stocks.
  • the terminals 120-1 to 120 -N are a smart phone, a portable terminal, a mobile terminal, a personal digital assistant (PDA), and a portable multimedia (PMP).
  • Player Terminal Telematics Terminal, Navigation Terminal, Personal Computer, Notebook Computer, Slate PC, Tablet PC, Ultrabook, Wearable Device Device, such as Smartwatch, Smart Glass, Head Mounted Display (HMD), Wibro Terminal, Internet Protocol Television (IPTV) Terminal, Smart TV, Digital Broadcasting
  • PDA personal digital assistant
  • PMP portable multimedia
  • Player Terminal Telematics Terminal, Navigation Terminal, Personal Computer, Notebook Computer, Slate PC, Tablet PC, Ultrabook, Wearable Device Device, such as Smartwatch, Smart Glass, Head Mounted Display (HMD), Wibro Terminal, Internet Protocol Television (IPTV) Terminal, Smart TV, Digital Broadcasting
  • IPTV Internet Protocol Television
  • Smart TV Digital Broadcasting It can correspond to various terminals such as a terminal, a television, a 3D television, a home theater system, an audio video navigation (AVN) terminal, an audio
  • the terminals 120-1 to 120 -N may receive information on the item transaction from the item transaction data management apparatus 110 based on the network 130.
  • the network 130 is a concept encompassing both the existing network and the network that can be developed in the future.
  • the network is an IP network that provides a data transmission / reception service and an uninterrupted data service through an internet protocol (IP), and an IP network structure that integrates different networks based on IP.
  • IP internet protocol
  • IP internet protocol
  • IP internet protocol
  • IP internet protocol
  • IP IP
  • IP IP
  • FIG. 2 is a block diagram illustrating an example of an apparatus for managing trading data shown in FIG. 1.
  • the item transaction data management apparatus 110 illustrated in FIG. 1 includes a memory 210 and a processor 220.
  • the memory 210 stores a buy quantity and a buy quantity for a specific stock, and stores a trading profit and a cumulative selling profit which are calculated by a last-in-first-out method whenever a sell-off of a specific sell occurs.
  • the last-in, first-out method may correspond to a method of determining that the purchase amount remaining by the most recent purchase amount is sold when the sale of a specific sale for a specific item occurs.
  • the present invention provides a stock trading data management apparatus of the last-in, first-out method that matches the actual selling method, and provides profit and loss information of various methods with more accurate stock trading information.
  • the memory 210 may generate a field for recording the purchase information according to each purchase, and store the purchase information in each field when the purchase of a specific item occurs. For example, assuming that a buy for item A has occurred, the buy and buy quantity may be stored in the buy and buy quantity fields for the buy in item A, respectively.
  • the field may be generated and stored in the same format as the purchase information in the same manner as when the purchase occurs.
  • the number of purchases and the number of purchases may refer to the unit price and quantity to buy in the item trading. Therefore, for stocks already held, the current unit price of the stock may be stored as a purchase amount, and the amount of stocks held may be stored as a purchase quantity.
  • the memory 210 calculates the buy and sell gains and cumulative gains by the last-in-first-out method whenever the item is sold, the purchase remaining amount, the selling amount, the selling price, the selling date and time, Information such as buy fees, sell fees, and taxes can be stored.
  • the trading profit may mean the amount of profit and loss arising from buying and selling, and the cumulative sum may correspond to the accumulation of trading gains.
  • the remaining amount of purchase may correspond to the remaining value by subtracting the purchase quantity of the selling occurred after the purchase from the quantity of purchase. Therefore, for each purchase, it is possible to subtract the selling quantity by the sale after the purchase from the remaining purchase amount until the purchase residual amount becomes zero.
  • the selling quantity by the subsequent selling may be excluded from the purchase amount of the most recently generated purchase amount.
  • the quantity sold by selling is deducted until the purchase balance for the most recent purchase becomes zero, and when the quantity remaining by the most recent buying becomes zero, the quantity of selling remaining from the purchase remaining by the previous purchase is zero. Can be deducted.
  • the relative selling price may correspond to the selling price for one week of the item to be sold. In other words, it can be determined that each one of the stocks corresponding to the relative purchase amount is sold corresponding to the relative purchase price.
  • the buyer's selling date may correspond to the selling date and time in which the selling occurs corresponding to the buying quantity.
  • the buying fee, selling fee, and tax may correspond to an amount obtained by dividing an amount generated by buying or selling by a predetermined ratio.
  • the amount generated by buying or selling may be deducted by the amount of won divided by a predetermined ratio, and the actual amount and difference may be added to the last quantity.
  • the memory 210 generates a field for storing the information according to each sale at each occurrence of the sale, in order to calculate and store the sale profit and the sale profit accumulation in a last-in-first-out manner, and sell quantity, sell, Information such as the number of selling relatives, the number of selling relatives, the date and time of the selling partner, and the selling partner commission can be stored.
  • the selling and selling quantity may mean a unit price and quantity sold in the stock trading.
  • the relative buying quantity may correspond to the selling quantity of the deducted sell until the purchase residual amount of the corresponding purchase becomes zero.
  • the number of purchases made at 9:00 AM on May 1, 2016, is 100
  • the quantity of sells at 1:00 PM and 3:00 PM, on the same day is 50.
  • the relative buy quantity for the item A may be stored as 50 by two sales.
  • the buying quantity may correspond to the buying relative selling quantity. That is, since the purchase quantity has been exhausted by the selling occurring after the purchase, and the purchase balance is zero, all the buying quantity may correspond to the relative selling quantity.
  • the selling quantity itself may correspond to the relative selling quantity.
  • the selling quantity by the next selling may be the buying relative selling amount.
  • the purchase relative selling amount corresponding to one purchase may be stored in plural in some cases.
  • the selling date of the counterparty may correspond to the date and time that the purchase occurred corresponding to the relative buying quantity.
  • the relative selling price may correspond to the purchase price for one week of the stock to be bought. In other words, it can be determined that each one of the stocks corresponding to the relative selling quantity is purchased corresponding to the selling relative purchase.
  • the relative selling price may be stored as the selling quantity from the most recently purchased quantity, and the selling profit and the accumulating trading profit may be calculated based on the selling quantity.
  • the relative selling quantity may also correspond to a value equal to or less than the selling quantity of the selling quantity of the buying quantity by the most recent purchase when the selling occurs. That is, when the quantity of purchases by the most recent purchase is more than the quantity of sells by the sell at the time of the sale, the value of the quantity of sell may correspond to the relative quantity of sell.
  • the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
  • the quantity of purchases made by the most recent purchase is less than the quantity sold by the sell, when the sale occurs, it is equal to the quantity of purchases made by the most recent purchase and is less than or equal to the quantity sold remaining among the remaining purchases of the previous purchase. It can correspond to a value.
  • the selling quantity due to the selling occurrence is 30, the buying quantity by the most recent first purchase is 20, and the residual quantity of buying by the second purchase before the first buying is 20.
  • the relative selling quantity may correspond to 10, such as the quantity of purchase 10 remaining in the quantity of purchase 20 by the first purchase and the quantity of purchase 20 remaining by the second purchase.
  • the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
  • the trading profit can be calculated as follows.
  • Profit or Loss ((Sell-Sell relative) * Sell Quantity)-Purchase Fee-Sell Fee & Tax
  • the selling profit for each selling partner can be calculated and added to the accumulated selling profit.
  • the existing accounting processing method it is possible to calculate by subtracting the buying fee, selling fee and tax from the value of the selling price multiplied by the selling quantity by subtracting the buying average price from the specific selling. That is, it may be determined that the selling quantity by selling is deducted from the buying quantity by all buyings generated for a specific item, not the last-in-first-out method of deducting selling quantity by selling from the latest buying quantity.
  • the value may be calculated differently when calculating the gains and losses of the accounting method and the last-in, first-out method according to the present invention.
  • the value of the stock at the time of transfer and the quantity transferred may correspond to the purchase amount.
  • a value obtained by multiplying the current price of the item at the time of the transfer and the quantity to be transferred may correspond to the selling amount.
  • the processor 220 calculates the average purchase price of the stocks of the last-in, first-out method by using the accumulated sales profits of the last-in, first-out method, and calculates the investment profit corresponding to the average purchase price of the stocks.
  • the average purchase price of the holdings may correspond to the average purchase of the remaining stocks in the stock.
  • the average selling price of the stocks may correspond to the sum of the input amount and the accumulated gains and losses on the stocks divided by the remaining stock.
  • the first element of the investment profit generated by the sale of a certain item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item may be displayed separately.
  • investment profit may correspond to a concept that includes both gains and losses on sale of a specific item and gains and losses on shares held.
  • the first element may be calculated by using the sale profit accumulation total.
  • the accumulated gain or loss on each sale may correspond to the first element of the investment profit for a particular item.
  • the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item.
  • the average purchase price of holdings is calculated by considering the sum of the input amount and the accumulated gains and losses divided by the remaining amount, that is, the cumulative gains and losses are also considered when the value of one stock is evaluated.
  • the second element may not include the gain generated by the sell. In other words, it can mean only the profit generated by the price fluctuations of stocks corresponding to the holding balance.
  • the sum of the first element and the second element may correspond to the return on investment.
  • the investment profit may also be calculated by subtracting the input amount from the amount multiplied by the remaining amount and the present value.
  • the investment accounting method or the last-in-first-out method of the present invention may be used. Regardless, the investment returns can be calculated accurately.
  • the correct investment profit is not calculated. This may be due to the inaccurate investment profit corresponding to the trading profits and price fluctuations of the remaining balance.
  • the gain or loss is calculated by multiplying the selling quantity by the present price minus the buying average price.
  • the average purchase price is a value obtained by dividing the purchase price by the quantity purchased, considering only the case of buying stocks, futures or options, etc., and does not consider when the stock was bought.
  • the existing accounting method calculates the investment profit corresponding to the price fluctuation of the remaining balance by multiplying the remaining quantity by subtracting the purchase average price from the present price. That is, since the value is calculated using the purchase average price calculated by considering only the purchase without buying or selling, it is difficult to calculate the accurate investment profit, including the trading profit already calculated in the first element.
  • the price of the remaining amount of the second element by the average purchase price of the holding item calculated by using the selling gain accumulation By calculating the return on investment corresponding to the variation, the sum of the first and second elements may correspond to the correct return on investment.
  • the input amount may correspond to the accumulated amount of the purchase amount, purchase fee, sell amount, sell fee and tax.
  • the investment profit may correspond to the sum of the profits from the gains and losses on sale and the profits remaining on the remaining stocks.
  • the remaining amount represents the number of shares currently held, and may correspond to the value obtained by subtracting the selling quantity from the buying quantity. If there is a stock previously held, the remaining stock can be calculated by adding the previously held stock to the purchase minus the sold quantity.
  • the holding unit price and the average purchase unit price of the holding stock can be managed by matching each other. Based on the matched information, the holding unit price and the average purchase unit price of the holdings can be compared, and the profit or loss on the item can be easily determined according to the comparison amount.
  • the holding unit price may correspond to the input amount divided by the holding amount of the stock currently held.
  • the stock trading data management device 110 when trading stocks, futures, or options, etc., the profits of the stocks held by stocks or time according to the last-in-first-out method may be provided.
  • FIG. 3 is a flowchart illustrating a method of managing item transaction data in a last-in-first-out method according to an embodiment of the present invention.
  • the method of managing item transaction data in a last-in, first-out method stores the number of purchases and the number of purchases when a purchase of a specific item occurs.
  • a field for recording the purchase information according to each purchase may be generated, and the number corresponding to the purchase information or the purchase quantity may be stored in the generated field. For example, assuming that a buy for item A has occurred, the buy and buy quantity may be stored in the buy and buy quantity fields for the buy in item A, respectively.
  • the number of purchases and the number of purchases may refer to the unit price and quantity to buy in the item trading. Therefore, for stocks already held, the current unit price of the stock may be stored as a purchase amount, and the amount of stocks held may be stored as a purchase quantity.
  • the last-in, last-out item trading data management method calculates and stores the profit and accumulation of trading profits in the last-in, first-out method when a sale of a specific sale for a specific item occurs (S320).
  • the remaining amount of purchase in order to calculate the net gains and gains on the purchase of each item by the method of last-in-first-out, the remaining amount of purchase, the amount of selling relative, the amount of selling relative, the date and time of the selling partner, the selling fee, and the selling fee. And information such as taxes.
  • the trading profit may mean the amount of profit and loss arising from buying and selling, and the cumulative sum may correspond to the accumulation of trading gains.
  • the remaining amount of purchase may correspond to the remaining value by subtracting the purchase quantity of the selling occurred after the purchase from the quantity of purchase. Therefore, for each purchase, it is possible to subtract the selling quantity by the sale after the purchase from the remaining purchase amount until the purchase residual amount becomes zero.
  • the quantity sold by the subsequent sale may be subtracted from the purchase balance of the most recent purchase.
  • the quantity sold by selling is deducted until the purchase balance for the most recent purchase becomes zero, and when the quantity remaining by the most recent buying becomes zero, the quantity of selling remaining from the purchase remaining by the previous purchase is zero. Can be deducted.
  • the relative selling price may correspond to the selling price for one week of the item to be sold. In other words, it can be determined that each one of the stocks corresponding to the relative purchase amount is sold corresponding to the relative purchase price.
  • the buyer's selling date may correspond to the selling date and time in which the selling occurs corresponding to the buying quantity.
  • the buying fee, selling fee, and tax may correspond to an amount obtained by dividing an amount generated by buying or selling by a predetermined ratio.
  • the amount generated by buying or selling may be deducted by the amount of won divided by a predetermined ratio, and the actual amount and difference may be added to the last quantity.
  • the selling and selling quantity may mean a unit price and quantity sold in the stock trading.
  • the relative buying quantity may correspond to the selling quantity of the deducted sell until the purchase residual amount of the corresponding purchase becomes zero.
  • the number of purchases made at 9:00 AM on May 1, 2016, is 100
  • the quantity of sells at 1:00 PM and 3:00 PM, on the same day is 50.
  • the relative buy quantity for the item A may be stored as 50 by two sales.
  • the buying quantity may correspond to the buying relative selling quantity. That is, since the purchase quantity has been exhausted by the selling occurring after the purchase, and the purchase balance is zero, all the buying quantity may correspond to the relative selling quantity.
  • the selling quantity itself may correspond to the relative selling quantity.
  • the selling quantity by the next selling may be the buying relative selling amount.
  • the purchase relative selling amount corresponding to one purchase may be stored in plural in some cases.
  • the selling date of the counterparty may correspond to the date and time that the purchase occurred corresponding to the relative buying quantity.
  • the relative selling price may correspond to the purchase price for one week of the stock to be bought. In other words, it can be determined that each one of the stocks corresponding to the relative selling quantity is purchased corresponding to the selling relative purchase.
  • the relative selling price may be stored as the selling quantity corresponding to the selling from the most recently purchased quantity, and the selling profit and the accumulation of the selling profit may be calculated based on the selling quantity.
  • the relative selling quantity may also correspond to a value equal to or less than the selling quantity of the selling quantity of the buying quantity by the most recent purchase when the selling occurs. That is, when the quantity of purchases by the most recent purchase is more than the quantity of sells by the sell at the time of the sale, the value of the quantity of sell may correspond to the relative quantity of sell.
  • the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
  • the quantity of purchases made by the most recent purchase is less than the quantity sold by the sell, when the sale occurs, it is equal to the quantity of purchases made by the most recent purchase and is less than or equal to the quantity sold remaining among the remaining purchases of the previous purchase. It can correspond to a value.
  • the selling quantity due to the selling occurrence is 30, the buying quantity by the most recent first purchase is 20, and the residual quantity of buying by the second purchase before the first buying is 20.
  • the relative selling quantity may correspond to 10, such as the quantity of purchase 10 remaining in the quantity of purchase 20 by the first purchase and the quantity of purchase 20 remaining by the second purchase.
  • the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
  • the trading profit can be calculated as follows.
  • the selling profit for each selling partner can be calculated and added to the accumulated selling profit.
  • the existing accounting processing method it is possible to calculate by subtracting the buying fee, selling fee and tax from the value of the selling price multiplied by the selling quantity by subtracting the buying average price from the specific selling. That is, it may be determined that the selling quantity by selling is deducted from the buying quantity by all buyings generated for a specific item, not the last-in-first-out method of deducting selling quantity by selling from the latest buying quantity.
  • the value may be calculated differently when calculating the gains and losses of the accounting method and the last-in, first-out method according to the present invention.
  • the value of the stock at the time of transfer and the quantity transferred may correspond to the purchase amount.
  • a value obtained by multiplying the current price of the item at the time of the transfer and the quantity to be transferred may correspond to the selling amount.
  • the method of managing item transaction data of the last-in first-out method calculates the average selling price of holding items of the last-in-first-out method by using the accumulated trading profits (S330).
  • the average purchase price of the holdings may correspond to the average purchase of the remaining stocks in the stock.
  • the average selling price of the stocks may correspond to the sum of the input amount and the accumulated gains and losses on the stocks divided by the remaining stock.
  • the method of managing the item transaction data of the last-in, first-out method calculates the investment profit corresponding to the average purchase price of the holding item (S340).
  • the first element of the investment profit generated by the sale of a certain item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item may be displayed separately.
  • investment profit may correspond to a concept that includes both gains and losses on sale of a specific item and gains and losses on shares held.
  • the first element may be calculated by using the sale profit accumulation total.
  • the accumulated gain or loss on each sale may correspond to the first element of the investment profit for a particular item.
  • the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item.
  • the average purchase price of holdings is calculated by considering the sum of the input amount and the accumulated gains and losses divided by the remaining amount, that is, the cumulative gains and losses are also considered when the value of one stock is evaluated.
  • the second element may not include the gain generated by the sell. In other words, it can mean only the profit generated by the price fluctuations of stocks corresponding to the holding balance.
  • the sum of the first element and the second element may correspond to the return on investment.
  • the investment profit may also be calculated by subtracting the input amount from the amount multiplied by the remaining amount and the present value.
  • the investment accounting method or the last-in-first-out method of the present invention may be used. Regardless, the investment returns can be calculated accurately.
  • the correct investment profit is not calculated. This may be due to the inaccurate investment profit corresponding to the trading profits and price fluctuations of the remaining balance.
  • the gain or loss is calculated by multiplying the selling quantity by the present price minus the buying average price.
  • the average purchase price is a value obtained by dividing the purchase price by the quantity purchased, considering only the case of buying stocks, futures or options, etc., and does not consider when the stock was bought.
  • the existing accounting method calculates the investment profit corresponding to the price fluctuation of the remaining balance by multiplying the remaining quantity by subtracting the purchase average price from the present price. That is, since the value is calculated using the purchase average price calculated by considering only the purchase without buying or selling, it is difficult to calculate the accurate investment profit, including the trading profit already calculated in the first element.
  • the price of the remaining amount of the second element by the average purchase price of the holding item calculated by using the selling gain accumulation By calculating the return on investment corresponding to the variation, the sum of the first and second elements may correspond to the correct return on investment.
  • the input amount may correspond to the accumulated amount of the purchase amount, purchase fee, sell amount, sell fee and tax.
  • the investment profit may correspond to the sum of the profits from the gains and losses on sale and the profits remaining on the remaining stocks.
  • the remaining amount represents the number of shares currently held, and may correspond to the value obtained by subtracting the selling quantity from the buying quantity. If there is a stock previously held, the remaining stock can be calculated by adding the previously held stock to the purchase minus the sold quantity.
  • the holding unit price and the average purchase unit price of the holding stock can be managed by matching each other. Based on the matched information, the holding unit price and the average purchase unit price of the holdings can be compared, and the profit or loss on the item can be easily determined according to the comparison amount.
  • the holding unit price may correspond to the input amount divided by the holding amount of the stock currently held.
  • FIG. 4 is a view showing an example of the item trading data using the item trading data management method according to the present invention.
  • the item transaction data using the item transaction data management method according to the present invention may store corresponding values in fields corresponding to the number of purchases and the number of purchases each time a purchase of a specific item occurs.
  • the item transaction data management method may input data based on a last-in, first-out method when a sell occurs.
  • the last-in, first-out method may correspond to a method of deducting the selling quantity from the most recently purchased quantity when the selling occurs.
  • the selling quantity 23 may be deducted from the buying quantity of 157 bought on November 16, 2015, which is the most recent from November 19, 2015 when the selling occurred.
  • the selling occurred corresponding to the selling price of KRW 8,160 and the selling quantity of 23 for the corresponding stock. have.
  • the selling quantity of 23 may be deducted from the buying quantity of 24 bought on January 18, 2016, which is the most recent from January 19, 2016, when the selling occurred.
  • the relative selling quantity may be stored at each occurrence of the selling in order to calculate the trading profit.
  • the selling on November 19, 2015, the most recent purchase on November 16, 2015 can be saved as 8,740 won (A) as the relative selling price. have.
  • a subsequent sale of November 26, 2015 may also store a purchase of 8,740 (A) as a buy relative of November 16, 2015.
  • the buy quantity of the purchase occurred on November 16, 2015 is the quantity that can cover all the selling volume for the two sells that have occurred since the purchase, the two sells may store one sell relative buy quantity. have.
  • 5 to 6 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
  • the item transaction data of the present invention may store a relative buy price in a corresponding field of purchases whenever a sale occurs.
  • the purchase may be performed by confirming the purchase amount of the purchase occurred on February 11, 2016 and the purchase amount remaining on the at least one purchase before that.
  • the buy relative sell amount field on February 11, 2016 includes 23 buy relative sell amounts (A) corresponding to 23 sell quantities (A) of sell 610 occurred on February 16, 2016. Can be stored.
  • the selling relative sell price of the purchase occurring on February 11, 2016 may include a selling price of 8,155 won for the sale 610 occurring on February 16, 2016 as the purchase relative sell.
  • 23 (B) short-selling quantities of Sell 620 occurring on February 25, 2016 are the one remaining purchases on February 11, 2016, which occurred on January 26, 2016.
  • the number of purchases remaining on January 7, 2016 can be stored as four and the remaining purchases can be stored as zero.
  • the buy relative sell amount field on February 11, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored.
  • the selling price of the selling 620 generated on February 25, 2016 may be 8,575 won in the buying relative selling price field.
  • the buy relative sell amount field on January 26, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored.
  • B 23 sell quantities
  • the selling price of Sell 620 occurring on February 25, 2016 may be 8,575 won.
  • the buy relative sell amount field on January 20, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored.
  • the selling price of the purchase 620 generated on February 25, 2016 may be 8,575 won in the purchase relative selling price of the purchase occurred on January 20, 2016.
  • the buy relative sell amount field on January 18, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored.
  • the selling price of Sell 620 occurring on February 25, 2016 may be 8,575 won.
  • the buy relative sell amount field on January 7, 2016 includes 19 buy relative sell amounts corresponding to 19 of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored.
  • the selling price of the selling 620 generated on February 25, 2016 may be 8,575 won.
  • the selling quantity of the selling 630 occurring on March 10, 2016 is 23, and the buying quantity of the buying of the buying occurred on January 7, 2016, which is the most recent purchase, when the buying quantity is not zero and 2016 1
  • the number of purchases on January 4, 2016 is 5, and the purchase on the 7th of January 2016 is 0.
  • the buy relative sell amount field on January 7, 2016 includes four relative sell amounts corresponding to four of 23 sell quantities (C) of sell (630) occurred on March 10, 2016. C) can be stored.
  • the selling price of the sale 630 generated on March 10, 2016 may be 9,005 won as the relative purchase.
  • the buy relative sell amount field on January 4, 2016 includes 19 buy relative sell amounts corresponding to 19 of 23 sell quantities (C) of sell 630 occurred on March 10, 2016 ( C) can be stored.
  • the selling price of the sell 630 generated on March 10, 2016 may be 9,005 won as the relative purchase price.
  • FIGS. 7 to 8 are diagrams showing an example of a result of calculating the item trading data shown in Figs. 5 to 6 by the item trading data management method according to the present invention.
  • the trading profit to be input to the trading profit field 710 can be calculated as follows.
  • Profit or Loss ((Sell-Sell relative) * Sell Quantity)-Purchase Fee-Sell Fee & Tax
  • the trading profits can be accurately calculated by the last-in, first-out method suitable for trading financial products such as stocks, futures and options. Can be.
  • the gain or loss on sale on November 19, 2015, shown in FIG. 5, is (9,005)-8,740) * 23- ⁇ ((9,005 * 0.005) + (8,740 * 0.002)) * 23 ⁇
  • the selling price corresponding to the current price is 9,005 won, which is the purchase by the most recent purchase minus 8,740 won, multiplied by 23 selling quantities, resulting in 0.56% of the buying fee of 9,005 won and selling at 6,095 won.
  • 4,658 won minus 1,437 won which is the sum of 0.2% of the commission of 8,740 and multiplied by the quantity sold, may correspond to the gain or loss on sale that occurred on 19 November 2015.
  • the selling price is calculated by subtracting the selling price of KRW 9,005 from the existing system holding unit price of KRW 8,757 on November 19, 2015 shown in FIGS. 7 and 8.
  • the selling price is calculated by subtracting 0.5% of the purchase fee of 9,005 and 0.2% of the selling fee of 8,757 and subtracting KRW 1,438, which is the product of the selling quantity.
  • It can be calculated by trading profit by. That is, it can be seen that a difference occurs in the trading profit and amount by the last-in, first-out method according to the present invention.
  • the cumulative trading profit is a value calculated by accumulating trading profits calculated at each sale occurrence, and the sum of the trading profits stored in the trading profit field 710 may be located at the bottom of the trading profit accumulation field 720. Can be.
  • the first element of the investment profit according to the present invention may correspond to a value input in the trading profit accumulation field 720.
  • the second element of the investment profit according to the present invention may correspond to a value input in the valuation profit field 750 shown in FIGS. 7 and 8.
  • the stock valuation gain that is, the investment profit from the price change of the stock quantity
  • the stock valuation gain may be calculated by multiplying the stock quantity by a value obtained by subtracting the amount of the field 740 from the current stock price average price.
  • the remaining value of W28,577, multiplied by 135, may correspond to the valuation gains of the holdings.
  • the calculation based on the amount shown in FIG. 7 indicates that the present value of KRW 9,040, excluding the average purchase price of shares held at 8828.32 won, is 211.68 won, which is equivalent to the earnings by one share.
  • the rounded value of KRW28,576.8, the rounded value of KRW28,577 may correspond to the valuation gains of the holdings.
  • the method for managing the trading data of stocks is provided by displaying the accumulated trading gains, which are the first elements of the investment profit, and the holding stocks, which are the second elements of the investment profit, as shown in FIGS. 7 and 8. By doing so, the user holding the stock can check the profit and loss information for each situation at a glance.
  • the investment profit may be calculated by subtracting the input amount from the sum of the sum of the first element and the second element and multiplying the remaining amount by the present value.
  • the cumulative trading profit may correspond to 24,501 won, and the valuation of stocks may correspond to 28,577 won. Therefore, the specific items shown in FIG. 7 and FIG. 8 may correspond to 53,078 won in which the profit of the investment up to December 17, 2015, is 24,501 won and 28,577 won.
  • the average stock price of the stocks inputted into the field average selling price of the stock items may correspond to a value obtained by dividing the sum of the input amount and the accumulated profit from the sale by the remaining amount.
  • the accumulated trading gains to the input amount it is possible to prevent the gains from trading gains from being included in the valuation gains of the holdings.
  • the average selling price of shares held immediately after the sale on January 19 is 1,601,779, which is the sum of the inputs amounting to 1,572,715 until January 19, 2016 and the cumulative gains and losses on sale. It may correspond to 8753 member.
  • the unit price of the stock item average selling means in the field 740 may correspond to the selling price for one week of the stock item calculated without considering the value input in the accumulated trading profit field 720.
  • the existing system holding unit cost field 731 shown in FIGS. 7 to 8 may correspond to the purchase average value calculated corresponding to the accounting processing reference method, not the last-in, first-out method according to the present invention. That is, considering only the case of buying stocks, futures or options, the purchase price may be divided by the quantity to correspond to the unit price of the stocks evaluated.
  • the investment profit can be calculated as follows.
  • the gain or loss on sale on November 19, 2015 is the purchase fee of 9,005 at the price of KRW 5,704, which is the product of selling price minus 9,005 minus the existing system holding price of KRW 8,757. It is equivalent to 4,266 won minus 1,438 won, which is the product of 0.5% of won and 0.2% of selling fee of 8,757 won.
  • the valuation gains on November 19, 2015 may be equivalent to W33,232, the current price of W9,005 minus the existing system holding price of W8,757, multiplied by the remaining balance of 134.
  • the valuation gains of the holdings are calculated using the existing accounting method, even if a sale occurs, the purchase average price calculated by the purchase can be used as it is. That is, since only the purchase price at the time of purchase is taken into account, it can be determined that the gains and losses generated by the sale are included in the calculation of the valuation gains of the stocks.
  • the sum of trading gains of 4,266 won and valuation gains of 33,232 won is 37,498 won, which is not the same as investment profit of 37,826 won on November 19, 2015.
  • the difference between the conventional method and the present invention in the investment profit calculated on November 19, 2015 according to the above example may be as small as 328 won, but if the buy and sell for the relevant stock continuously occurs this difference Can grow and widen.
  • such large differences may cause damages in financial transactions such as stocks, futures and options.
  • the present invention can solve the above problems by providing item trading data based on the last-in, first-out method.
  • the holding unit price described in the holding unit price field 730 means the unit price for one share item calculated in consideration of the cumulative gains and losses. You can also determine the profit or loss on a stock.
  • FIG. 9 is a diagram illustrating an example of an interface screen of an apparatus for managing trading data according to the present invention.
  • the interface screen of the item transaction data management apparatus may correspond to the interface screen provided from the smart terminal 910 of the user.
  • the item transaction data provided by the item transaction data management apparatus may be acquired through the smart terminal 910 and output according to FIG. 9.
  • the item selection button 920 on the interface screen may select and confirm the item trading data for each item owned by the user.
  • the average price of the stocks to be purchased is provided together with the current price and the price of the stock to enable the user to more easily determine the profit and loss information of the stock.
  • the interface screen of the item transaction management apparatus may also provide information such as stock price information, item of interest information, item profit and loss information or item charts and graphs.
  • the item transaction data according to the present invention may be provided through various types of terminals in addition to the smart terminal.
  • the stock trading data management apparatus of the last-in first-out method and the stock trading data management method using the same are not limited to the configuration and method of the embodiments described above, but the above-described embodiments These may be configured by selectively combining all or part of the embodiments so that various modifications can be made.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Technology Law (AREA)
  • Human Resources & Organizations (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Disclosed are a device for managing item trade data on the basis of a last-in first-out scheme and a method for managing item trade data by using the same. A method for managing item trade data according to an embodiment of the present invention may comprise: when purchase of a specific item occurs, storing a purchase price and a purchase quantity; when sale of an item occurs at a specific sale price, calculating and storing a trading profit and a cumulative total of trading profits on the basis of a last-in first-out scheme; calculating an average purchase unit price of holding items on the basis of the last-in first-out scheme by using the cumulative total of trading profits; and calculating investment income corresponding to the average purchase unit price of the holding items. Therefore, the present invention can provide more accurate and various item-specific profit information.

Description

후입선출 방식의 종목 거래 데이터 관리 장치 및 이를 이용한 종목 거래 데이터 관리 방법Stock trading data management device of last-in first-out method and stock trading data management method using the same
본 발명은 후입선출 방식의 종목 거래 데이터 관리 장치 및 이를 이용한 종목 거래 데이터 관리 방법(APPARATUS FOR MANAGING ITEM TRADING DATA BASD ON LAST-IN-FIRST-OUT AND METHOD USING THE SAME)에 관한 것으로, 더욱 상세하게는 후입선출 방식을 기반으로 종목별 수익을 산출할 수 있는 기술에 관한 것이다.The present invention relates to a stock trading data management device of the last-in-first-out method and a stock trading data management method using the same, and more particularly, to a stock trading data management method using the same. It relates to a technology that can calculate the profit for each item based on the last-in-first-out method.
본 발명은 2016년 6월 13일 출원된 한국특허출원 제10-2016-0073201호의 출원일의 이익을 주장하며, 그 내용 전부는 본 명세서에 포함된다.The present invention claims the benefit of the filing date of Korean Patent Application No. 10-2016-0073201 filed June 13, 2016, the entire contents of which are incorporated herein.
주식, 선물 또는 옵션 등의 종목을 온라인을 통하여 거래하는 온라인 종목 거래 시스템은 매입평균가 방식으로 데이터를 갖고 있다.The online stock trading system, which trades stocks, futures or options online, has data on the average purchase price.
매입평균가 방식은 주식, 선물 또는 옵션 등을 매수만 을 경우 매입금액을 수량으로 나눈 단가를 말한다. 만일 매도를 할 경우 보유 주식의 매입평균가는 변함이 없다. 만일 매도후에 매수를 할 경우, 매입평균가는 (매도 후 보유수량 * 매도 후 매입평균가 + 매수단가 * 매수수량)/보유수량이 된다.The average purchase price is the unit price divided by the quantity of purchases when only stocks, futures or options are purchased. If the stock is sold, the average purchase price of the shares remains unchanged. If the purchase is made after the sale, the average purchase price is (amount of sale after sale * average price after sale + purchase price * quantity of purchase) / holding quantity.
현재는 이 매입평균가를 가지고, 매도실현손익, 평가수익률, 평가손익을 계산하고 있다. 매도실현손익은 (매도가 - 매입평균가) * 매도수량으로 계산하고 있고, 평가수익률은 1 - (매입평균가 / 현재가)로 계산하고 있고, 평가손익은 (현재가 - 매입평균가) * 보유수량으로 계산하고 있다.At this point, we use the average buy price to calculate gains and losses, valuation returns and valuation gains and losses. Selling gains and losses are calculated as (Sell-Average Purchase Value) * Sell Quantity, and Valuation Rate is calculated as 1-(Buy Average Price / Present Price), and Valuation Profit and Loss is calculated as (Present Price-Average Price). have.
이런 매입평균가 방식은 실물을 사고 파는 거래에 있어서 유효하게 사용될 수 있으며, 특히 회계처리를 해야 할 경우 사용될 수 있다.This average price method can be used effectively in real-world transactions, especially when accounting is required.
그러나, 주식, 선물 및 옵션 등의 금융 상품에 있어서, 각각의 거래자들은 가격의 변화에 의해서 상호간의 거래가 빈번하게 발생한다. 상품의 거래에 있어서는 가격이 변하여도 거래의 방향성은 변하지 않는데 반하여(생산자 -> 유통업자 -> 소비자), 주식, 선물, 옵션 등 금융상품의 거래는 언제나 일정한 방향이 존재하지 않고, 서로가 공급자이며, 서로가 수요자가 되는 특성이 있다. 이런 거래에 있어서는 각자의 매입평균가보다는 가장 최근에 매입한 금액이 얼마인가가 훨씬 중요하게 되며, 따라서, 주식, 선물, 옵션 등의 금융상품을 매수, 매도하는 사람들은 매입평균가가 매매의 판단 기준이 되지 않고, 최근에 매수한 금액이 매매의 판단 기준이 되는 경우가 많다.However, in financial products such as stocks, futures and options, each trader frequently trades with each other due to a change in price. In the trading of commodities, the direction of the transaction does not change even when the price changes (producer-> distributor-> consumer), but there is always a constant direction in the trading of financial products such as stocks, futures, and options. However, there is a characteristic in that each other is a consumer. In such a transaction, the most recent purchase amount is much more important than the average purchase price. Therefore, those who buy and sell financial instruments such as stocks, futures, and options, the average price of buying and selling Instead, the recently purchased amount is often a judgment standard for sales.
또한, 매입평균가의 정의에 의해서 매입평균가에 가장 큰 영향을 미치는 것은 가장 최근에 매입한 가격이다. 그러나 주식, 선물, 옵션 등의 금융상품 거래에 있어서, 많은 경우 매도는 가장 최근에 산 상품을 이익실현을 위해 매도하거나, 매수가 잘못됐다고 판단해 매도하는 것일 가능성이 높다.In addition, by the definition of the average purchase price, the most influential price is the most recently purchased price. However, in the trading of financial instruments such as stocks, futures and options, in many cases, selling is likely to sell the most recently bought product for profit or to believe it is wrong.
따라서, 현재의 매입평균가를 가지고 계산하는 매도실현손익, 평가수익률, 평가손익을 계산하는 방식을 바꿀 필요가 요구되고 있으며, 본 시스템의 후입선출 방식을 기반으로 매입평균가, 매도실현손익, 평가수익율, 평가손익을 산출할 수 있는 전혀 새로운 종목 거래 시스템의 필요성이 절실하게 대두된다.Therefore, it is necessary to change the method of calculating the selling profit and loss, the valuation yield, and the valuation profit and loss calculated using the current buying average price, and based on the last-in, first-out method of this system, There is an urgent need for an entirely new stock trading system that can calculate valuation gains and losses.
관련 선행기술로는, 한국 공개 특허 제10-2014-0134060호, 2014년 11월 21일 공개 (명칭: 온라인 주식 매매일지 작성 방법 및 그 시스템)이 있다.Related prior arts include Korean Patent Publication No. 10-2014-0134060, published on November 21, 2014 (name: online stock trading journal writing method and system thereof).
본 발명의 목적은 주식, 선물 또는 옵션 등의 종목 거래 시 후입선출 방식에 따른 종목별 또는 시간 별로 보유종목의 손익을 제공하는 것이다.An object of the present invention is to provide a profit or loss of stocks held by stocks or time according to the last-in-first-out method when trading stocks, futures or options.
또한, 본 발명의 목적은 후입선출 방식을 기반으로 손익을 산출함으로써 보다 정확하게 종목의 수익 정보를 제공하는 것이다.It is also an object of the present invention to provide profit information of stocks more accurately by calculating profits and losses based on a last-in, first-out method.
또한, 본 발명의 목적은 특정 종목의 매도가 발생할 경우에 매도시점을 기준으로 가장 최근에 매수한 주식의 정보를 제공하는 것이다.In addition, it is an object of the present invention to provide information on the most recently purchased stock based on the selling point when the sale of a particular item occurs.
상기한 목적을 달성하기 위한 본 발명에 따른 종목 거래 데이터 관리 장치에 의하여 수행되는 종목 거래 데이터 관리 방법은, 종목 거래 데이터 관리 장치에 의하여 수행되는 종목 거래 데이터 관리 방법에 있어서, 특정 종목에 대한 매수가 발생하면 매수가와 매수 수량을 저장하는 단계; 상기 특정 종목에 대한 특정 매도가의 매도가 발생하면 후입선출 방식으로 매매차익 및 매매차익 누계를 산출하여 저장하는 단계; 및 상기 매매차익 누계를 이용하여 후입선출 방식의 보유종목의 평균 매수 단가를 산출하는 단계; 및 상기 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출하는 단계를 포함한다.The item trading data management method performed by the item trading data management apparatus according to the present invention for achieving the above object, in the item trading data management method performed by the item trading data management apparatus, the number of purchases for a particular item Storing the number of sheets and the number of sheets if they occur; Calculating and storing the gains and gains on the sale if the sale of a specific sale for the particular item occurs by a last-in first-out method; Calculating the average purchase price of the stocks held by the last-in, first-out method using the accumulated trading profit; And calculating an investment profit corresponding to the average purchase price of the stocks.
이 때, 종목 거래 데이터 관리 방법은 상기 특정 종목의 매매로 인하여 발생하는 상기 투자이익의 제1 엘리먼트 및 상기 특정 종목의 보유잔량의 가격변동에 상응하는 상기 투자이익의 제2 엘리먼트를 구분하여 표시하는 단계를 더 포함할 수 있다.At this time, the item trading data management method is to display the first element of the investment profit generated by the sale of the specific item and the second element of the investment profit corresponding to the price change of the remaining balance of the specific item It may further comprise a step.
이 때, 제1 엘리먼트는 상기 매매차익 누계를 이용하여 산출될 수 있다.In this case, the first element may be calculated using the cumulative trading profit.
이 때, 제2 엘리먼트는 상기 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 상기 보유잔량을 곱하여 산출될 수 있다.In this case, the second element may be calculated by multiplying the remaining amount by subtracting the present price from the average purchase price of the holding item.
이 때, 제1 엘리먼트 및 상기 제2 엘리먼트의 합은 상기 투자이익에 상응할 수 있다.At this time, the sum of the first element and the second element may correspond to the investment profit.
이 때, 매매차익 및 매매차익 누계를 산출하여 저장하는 단계는 가장 최근에 매수한 물량부터 상기 매도에 상응하는 매도물량으로 하여 매도 상대 매수가를 저장하고, 상기 매도 상대 매수가에 기반하여 상기 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, the step of calculating and storing the trading profit and the cumulative trading profit is to store the relative selling price from the most recently purchased quantity to the selling quantity corresponding to the selling, and based on the selling profit and selling quantity Accumulated trading margin can be calculated.
이 때, 매매차익 및 매매차익 누계를 산출하여 저장하는 단계는 상기 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 상기 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, the step of calculating and storing the selling profit and the cumulative selling and selling profits store two or more selling relative buys when the selling quantity of the specific selling is more than the most recently bought quantity, and each of the two or more selling selling buys. It is possible to calculate the trading margin and cumulative trading margin for.
이 때, 매매차익은 상기 특정 매도가에서 상기 매도 상대 매수가를 뺀 금액에 상기 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출될 수 있다.In this case, the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from a value obtained by subtracting the selling relative purchase amount from the specific selling product by the selling quantity.
이 때, 후입선출 방식의 보유종목의 평균 매수 단가는 투입금액에 상기 매매차익 누계를 더한 값을 보유잔량으로 나눠서 산출될 수 있다.In this case, the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated sales gains by the remaining amount.
또한, 본 발명의 일실시예에 따른 종목 거래 데이터 관리 장치는, 특정 종목에 대한 매수가와 매수 수량을 저장하고, 특정 매도가의 종목매도 발생시마다 후입선출 방식으로 산출되는 매매차익 및 매매차익 누계를 저장하는 메모리; 및 상기 후입선출 방식의 매매차익 누계를 이용하여 후입선출 방식의 보유종목 평균 매수단가를 산출하고, 상기 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출하는 프로세서를 포함한다.In addition, the item trading data management apparatus according to an embodiment of the present invention, the buy and buy quantity for a particular item, and stores the sale and cumulative gains cumulative that is calculated by the last-in-first-out method whenever the item sells for a particular sell occurs Memory; And a processor for calculating the average purchase price of the stocks of the last-in-first-out type and calculating the investment profit corresponding to the average purchase price of the stocks, using the cumulative profits from the last-in, first-out type.
이 때, 프로세서는 상기 특정 종목의 매매로 인하여 발생하는 상기 투자이익의 제1 엘리먼트 및 상기 특정 종목의 보유잔량의 가격변동에 상응하는 상기 투자이익의 제2 엘리먼트를 구분하여 표시할 수 있다.At this time, the processor may display the first element of the investment profit generated by the sale of the particular item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item.
이 때, 제1 엘리먼트는 상기 매매차익 누계를 이용하여 산출될 수 있다.In this case, the first element may be calculated using the cumulative trading profit.
이 때, 제2 엘리먼트는 상기 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 상기 보유잔량을 곱하여 산출될 수 있다.In this case, the second element may be calculated by multiplying the remaining amount by subtracting the present price from the average purchase price of the holding item.
이 때, 제1 엘리먼트 및 상기 제2 엘리먼트의 합은 상기 투자이익에 상응할 수 있다.At this time, the sum of the first element and the second element may correspond to the investment profit.
이 때, 메모리는 가장 최근에 매수한 물량부터 상기 매도에 상응하는 매도물량으로 하여 매도 상대 매수가를 저장하고, 상기 매도 상대 매수가에 기반하여 상기 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, the memory may store the relative selling price from the most recently purchased quantity to the selling quantity corresponding to the selling, and calculate the selling and selling profit accumulation based on the selling relative quantity.
이 때, 메모리는 상기 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 상기 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출할 수 있다.In this case, the memory may store two or more selling relative purchases when the selling quantity of the particular selling quantity is more than the most recently purchased quantity, and calculates the selling and selling profit accumulation for each of the two or more selling buying quantities. Can be.
이 때, 매매차익은 상기 특정 매도가에서 상기 매도 상대 매수가를 뺀 금액에 상기 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출될 수 있다.In this case, the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from a value obtained by subtracting the selling relative purchase amount from the specific selling product by the selling quantity.
이 때, 후입선출 방식의 보유종목의 평균 매수 단가는 투입금액에 상기 매매차익 누계를 더한 값을 보유잔량으로 나눠서 산출될 수 있다.In this case, the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated sales gains by the remaining amount.
본 발명에 따르면, 주식, 선물 또는 옵션 등의 종목 거래 시 후입선출 방식에 따른 종목별 또는 시간 별로 보유종목의 손익을 제공할 수 있다.According to the present invention, when trading stocks, futures or options, etc., it is possible to provide the profit or loss of the stocks held by stocks or time according to the last-in-first-out method.
또한, 본 발명은 후입선출 방식을 기반으로 손익을 산출함으로써 보다 정확하게 종목의 수익 정보를 제공할 수 있다.In addition, the present invention can provide the profit information of the stock more accurately by calculating the profit and loss based on the last-in, first-out method.
또한, 본 발명은 특정 종목의 매도가 발생할 경우에 매도시점을 기준으로 가장 최근에 매수한 주식의 정보를 제공할 수 있다.In addition, the present invention may provide information on the most recently purchased stock based on the selling point when the sale of a particular item occurs.
도 1은 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 시스템을 나타낸 도면이다.1 is a view showing a stock trading system of the last-in, first-out method according to an embodiment of the present invention.
도 2는 도 1에 도시된 종목 거래 데이터 관리 장치의 일 예를 나타낸 블록도이다.FIG. 2 is a block diagram illustrating an example of an apparatus for managing trading data shown in FIG. 1.
도 3은 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법을 나타낸 동작 흐름도이다.3 is a flowchart illustrating a method of managing item transaction data in a last-in-first-out method according to an embodiment of the present invention.
도 4는 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터의 일 예를 나타낸 도면이다.4 is a view showing an example of the item trading data using the item trading data management method according to the present invention.
도 5 내지 도 6은 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터의 다른 예를 나타낸 도면이다.5 to 6 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
도 7 내지 도 8은 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터의 또 다른 예를 나타낸 도면이다.7 to 8 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
도 9는 본 발명에 따른 종목 거래 데이터 관리 장치의 인터페이스 화면의 일 예를 나타낸 도면이다.9 is a diagram illustrating an example of an interface screen of an apparatus for managing trading data according to the present invention.
본 발명을 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다. 여기서, 반복되는 설명, 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능, 및 구성에 대한 상세한 설명은 생략한다. 본 발명의 실시형태는 당 업계에서 평균적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해서 제공되는 것이다. 따라서, 도면에서의 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. Here, the repeated description, well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention, and detailed description of the configuration will be omitted. Embodiments of the present invention are provided to more completely describe the present invention to those skilled in the art. Accordingly, the shape and size of elements in the drawings may be exaggerated for clarity.
이하, 본 발명에 따른 바람직한 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 시스템을 나타낸 도면이다.1 is a view showing a stock trading system of the last-in, first-out method according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 시스템은 종목 거래 데이터 관리 장치(110) 및 단말(120-1~ 120-N)을 포함한다.Referring to Figure 1, the last-in first-out item trading system according to an embodiment of the present invention includes an item trading data management device 110 and the terminal (120-1 ~ 120-N).
종목 거래 데이터 관리 장치(110)는 후입선출 방식을 기반으로 주식의 종목별 수익을 계산할 수 있다. 일반적인 온라인 종목 거래 시스템은 매입평균가를 기준으로 종목 거래 데이터를 데이터베이스화 하여 수익을 계산한다. The item transaction data management apparatus 110 may calculate the profit for each item of the stock based on a last-in, first-out method. In general, the online stock trading system calculates the profit by making a database of stock trading data based on the average purchase price.
그러나, 실제로 주식, 선물 또는 옵션 등의 종목을 매도하는 것은 최근에 매수한 물량을 매도하는 것이지 이전에 매수한 물량을 매도하는 것이 아니다. 즉, 실제로는 후입선출 방식에 상응하는 매매가 이루어지고 있지만, 온라인 종목 거래 시스템에서는 매입평균가를 기준으로 하는 회계처리 방식으로 수익을 계산하기 때문에 보유종목에 대해 정확한 수익 정보를 제공받기 어렵다. In practice, however, selling stocks, futures, or options is to sell a recent purchase, not to sell a previous purchase. In other words, the actual trading of the last-in-first-out method is performed, but since the online trading system calculates the profit by the accounting method based on the average purchase price, it is difficult to provide accurate revenue information for the stock.
이러한 문제를 해결하기 위해, 본 발명에 따른 종목 거래 시스템은 후입선출 방식을 기반으로 보유종목에 대한 수익 정보를 제공함으로써, 주식의 보유자가 자신의 주식보유 상황과 매매에 의해 발생한 손익정보를 정확하게 파악할 수 있도록 할 수 있다.In order to solve this problem, the stock trading system according to the present invention provides profit information on stocks based on the last-in-first-out method, so that the holders of stocks can accurately grasp the stock situation and profit and loss information caused by trading. You can do that.
이 때, 종목 거래 데이터 관리 장치(110)는 특정 종목에 대한 매수가와 매수 수량을 저장하고, 특정 매도가의 종목매도 발생 시 마다 후입선출 방식으로 산출되는 매매차익 및 매매차익 누계를 저장한다.At this time, the item trading data management device 110 stores the number of purchases and the number of purchases for a particular item, and stores the sale and sale profits calculated by the last-in-first-out method whenever an item is sold for a particular sale.
이 때, 가장 최근에 매수한 물량부터 매도물량으로 하여 매도 상대 매수가를 저장할 수 있고, 매도 상대 매수가에 기반하여 매매차익 및 매매차익 누계를 산출할 수 있다.In this case, the relative selling price may be stored as the selling quantity from the most recently purchased quantity, and the selling profit and the accumulating trading profit may be calculated based on the selling quantity.
이 때, 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, when the selling quantity of a particular selling price is more than the most recently bought quantity, the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
이 때, 매매차익은 특정 매도가에서 매도 상대 매수가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출될 수 있다.In this case, the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
또한, 종목 거래 데이터 관리 장치(110)는 후입선출 방식의 매매차익 누계를 이용하여 후입선출 방식의 보유종목 평균 매수단가를 산출한다.In addition, the item transaction data management apparatus 110 calculates the average selling price of the holding item of the last-in-first-out method by using the cumulative profit of the last-in-first-out method.
이 때, 후입선출 방식의 보유종목 평균 매수 단가는 투입금액에 매매차익 누계를 더한 값을 보유잔량으로 나눠서 산출될 수 있다.At this time, the average purchase price of the stocks held by the last-in, first-out method may be calculated by dividing the input amount by adding up the accumulated trading gains by the remaining amount.
또한, 종목 거래 데이터 관리 장치(110)는 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출한다.In addition, the item transaction data management device 110 calculates an investment profit corresponding to the average purchase price of the item.
이 때, 투자이익은 보유종목의 현재가에 보유잔량을 곱한 금액에서 투입금액을 빼서 산출할 수도 있다.At this time, the investment profit may be calculated by subtracting the input amount from the present value of the holdings multiplied by the remaining amount.
또한, 종목 거래 데이터 관리 장치(110)는 특정 종목의 매매로 인하여 발생하는 투자이익의 제1 엘리먼트 및 특정 종목의 보유잔량의 가격변동에 상응하는 투자이익의 제2 엘리먼트를 구분하여 표시한다.In addition, the item transaction data management device 110 displays the first element of the investment profit generated by the sale of a particular item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item.
*이 때, 제1 엘리먼트는 매매차익 누계를 이용하여 산출될 수 있다.In this case, the first element may be calculated by using the trading profit accumulation.
이 때, 제2 엘리먼트는 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 보유잔량을 곱하여 산출될 수 있다.At this time, the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item.
이 때, 제1 엘리먼트 및 제2 엘리먼트의 합은 투자이익에 상응할 수 있다.At this time, the sum of the first element and the second element may correspond to the investment profit.
단말(120-1~ 120-N)은 주식을 보유한 사용자가 종목 거래 데이터를 확인하는 수단에 상응할 수 있다. The terminals 120-1 to 120 -N may correspond to a means of checking stock trading data by a user who owns stocks.
이 때, 단말(120-1~ 120-N)은 스마트 폰(Smart Phone), 휴대 단말기(Portable Terminal), 이동 단말기(Mobile Terminal), 개인 정보 단말기(Personal Digital Assistant: PDA), PMP(Portable Multimedia Player) 단말기, 텔레매틱스(Telematics) 단말기, 내비게이션(Navigation) 단말기, 개인용 컴퓨터(Personal Computer), 노트북 컴퓨터, 슬레이트 PC(Slate PC), 태블릿 PC(Tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(Wearable Device, 예를 들어, 워치형 단말기(Smartwatch), 글래스형 단말기(Smart Glass), HMD(Head Mounted Display) 등 포함), 와이브로(Wibro) 단말기, IPTV(Internet Protocol Television) 단말기, 스마트 TV, 디지털방송용 단말기, 텔레비전(Television), 3D 텔레비전, 홈 시어터(Home Theater) 시스템, AVN(Audio Video Navigation) 단말기, A/V(Audio/Video) 시스템, 플렉시블 단말기(Flexible Terminal) 등과 같은 다양한 단말에 상응할 수 있다.In this case, the terminals 120-1 to 120 -N are a smart phone, a portable terminal, a mobile terminal, a personal digital assistant (PDA), and a portable multimedia (PMP). Player Terminal, Telematics Terminal, Navigation Terminal, Personal Computer, Notebook Computer, Slate PC, Tablet PC, Ultrabook, Wearable Device Device, such as Smartwatch, Smart Glass, Head Mounted Display (HMD), Wibro Terminal, Internet Protocol Television (IPTV) Terminal, Smart TV, Digital Broadcasting It can correspond to various terminals such as a terminal, a television, a 3D television, a home theater system, an audio video navigation (AVN) terminal, an audio / video system, a flexible terminal, and the like. have.
이 때, 단말(120-1~ 120-N)은 네트워크(130)를 기반으로 종목 거래 데이터 관리 장치(110)로부터 종목 거래에 관한 정보를 수신할 수 있다.In this case, the terminals 120-1 to 120 -N may receive information on the item transaction from the item transaction data management apparatus 110 based on the network 130.
이 때, 네트워크(130)는 기존에 이용되는 네트워크 및 향후 개발 가능한 네트워크를 모두 포괄하는 개념이다. 예를 들면, 상기 네트워크는 인터넷 프로토콜(IP)을 통하여 대용량 데이터의 송수신 서비스 및 끊기는 현상이 없는 데이터 서비스를 제공하는 아이피망, 아이피를 기반으로 서로 다른 망을 통합한 아이피망 구조인 올 아이피(All IP)망 등일 수 있으며, 유선망, Wibro(Wireless Broadband)망, WCDMA를 포함하는 3세대 이동통신망, HSDPA(High Speed Downlink Packet Access)망 및 LTE 망을 포함하는 3.5세대 이동통신망, LTE advanced를 포함하는 4세대 이동통신망, 위성통신망 및 와이파이(Wi-Fi)망 중에서 하나 이상을 결합하여 이루어질 수 있다.At this time, the network 130 is a concept encompassing both the existing network and the network that can be developed in the future. For example, the network is an IP network that provides a data transmission / reception service and an uninterrupted data service through an internet protocol (IP), and an IP network structure that integrates different networks based on IP. IP) network, and may include a wired network, a Wibro (Wireless Broadband) network, a third generation mobile communication network including WCDMA, a 3.5 generation mobile communication network including an HSDPA (High Speed Downlink Packet Access) network, and an LTE network, including LTE advanced. It can be made by combining one or more of the fourth generation mobile communication network, satellite communication network and Wi-Fi (Wi-Fi) network.
도 2는 도 1에 도시된 종목 거래 데이터 관리 장치의 일 예를 나타낸 블록도이다.FIG. 2 is a block diagram illustrating an example of an apparatus for managing trading data shown in FIG. 1.
도 2를 참조하면, 도 1에 도시된 종목 거래 데이터 관리 장치(110)는 메모리(210) 및 프로세서(220)를 포함한다.Referring to FIG. 2, the item transaction data management apparatus 110 illustrated in FIG. 1 includes a memory 210 and a processor 220.
메모리(210)는 특정 종목에 대한 매수가와 매수 수량을 저장하고, 특정 매도가의 종목매도 발생시마다 후입선출 방식으로 산출되는 매매차익 및 매매차익 누계를 저장한다.The memory 210 stores a buy quantity and a buy quantity for a specific stock, and stores a trading profit and a cumulative selling profit which are calculated by a last-in-first-out method whenever a sell-off of a specific sell occurs.
이 때, 후입선출 방식은 특정 종목에 대한 특정 매도가의 매도가 발생한 경우, 가장 최근에 발생한 매수에 의한 매수 잔량을 매도한 것으로 판단하는 방식에 상응할 수 있다. In this case, the last-in, first-out method may correspond to a method of determining that the purchase amount remaining by the most recent purchase amount is sold when the sale of a specific sale for a specific item occurs.
현재, 주식이나 선물 및 옵션 등의 종목 거래의 평가는 회계처리 기준 방식으로 평균매수가를 기준으로 하고 있다. 따라서, 종목매도가 발생할 경우에도 평균매수가로 주식을 매도한 것으로 판단한 뒤, 이에 상응하게 매매에 의한 수익과 남은 보유주식의 보유단가를 평가하고 있다. Currently, valuations of stocks, futures and options are valued based on average purchases. Therefore, even if the stock sells, the stock is sold at the average buy price, and then the income from the trading and the holding price of the remaining stocks are evaluated accordingly.
그러나, 실제로 주식이나 선물 및 옵션 등을 매도하는 것은 최근에 매수한 주식을 매도하는 것이지, 이전에 매수한 주식을 매도하는 것이 아닐 수 있다. 이처럼 회계처리 방식으로 보유주식의 평균 매수단가를 평가한다면 실제 매도에 따른 수익을 정확하게 계산할 수 없다. However, actually selling stocks, futures, and options may mean selling a recently bought stock, not selling a previously bought stock. In this way, if the average selling price of holdings is assessed using the accounting method, it is impossible to accurately calculate the profit from selling.
이러한 문제점을 해결하기 위해서 본 발명에서는 실제 매도 방식과 일치하는 후입선출 방식의 종목 거래 데이터 관리 장치를 제공함으로써, 보다 정확한 종목 거래 정보와 함께 다양한 방식의 손익 정보를 제공하고자 한다.In order to solve this problem, the present invention provides a stock trading data management apparatus of the last-in, first-out method that matches the actual selling method, and provides profit and loss information of various methods with more accurate stock trading information.
이 때, 메모리(210)는 특정 종목에 대한 매수 발생 시, 각 매수에 따른 매수정보를 기록할 필드를 생성하고, 각 필드에 매수 정보를 저장할 수 있다. 예를 들어, 종목 A에 대한 매수가 발생하였다고 가정한다면, 종목 A의 매수에 대한 매수가 필드와 매수 수량 필드에 각각 매수가와 매수 수량을 저장할 수 있다.At this time, the memory 210 may generate a field for recording the purchase information according to each purchase, and store the purchase information in each field when the purchase of a specific item occurs. For example, assuming that a buy for item A has occurred, the buy and buy quantity may be stored in the buy and buy quantity fields for the buy in item A, respectively.
이 때, 매수가 발생하지 않더라도, 이미 주식을 갖고 있거나 이체 받은 경우에는 매수 발생시와 동일하게 필드를 생성하여 매수 정보와 동일한 형식으로 저장할 수 있다.In this case, even if the purchase does not occur, if the user already has a stock or received a transfer, the field may be generated and stored in the same format as the purchase information in the same manner as when the purchase occurs.
이 때, 매수가와 매수 수량은 종목 거래 시 매수하는 거래 단가와 수량을 의미할 수 있다. 따라서, 이미 보유하고 있던 주식에 대해서는 해당 종목의 현재 단가를 매수가로 저장하고, 보유하고 있던 주식의 양을 매수 수량으로 저장할 수 있다.In this case, the number of purchases and the number of purchases may refer to the unit price and quantity to buy in the item trading. Therefore, for stocks already held, the current unit price of the stock may be stored as a purchase amount, and the amount of stocks held may be stored as a purchase quantity.
이 때, 메모리(210)는 종목매도 발생 시 마다 후입선출 방식으로 매매차익과 매매차익 누계를 산출하기 위해서, 각 매수 마다 매수 잔량, 매수 상대 매도량, 매수 상대 매도가, 매수상대 매도일자 및 시간, 매수 수수료, 매도 수수료 및 세금 등의 정보를 저장할 수 있다.At this time, the memory 210 calculates the buy and sell gains and cumulative gains by the last-in-first-out method whenever the item is sold, the purchase remaining amount, the selling amount, the selling price, the selling date and time, Information such as buy fees, sell fees, and taxes can be stored.
이 때, 매매차익은 매수와 매도로 인해 발생하는 손익 금액을 의미할 수 있으며, 이를 누적하여 합산한 것이 매매차익 누계에 상응할 수 있다.In this case, the trading profit may mean the amount of profit and loss arising from buying and selling, and the cumulative sum may correspond to the accumulation of trading gains.
이 때, 매수 잔량은 매수한 매수 수량에서, 매수 이후 발생한 매도의 매수 수량을 빼고 남은 값에 상응할 수 있다. 따라서, 각 매수에 대해서, 매수 잔량이 0이 될 때까지 매수 잔량에서 매수 이후의 매도에 의한 매도 수량을 빼줄 수 있다.At this time, the remaining amount of purchase may correspond to the remaining value by subtracting the purchase quantity of the selling occurred after the purchase from the quantity of purchase. Therefore, for each purchase, it is possible to subtract the selling quantity by the sale after the purchase from the remaining purchase amount until the purchase residual amount becomes zero.
만약, 해당 매수의 매수 잔량이 0이 아닌 상태에서 다시 매수가 발생한다면, 이 후의 매도에 의한 매도 수량은 가장 최근에 발생한 매수의 매수 잔량에서 제외할 수 있다. 즉, 매도에 의한 매도 수량은 가장 최근의 매수에 대한 매수 잔량이 0이 될 때까지 공제해 주고, 가장 최근의 매수에 의한 매수 잔량이 0이되면 그 이전의 매수에 의한 매수 잔량에서 남은 매도 수량을 공제할 수 있다. If the purchase amount occurs again while the purchase amount of the corresponding purchase amount is not 0, the selling quantity by the subsequent selling may be excluded from the purchase amount of the most recently generated purchase amount. In other words, the quantity sold by selling is deducted until the purchase balance for the most recent purchase becomes zero, and when the quantity remaining by the most recent buying becomes zero, the quantity of selling remaining from the purchase remaining by the previous purchase is zero. Can be deducted.
이 때, 매수 상대 매도가는 매도하려는 종목의 1주에 대한 매도 단가에 상응할 수 있다. 즉, 매수 상대 매도량에 상응하는 하나하나의 주식은 매수 상대 매도가에 상응하게 매도된 것으로 판단할 수 있다.At this time, the relative selling price may correspond to the selling price for one week of the item to be sold. In other words, it can be determined that each one of the stocks corresponding to the relative purchase amount is sold corresponding to the relative purchase price.
또한, 매수상대 매도일자는 매수 상대 매도량에 상응하는 매도가 발생한 매도 일자와 시간에 상응할 수 있다. In addition, the buyer's selling date may correspond to the selling date and time in which the selling occurs corresponding to the buying quantity.
이 때, 매수 수수료, 매도 수수료 및 세금은 매수나 매도로 인해 발생하는 금액을 기설정된 비율로 나누어 준 금액에 상응할 수 있다. 이 때, 매수나 매도로 인해 발생하는 금액을 기설정된 비율로 나누어 준 금액을 1원 단위로 절하를 한 뒤 맨 마지막 수량에 실제와 차액을 넣어 줄 수 있다.In this case, the buying fee, selling fee, and tax may correspond to an amount obtained by dividing an amount generated by buying or selling by a predetermined ratio. In this case, the amount generated by buying or selling may be deducted by the amount of won divided by a predetermined ratio, and the actual amount and difference may be added to the last quantity.
또한, 메모리(210)는 후입선출 방식으로 매매차익과 매매차익 누계를 산출하여 저장하기 위해, 매도 발생시마다 각 매도에 따른 정보를 저장하기 위한 필드를 생성하고, 각 필드에 매도수량, 매도가, 매도 상대 매수량, 매도 상대 매수가, 매도상대 매수일자 및 시간, 매도상대 매수수수료 등의 정보를 저장할 수 있다.In addition, the memory 210 generates a field for storing the information according to each sale at each occurrence of the sale, in order to calculate and store the sale profit and the sale profit accumulation in a last-in-first-out manner, and sell quantity, sell, Information such as the number of selling relatives, the number of selling relatives, the date and time of the selling partner, and the selling partner commission can be stored.
이 때, 매도가와 매도 수량은 종목 거래 시 매도하는 거래 단가와 수량을 의미할 수 있다.In this case, the selling and selling quantity may mean a unit price and quantity sold in the stock trading.
이 때, 매수 상대 매도량은 해당 매수의 매수 잔량이 0이 될 때까지 공제된 매도의 매도 수량에 해당할 수 있다. 예를 들어, 종목 A에 대해서 2016년 5월 1일 오전 9시에 발생한 매수의 매수 수량이 100이고, 같은 날 오후 1시와 오후 3시에 각각 발생한 매도의 매도 수량이 50이라고 가정할 수 있다. 이 때, 종목 A에 대한 매수 상대 매도량은 두 번의 매도에 의해 각각 50으로 저장될 수 있다.In this case, the relative buying quantity may correspond to the selling quantity of the deducted sell until the purchase residual amount of the corresponding purchase becomes zero. For example, for stock A, the number of purchases made at 9:00 AM on May 1, 2016, is 100, and the quantity of sells at 1:00 PM and 3:00 PM, on the same day, is 50. . At this time, the relative buy quantity for the item A may be stored as 50 by two sales.
따라서, 특정 종목에 대한 매수 발생 후, 매도 수량이 해당 매수의 매수 수량보다 많을 경우에는 매수 수량이 매수 상대 매도량에 상응할 수 있다. 즉, 매수 후 발생한 매도에 의해 매수 수량이 모두 소진되고 매수 잔량이 0이 되었기 때문에, 매수 수량 전부가 매수 상대 매도량에 상응할 수 있다.Therefore, after the purchase for a particular item occurs, if the selling quantity is greater than the buying quantity of the corresponding buying quantity, the buying quantity may correspond to the buying relative selling quantity. That is, since the purchase quantity has been exhausted by the selling occurring after the purchase, and the purchase balance is zero, all the buying quantity may correspond to the relative selling quantity.
또한, 특정 종목에 대한 매수 발생 후, 매도 수량이 해당 매수의 매수 수량보다 적을 경우에는 매도 수량 자체가 매수 상대 매도량에 상응할 수 있다. 이 때, 매수 잔량이 0이 아니기 때문에 다음 매도에 의한 매도 수량이 매수 상대 매도량이 될 수 있다.In addition, after the purchase for a particular item, if the selling quantity is less than the buying quantity of the corresponding buy quantity, the selling quantity itself may correspond to the relative selling quantity. At this time, since the remaining purchase amount is not zero, the selling quantity by the next selling may be the buying relative selling amount.
따라서, 한번의 매수에 대응하는 매수 상대 매도량은 경우에 따라 복수개로 저장될 수 있다.Therefore, the purchase relative selling amount corresponding to one purchase may be stored in plural in some cases.
또한, 매도상대 매수일자는 매도 상대 매수량에 상응하는 매수가 발생한 일자와 시간에 상응할 수 있다.In addition, the selling date of the counterparty may correspond to the date and time that the purchase occurred corresponding to the relative buying quantity.
이 때, 매도 상대 매수가는 매수하려는 종목의 1주에 대한 매수 단가에 상응할 수 있다. 즉, 매도 상대 매수량에 상응하는 하나하나의 주식은 매도 상대 매수가에 상응하게 매수되는 것으로 판단할 수 있다.In this case, the relative selling price may correspond to the purchase price for one week of the stock to be bought. In other words, it can be determined that each one of the stocks corresponding to the relative selling quantity is purchased corresponding to the selling relative purchase.
이 때, 가장 최근에 매수한 물량부터 매도물량으로 하여 매도 상대 매수가를 저장하고, 매도 상대 매수가에 기반하여 매매차익 및 매매차익 누계를 산출할 수 있다.In this case, the relative selling price may be stored as the selling quantity from the most recently purchased quantity, and the selling profit and the accumulating trading profit may be calculated based on the selling quantity.
따라서, 매도 상대 매수량 또한, 매도 발생 시 가장 최근 매수에 의한 매수 수량 중에서 매도에 의한 매도 수량과 같거나 매도 수량보다 작은 값에 상응할 수 있다. 즉, 매도 발생 시 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 많을 경우, 매도 수량의 값이 매도 상대 매수량에 상응할 수 있다. Accordingly, the relative selling quantity may also correspond to a value equal to or less than the selling quantity of the selling quantity of the buying quantity by the most recent purchase when the selling occurs. That is, when the quantity of purchases by the most recent purchase is more than the quantity of sells by the sell at the time of the sale, the value of the quantity of sell may correspond to the relative quantity of sell.
이 때, 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, when the selling quantity of a particular selling price is more than the most recently bought quantity, the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
즉, 매도 발생 시 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 적을 경우, 가장 최근의 매수에 의한 매수 수량과 함께 이전 매수의 매수 잔량 중에서 남은 매도 수량과 같거나 남은 매도 수량보다 작은 값에 상응할 수 있다. In other words, if the quantity of purchases made by the most recent purchase is less than the quantity sold by the sell, when the sale occurs, it is equal to the quantity of purchases made by the most recent purchase and is less than or equal to the quantity sold remaining among the remaining purchases of the previous purchase. It can correspond to a value.
예를 들어, 매도 발생에 의한 매도 수량이 30이고 가장 최근의 제1 매수에 의한 매수 수량이 20, 제1 매수 이전의 제2 매수에 의한 매수 잔량이 20이라고 가정할 수 있다. 이 때, 매도 상대 매수량은 제1 매수에 의한 매수 수량 20과 제2 매수에 의한 매수 잔량 20에서 남은 매도 수량 10과 같은 10에 상응할 수 있다.For example, it may be assumed that the selling quantity due to the selling occurrence is 30, the buying quantity by the most recent first purchase is 20, and the residual quantity of buying by the second purchase before the first buying is 20. In this case, the relative selling quantity may correspond to 10, such as the quantity of purchase 10 remaining in the quantity of purchase 20 by the first purchase and the quantity of purchase 20 remaining by the second purchase.
즉, 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 적을 경우에는 매도 상대 매수량이 적어도 둘 이상 존재할 수 있다. 따라서, 매도 상대 매수량과 동일하게 매도 상대 매수가도 둘 이상 존재할 수 있다.That is, when the quantity of the purchase by the most recent purchase is less than the quantity of the sale by the selling, there may be at least two relative selling quantities. Therefore, there may be more than one selling relative purchase in the same manner as the selling relative buying quantity.
이 때, 매매차익은 특정 매도가에서 매도 상대 매수가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출될 수 있다.In this case, the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
즉, 매매차익은 하기와 같이 계산할 수 있다.That is, the trading profit can be calculated as follows.
매매차익 = ((매도가 - 매도 상대 매수가) * 매도 수량) - 매수 수수료 - 매도 수수료 및 세금Profit or Loss = ((Sell-Sell relative) * Sell Quantity)-Purchase Fee-Sell Fee & Tax
따라서, 매도 상대 매수가가 둘 이상 존재하면, 각각의 매도 상대 매수가에 대한 매매차익을 계산하여 매매차익 누계에 합산할 수 있다. Therefore, when there is more than one selling partner, the selling profit for each selling partner can be calculated and added to the accumulated selling profit.
이 때, 기존의 회계처리 방식에 의하면 특정 매도가에서 매입평균가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출할 수 있다. 즉, 가장 최근의 매수에 의한 매수 수량에서 매도에 의한 매도 수량을 공제하는 후입선출 방식이 아닌 특정 종목에 대해 발생한 모든 매수에 의한 매수 수량에서 매도에 의한 매도 수량을 공제한다고 판단할 수 있다.In this case, according to the existing accounting processing method, it is possible to calculate by subtracting the buying fee, selling fee and tax from the value of the selling price multiplied by the selling quantity by subtracting the buying average price from the specific selling. That is, it may be determined that the selling quantity by selling is deducted from the buying quantity by all buyings generated for a specific item, not the last-in-first-out method of deducting selling quantity by selling from the latest buying quantity.
따라서, 기존의 회계처리 방식과 본 발명에 의한 후입선출 방식으로 각각 매매차익을 계산하는 경우 그 값은 상이하게 산출될 수 있다.Therefore, the value may be calculated differently when calculating the gains and losses of the accounting method and the last-in, first-out method according to the present invention.
이 때, 이전에 주식을 보유하고 있었거나 주식을 타 계좌로부터 이전해 올 경우에는 이전하는 시점의 종목 현재가와 이전하는 수량을 곱한 값이 매수 금액에 상응할 수 있다. 또한, 이체하는 경우에는 이체하는 시점의 종목 현재가와 이체하는 수량을 곱한 값이 매도 금액에 상응할 수 있다.In this case, if the stock previously held or the stock is transferred from another account, the value of the stock at the time of transfer and the quantity transferred may correspond to the purchase amount. In addition, in the case of a transfer, a value obtained by multiplying the current price of the item at the time of the transfer and the quantity to be transferred may correspond to the selling amount.
프로세서(220)는 후입선출 방식의 매매차익 누계를 이용하여 후입선출 방식의 보유종목 평균 매수단가를 산출하고, 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출한다.The processor 220 calculates the average purchase price of the stocks of the last-in, first-out method by using the accumulated sales profits of the last-in, first-out method, and calculates the investment profit corresponding to the average purchase price of the stocks.
이 때, 보유종목 평균 매수 단가는 현재 보유하고 있는 주식의 보유잔량들의 평균 매수가에 상응할 수 있다. At this time, the average purchase price of the holdings may correspond to the average purchase of the remaining stocks in the stock.
이 때, 보유종목 평균 매수단가는 해당 종목에 투입한 투입 금액과 매매차익 누계를 합한 값을 보유잔량으로 나눈 값에 상응할 수 있다.At this time, the average selling price of the stocks may correspond to the sum of the input amount and the accumulated gains and losses on the stocks divided by the remaining stock.
이 때, 특정 종목의 매매로 인하여 발생하는 투자이익의 제1 엘리먼트 및 특정 종목의 보유잔량의 가격변동에 상응하는 투자이익의 제2 엘리먼트를 구분하여 표시할 수 있다. 즉, 투자이익은 특정 종목의 매도시 발생하는 매매차익과 보유하고 있는 주식에 따른 손익을 모두 포함하는 개념에 상응할 수 있다.In this case, the first element of the investment profit generated by the sale of a certain item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item may be displayed separately. In other words, investment profit may correspond to a concept that includes both gains and losses on sale of a specific item and gains and losses on shares held.
이와 같이 투자이익의 제1 엘리먼트와 제2 엘리먼트를 각각 구분하여 제공함으로써 주식을 매도하여 실제로 획득되는 수익에 대한 정보와 함께 보유중인 주식의 가치 변동으로 인한 수익 정보를 동시에 제공하는 것이 가능하다.In this way, by separately providing the first element and the second element of the investment profit, it is possible to simultaneously provide the information on the profit actually obtained by selling the stock and the profit information due to the change in the value of the holding stock.
이 때, 제1 엘리먼트는 매매차익 누계를 이용하여 산출될 수 있다. 즉, 매도 발생시 마다 누적된 매매차익이 특정 종목에 대한 투자이익의 제1 엘리먼트에 상응할 수 있다. In this case, the first element may be calculated by using the sale profit accumulation total. In other words, the accumulated gain or loss on each sale may correspond to the first element of the investment profit for a particular item.
이 때, 제2 엘리먼트는 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 보유잔량을 곱하여 산출될 수 있다. 이 때, 보유 종목의 평균 매수 단가는 투입 금액과 매매차익 누계를 합한 값을 보유잔량으로 나눈 값, 즉 한 개의 주식에 대한 금액을 평가할 때 매매차익 누계도 투입 금액으로 고려하여 계산된 값이기 때문에 제2 엘리먼트에는 매도에 의해 발생한 차익이 포함되지 않을 수 있다. 즉, 순수하게 보유잔량에 상응하는 주식들의 가격변동에 따라 발생한 수익만을 의미할 수 있다.At this time, the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item. In this case, the average purchase price of holdings is calculated by considering the sum of the input amount and the accumulated gains and losses divided by the remaining amount, that is, the cumulative gains and losses are also considered when the value of one stock is evaluated. The second element may not include the gain generated by the sell. In other words, it can mean only the profit generated by the price fluctuations of stocks corresponding to the holding balance.
따라서, 제1 엘리먼트와 제2 엘리먼트를 합한 값이 투자이익에 상응할 수 있다.Thus, the sum of the first element and the second element may correspond to the return on investment.
이 때, 투자이익은 보유잔량과 현재가를 곱한 금액에서 투입금액을 빼는 방법으로도 산출할 수 있는데, 이와 같은 방식으로 투자이익을 산출할 경우에는 기존의 회계처리 방식이나 본 발명의 후입선출 방식과 관계없이 정확하게 투자이익이 산출될 수 있다.In this case, the investment profit may also be calculated by subtracting the input amount from the amount multiplied by the remaining amount and the present value. When the investment profit is calculated in such a manner, the investment accounting method or the last-in-first-out method of the present invention may be used. Regardless, the investment returns can be calculated accurately.
그러나, 기존의 회계처리 방식으로 제1 엘리먼트와 제2 엘리먼트를 산출한 뒤 합산하는 경우에는 정확한 투자이익이 산출되지 않는다. 이는, 기존의 회계처리 방식으로 산출하는 매매차익과 보유잔량의 가격변동에 상응하는 투자이익이 정확하지 않기 때문일 수 있다. However, when the first element and the second element are calculated and summed using the existing accounting method, the correct investment profit is not calculated. This may be due to the inaccurate investment profit corresponding to the trading profits and price fluctuations of the remaining balance.
기존의 회계처리 방식에서는 현재가에서 매입평균가를 뺀 금액에 매도수량을 곱하여 매매차익을 계산한다. 이 때, 매입평균가는 주식, 선물 또는 옵션 등을 매수하는 경우만 고려하여 매입금액을 매수수량으로 나눈 값으로, 언제 매수된 주식인지 고려하지 않는다. In the traditional accounting method, the gain or loss is calculated by multiplying the selling quantity by the present price minus the buying average price. In this case, the average purchase price is a value obtained by dividing the purchase price by the quantity purchased, considering only the case of buying stocks, futures or options, etc., and does not consider when the stock was bought.
또한, 기존의 회계처리 방식에서는 현재가에서 매입평균가를 뺀 금액에 보유수량을 곱하는 방식으로 보유잔량의 가격변동에 상응하는 투자이익을 산출한다. 즉, 매수나 매도를 고려하지 않고 무조건 매수하는 경우만 고려하여 산출된 매입평균가를 이용하여 값을 산출하기 때문에 이미 제1 엘리먼트에서 계산되는 매매차익도 포함되는 등 정확한 투자이익이 산출되기 어렵다. In addition, the existing accounting method calculates the investment profit corresponding to the price fluctuation of the remaining balance by multiplying the remaining quantity by subtracting the purchase average price from the present price. That is, since the value is calculated using the purchase average price calculated by considering only the purchase without buying or selling, it is difficult to calculate the accurate investment profit, including the trading profit already calculated in the first element.
그러나, 본 발명에 따른 후입선출 방식으로 매매차익을 계산하여 제1 엘리먼트의 매매차익 누계를 계산한 뒤, 매매차익 누계를 이용하여 계산된 보유종목의 평균 매수 단가로 제2 엘리먼트의 보유잔량의 가격변동에 상응하는 투자이익을 산출함으로써 제1 엘리먼트와 제2 엘리먼트를 합한 값이 정확한 투자이익에 상응할 수 있다.However, after calculating the selling profit of the first element by calculating the selling profit by the last-in first-out method according to the present invention, the price of the remaining amount of the second element by the average purchase price of the holding item calculated by using the selling gain accumulation By calculating the return on investment corresponding to the variation, the sum of the first and second elements may correspond to the correct return on investment.
이 때, 투입 금액은 매수 금액, 매수 수수료, 매도 금액, 매도 수수료 및 세금을 누적한 금액에 상응할 수 있다. 따라서, 투자이익은 매도시 발생한 매매차익에 의한 수익과 현재 남아있는 주식의 보유잔량에 대한 수익을 합산한 금액에 상응할 수 있다.In this case, the input amount may correspond to the accumulated amount of the purchase amount, purchase fee, sell amount, sell fee and tax. Accordingly, the investment profit may correspond to the sum of the profits from the gains and losses on sale and the profits remaining on the remaining stocks.
이 때, 보유잔량은 현재 보유하고 있는 주식의 수를 나타내는 것으로, 매수 수량에서 매도 수량을 뺀 값에 상응할 수 있다. 만약, 이전에 보유하고 있던 주식이 있는 경우에는 이전에 보유하고 있던 주식을 매수 수량에서 매도 수량을 뺀 값에 합하여 보유잔량을 계산할 수 있다.At this time, the remaining amount represents the number of shares currently held, and may correspond to the value obtained by subtracting the selling quantity from the buying quantity. If there is a stock previously held, the remaining stock can be calculated by adding the previously held stock to the purchase minus the sold quantity.
이와 같이 투자이익에 대한 제1 엘리먼트와 제2 엘리먼트를 각각 제공함으로써, 특정 종목에 대한 손익 정보를 보다 다양한 방식으로 제공할 수 있다. In this way, by providing the first element and the second element for the investment profit, it is possible to provide the profit and loss information for a specific item in more various ways.
이 때, 보유단가와 보유종목의 평균 매수 단가를 서로 매칭하여 관리할 수 있다. 이와 같이 매칭된 정보를 기반으로 보유단가와 보유 종목의 평균 매수 단가를 비교할 수 있고, 비교 금액에 따라 종목에 대한 손익 여부을 수월하게 판단할 수 있다. At this time, the holding unit price and the average purchase unit price of the holding stock can be managed by matching each other. Based on the matched information, the holding unit price and the average purchase unit price of the holdings can be compared, and the profit or loss on the item can be easily determined according to the comparison amount.
이 때, 보유단가는 투입금액을 현재 보유하고 있는 주식의 보유잔량으로 나눈 값에 상응할 수 있다.At this time, the holding unit price may correspond to the input amount divided by the holding amount of the stock currently held.
이와 같은 종목 거래 데이터 관리 장치(110)를 이용함으로써 주식, 선물 또는 옵션 등의 종목 거래 시 후입선출 방식에 따른 종목별 또는 시간 별로 보유종목의 손익을 제공할 수 있다.By using the stock trading data management device 110 as described above, when trading stocks, futures, or options, etc., the profits of the stocks held by stocks or time according to the last-in-first-out method may be provided.
또한, 후입선출 방식을 기반으로 손익을 산출함으로써 보다 정확하게 종목의 수익 정보를 제공하는 것이 가능할 수 있다.In addition, it may be possible to more accurately provide profit information of the stock by calculating the profit and loss based on the last-in, first-out method.
도 3은 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법을 나타낸 동작 흐름도이다.3 is a flowchart illustrating a method of managing item transaction data in a last-in-first-out method according to an embodiment of the present invention.
도 3을 참조하면, 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법은 특정 종목에 대한 매수가 발생하면 매수가와 매수 수량을 저장한다(S310).Referring to FIG. 3, the method of managing item transaction data in a last-in, first-out method according to an embodiment of the present invention stores the number of purchases and the number of purchases when a purchase of a specific item occurs.
이 때, 특정 종목에 대한 매수가 발생 시마다 각 매수에 따른 매수 정보를 기록할 필드를 생성하고, 생성된 필드에 매수 정보에 상응하는 매수가나 매수 수량 등을 저장할 수 있다. 예를 들어, 종목 A에 대한 매수가 발생하였다고 가정한다면, 종목 A의 매수에 대한 매수가 필드와 매수 수량 필드에 각각 매수가와 매수 수량을 저장할 수 있다.At this time, whenever a purchase for a particular item occurs, a field for recording the purchase information according to each purchase may be generated, and the number corresponding to the purchase information or the purchase quantity may be stored in the generated field. For example, assuming that a buy for item A has occurred, the buy and buy quantity may be stored in the buy and buy quantity fields for the buy in item A, respectively.
이 때, 매수가 발생하지 않더라도, 이미 보유하고 있던 주식이나 이체 받은 주식에 대해서도 매수 발생시와 동일하게 필드를 생성하여 동일한 방식으로 매수 정보를 저장할 수 있다. At this time, even if the purchase does not occur, even if the stock already held or transferred stock can be created in the same manner as when the purchase occurs to store the purchase information in the same way.
이 때, 매수가와 매수 수량은 종목 거래 시 매수하는 거래 단가와 수량을 의미할 수 있다. 따라서, 이미 보유하고 있던 주식에 대해서는 해당 종목의 현재 단가를 매수가로 저장하고, 보유하고 있던 주식의 양을 매수 수량으로 저장할 수 있다.In this case, the number of purchases and the number of purchases may refer to the unit price and quantity to buy in the item trading. Therefore, for stocks already held, the current unit price of the stock may be stored as a purchase amount, and the amount of stocks held may be stored as a purchase quantity.
또한, 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법은 특정 종목에 대한 특정 매도가의 매도가 발생하면 후입선출 방식으로 매매차익 및 매매차익 누계를 산출하여 저장한다(S320).In addition, the last-in, last-out item trading data management method according to an embodiment of the present invention calculates and stores the profit and accumulation of trading profits in the last-in, first-out method when a sale of a specific sale for a specific item occurs (S320).
이 때, 종목매도 발생 시 마다 후입선출 방식으로 매매차익과 매매차익 누계를 산출하기 위해서, 각 매수 마다 매수 잔량, 매수 상대 매도량, 매수 상대 매도가, 매수상대 매도일자 및 시간, 매수 수수료, 매도 수수료 및 세금 등의 정보를 저장할 수 있다.In this case, in order to calculate the net gains and gains on the purchase of each item by the method of last-in-first-out, the remaining amount of purchase, the amount of selling relative, the amount of selling relative, the date and time of the selling partner, the selling fee, and the selling fee. And information such as taxes.
이 때, 매매차익은 매수와 매도로 인해 발생하는 손익 금액을 의미할 수 있으며, 이를 누적하여 합산한 것이 매매차익 누계에 상응할 수 있다.In this case, the trading profit may mean the amount of profit and loss arising from buying and selling, and the cumulative sum may correspond to the accumulation of trading gains.
이 때, 매수 잔량은 매수한 매수 수량에서, 매수 이후 발생한 매도의 매수 수량을 빼고 남은 값에 상응할 수 있다. 따라서, 각 매수에 대해서, 매수 잔량이 0이 될 때까지 매수 잔량에서 매수 이후의 매도에 의한 매도 수량을 빼줄 수 있다.At this time, the remaining amount of purchase may correspond to the remaining value by subtracting the purchase quantity of the selling occurred after the purchase from the quantity of purchase. Therefore, for each purchase, it is possible to subtract the selling quantity by the sale after the purchase from the remaining purchase amount until the purchase residual amount becomes zero.
만약, 해당 매수의 매수 잔량이 0이 아닌 상태에서 다시 매수가 발생한다면, 이 후의 매도에 의한 매도 수량은 가장 최근에 발생한 매수의 매수 잔량에서 빼줄 수 있다. 즉, 매도에 의한 매도 수량은 가장 최근의 매수에 대한 매수 잔량이 0이 될 때까지 공제해 주고, 가장 최근의 매수에 의한 매수 잔량이 0이되면 그 이전의 매수에 의한 매수 잔량에서 남은 매도 수량을 공제할 수 있다. If a purchase occurs again while the purchase balance of the corresponding purchase is not zero, then the quantity sold by the subsequent sale may be subtracted from the purchase balance of the most recent purchase. In other words, the quantity sold by selling is deducted until the purchase balance for the most recent purchase becomes zero, and when the quantity remaining by the most recent buying becomes zero, the quantity of selling remaining from the purchase remaining by the previous purchase is zero. Can be deducted.
이 때, 매수 상대 매도가는 매도하려는 종목의 1주에 대한 매도 단가에 상응할 수 있다. 즉, 매수 상대 매도량에 상응하는 하나하나의 주식은 매수 상대 매도가에 상응하게 매도된 것으로 판단할 수 있다.At this time, the relative selling price may correspond to the selling price for one week of the item to be sold. In other words, it can be determined that each one of the stocks corresponding to the relative purchase amount is sold corresponding to the relative purchase price.
또한, 매수상대 매도일자는 매수 상대 매도량에 상응하는 매도가 발생한 매도 일자와 시간에 상응할 수 있다. In addition, the buyer's selling date may correspond to the selling date and time in which the selling occurs corresponding to the buying quantity.
이 때, 매수 수수료, 매도 수수료 및 세금은 매수나 매도로 인해 발생하는 금액을 기설정된 비율로 나누어 준 금액에 상응할 수 있다. 이 때, 매수나 매도로 인해 발생하는 금액을 기설정된 비율로 나누어 준 금액을 1원 단위로 절하를 한 뒤 맨 마지막 수량에 실제와 차액을 넣어 줄 수 있다.In this case, the buying fee, selling fee, and tax may correspond to an amount obtained by dividing an amount generated by buying or selling by a predetermined ratio. In this case, the amount generated by buying or selling may be deducted by the amount of won divided by a predetermined ratio, and the actual amount and difference may be added to the last quantity.
또한, 후입선출 방식으로 매매차익과 매매차익 누계를 산출하여 저장하기 위해, 매도 발생시마다 매도수량, 매도가, 매도 상대 매수량, 매도 상대 매수가, 매도상대 매수일자 및 시간, 매도상대 매수수수료 등의 정보를 저장할 수 있다.In addition, in order to calculate and store the gains and losses on the sale by the last-in-first-out method, such as the quantity sold, the quantity sold, the quantity sold, the relative quantity sold, the selling date and time of the selling partner, the selling partner's commission, etc. Information can be stored.
이 때, 매도가와 매도 수량은 종목 거래 시 매도하는 거래 단가와 수량을 의미할 수 있다.In this case, the selling and selling quantity may mean a unit price and quantity sold in the stock trading.
이 때, 매수 상대 매도량은 해당 매수의 매수 잔량이 0이 될 때까지 공제된 매도의 매도 수량에 해당할 수 있다. 예를 들어, 종목 A에 대해서 2016년 5월 1일 오전 9시에 발생한 매수의 매수 수량이 100이고, 같은 날 오후 1시와 오후 3시에 각각 발생한 매도의 매도 수량이 50이라고 가정할 수 있다. 이 때, 종목 A에 대한 매수 상대 매도량은 두 번의 매도에 의해 각각 50으로 저장될 수 있다.In this case, the relative buying quantity may correspond to the selling quantity of the deducted sell until the purchase residual amount of the corresponding purchase becomes zero. For example, for stock A, the number of purchases made at 9:00 AM on May 1, 2016, is 100, and the quantity of sells at 1:00 PM and 3:00 PM, on the same day, is 50. . At this time, the relative buy quantity for the item A may be stored as 50 by two sales.
따라서, 특정 종목에 대한 매수 발생 후, 매도 수량이 해당 매수의 매수 수량보다 많을 경우에는 매수 수량이 매수 상대 매도량에 상응할 수 있다. 즉, 매수 후 발생한 매도에 의해 매수 수량이 모두 소진되고 매수 잔량이 0이 되었기 때문에, 매수 수량 전부가 매수 상대 매도량에 상응할 수 있다.Therefore, after the purchase for a particular item occurs, if the selling quantity is greater than the buying quantity of the corresponding buying quantity, the buying quantity may correspond to the buying relative selling quantity. That is, since the purchase quantity has been exhausted by the selling occurring after the purchase, and the purchase balance is zero, all the buying quantity may correspond to the relative selling quantity.
또한, 특정 종목에 대한 매수 발생 후, 매도 수량이 해당 매수의 매수 수량보다 적을 경우에는 매도 수량 자체가 매수 상대 매도량에 상응할 수 있다. 이 때, 매수 잔량이 0이 아니기 때문에 다음 매도에 의한 매도 수량이 매수 상대 매도량이 될 수 있다.In addition, after the purchase for a particular item, if the selling quantity is less than the buying quantity of the corresponding buy quantity, the selling quantity itself may correspond to the relative selling quantity. At this time, since the remaining purchase amount is not zero, the selling quantity by the next selling may be the buying relative selling amount.
따라서, 한번의 매수에 대응하는 매수 상대 매도량은 경우에 따라 복수개로 저장될 수 있다.Therefore, the purchase relative selling amount corresponding to one purchase may be stored in plural in some cases.
또한, 매도상대 매수일자는 매도 상대 매수량에 상응하는 매수가 발생한 일자와 시간에 상응할 수 있다.In addition, the selling date of the counterparty may correspond to the date and time that the purchase occurred corresponding to the relative buying quantity.
이 때, 매도 상대 매수가는 매수하려는 종목의 1주에 대한 매수 단가에 상응할 수 있다. 즉, 매도 상대 매수량에 상응하는 하나하나의 주식은 매도 상대 매수가에 상응하게 매수되는 것으로 판단할 수 있다.In this case, the relative selling price may correspond to the purchase price for one week of the stock to be bought. In other words, it can be determined that each one of the stocks corresponding to the relative selling quantity is purchased corresponding to the selling relative purchase.
이 때, 가장 최근에 매수한 물량부터 매도에 상응하는 매도물량으로 하여 매도 상대 매수가를 저장하고, 매도 상대 매수가에 기반하여 매매차익 및 매매차익 누계를 산출할 수 있다.In this case, the relative selling price may be stored as the selling quantity corresponding to the selling from the most recently purchased quantity, and the selling profit and the accumulation of the selling profit may be calculated based on the selling quantity.
따라서, 매도 상대 매수량 또한, 매도 발생 시 가장 최근 매수에 의한 매수 수량 중에서 매도에 의한 매도 수량과 같거나 매도 수량보다 작은 값에 상응할 수 있다. 즉, 매도 발생 시 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 많을 경우, 매도 수량의 값이 매도 상대 매수량에 상응할 수 있다.Accordingly, the relative selling quantity may also correspond to a value equal to or less than the selling quantity of the selling quantity of the buying quantity by the most recent purchase when the selling occurs. That is, when the quantity of purchases by the most recent purchase is more than the quantity of sells by the sell at the time of the sale, the value of the quantity of sell may correspond to the relative quantity of sell.
이 때, 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출할 수 있다.At this time, when the selling quantity of a particular selling price is more than the most recently bought quantity, the two or more selling sellers may be stored, and the selling profit and the accumulating selling profit for each of the two or more selling sellers may be calculated.
즉, 매도 발생 시 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 적을 경우, 가장 최근의 매수에 의한 매수 수량과 함께 이전 매수의 매수 잔량 중에서 남은 매도 수량과 같거나 남은 매도 수량보다 작은 값에 상응할 수 있다. In other words, if the quantity of purchases made by the most recent purchase is less than the quantity sold by the sell, when the sale occurs, it is equal to the quantity of purchases made by the most recent purchase and is less than or equal to the quantity sold remaining among the remaining purchases of the previous purchase. It can correspond to a value.
예를 들어, 매도 발생에 의한 매도 수량이 30이고 가장 최근의 제1 매수에 의한 매수 수량이 20, 제1 매수 이전의 제2 매수에 의한 매수 잔량이 20이라고 가정할 수 있다. 이 때, 매도 상대 매수량은 제1 매수에 의한 매수 수량 20과 제2 매수에 의한 매수 잔량 20에서 남은 매도 수량 10과 같은 10에 상응할 수 있다.For example, it may be assumed that the selling quantity due to the selling occurrence is 30, the buying quantity by the most recent first purchase is 20, and the residual quantity of buying by the second purchase before the first buying is 20. In this case, the relative selling quantity may correspond to 10, such as the quantity of purchase 10 remaining in the quantity of purchase 20 by the first purchase and the quantity of purchase 20 remaining by the second purchase.
즉, 가장 최근의 매수에 의한 매수 수량이 매도에 의한 매도 수량보다 적을 경우에는 매도 상대 매수량이 적어도 둘 이상 존재할 수 있다. 따라서, 매도 상대 매수량과 동일하게 매도 상대 매수가도 둘 이상 존재할 수 있다.That is, when the quantity of the purchase by the most recent purchase is less than the quantity of the sale by the selling, there may be at least two relative selling quantities. Therefore, there may be more than one selling relative purchase in the same manner as the selling relative buying quantity.
이 때, 매매차익은 특정 매도가에서 매도 상대 매수가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출될 수 있다.In this case, the trading profit may be calculated by subtracting the buying fee, selling fee, and tax from the value of the selling price multiplied by the selling quantity by subtracting the selling quantity from the selling price.
즉, 매매차익은 하기와 같이 계산할 수 있다.That is, the trading profit can be calculated as follows.
매매차익 = ((매도가 = 매도 상대 매수가) * 매도 수량) - 매수 수수료 - 매도 수수료 및 세금Profit or Loss = ((Sell = Sell relative) * Sell Quantity)-Purchase Fee-Sell Fee & Tax
따라서, 매도 상대 매수가가 둘 이상 존재하면, 각각의 매도 상대 매수가에 대한 매매차익을 계산하여 매매차익 누계에 합산할 수 있다.Therefore, when there is more than one selling partner, the selling profit for each selling partner can be calculated and added to the accumulated selling profit.
이 때, 기존의 회계처리 방식에 의하면 특정 매도가에서 매입평균가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출할 수 있다. 즉, 가장 최근의 매수에 의한 매수 수량에서 매도에 의한 매도 수량을 공제하는 후입선출 방식이 아닌 특정 종목에 대해 발생한 모든 매수에 의한 매수 수량에서 매도에 의한 매도 수량을 공제한다고 판단할 수 있다.In this case, according to the existing accounting processing method, it is possible to calculate by subtracting the buying fee, selling fee and tax from the value of the selling price multiplied by the selling quantity by subtracting the buying average price from the specific selling. That is, it may be determined that the selling quantity by selling is deducted from the buying quantity by all buyings generated for a specific item, not the last-in-first-out method of deducting selling quantity by selling from the latest buying quantity.
따라서, 기존의 회계처리 방식과 본 발명에 의한 후입선출 방식으로 각각 매매차익을 계산하는 경우 그 값은 상이하게 산출될 수 있다.Therefore, the value may be calculated differently when calculating the gains and losses of the accounting method and the last-in, first-out method according to the present invention.
이 때, 이전에 주식을 보유하고 있었거나 주식을 타 계좌로부터 이전해 올 경우에는 이전하는 시점의 종목 현재가와 이전하는 수량을 곱한 값이 매수 금액에 상응할 수 있다. 또한, 이체하는 경우에는 이체하는 시점의 종목 현재가와 이체하는 수량을 곱한 값이 매도 금액에 상응할 수 있다.In this case, if the stock previously held or the stock is transferred from another account, the value of the stock at the time of transfer and the quantity transferred may correspond to the purchase amount. In addition, in the case of a transfer, a value obtained by multiplying the current price of the item at the time of the transfer and the quantity to be transferred may correspond to the selling amount.
또한, 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법은 매매차익 누계를 이용하여 후입선출 방식의 보유 종목의 평균 매수단가를 산출한다(S330).In addition, the method of managing item transaction data of the last-in first-out method according to an embodiment of the present invention calculates the average selling price of holding items of the last-in-first-out method by using the accumulated trading profits (S330).
이 때, 보유종목 평균 매수 단가는 현재 보유하고 있는 주식의 보유잔량들의 평균 매수가에 상응할 수 있다. At this time, the average purchase price of the holdings may correspond to the average purchase of the remaining stocks in the stock.
이 때, 보유종목 평균 매수단가는 해당 종목에 투입한 투입 금액과 매매차익 누계를 합한 값을 보유잔량으로 나눈 값에 상응할 수 있다. At this time, the average selling price of the stocks may correspond to the sum of the input amount and the accumulated gains and losses on the stocks divided by the remaining stock.
또한, 본 발명의 일실시예에 따른 후입선출 방식의 종목 거래 데이터 관리 방법은 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출한다(S340).In addition, the method of managing the item transaction data of the last-in, first-out method according to an embodiment of the present invention calculates the investment profit corresponding to the average purchase price of the holding item (S340).
이 때, 특정 종목의 매매로 인하여 발생하는 투자이익의 제1 엘리먼트 및 특정 종목의 보유잔량의 가격변동에 상응하는 투자이익의 제2 엘리먼트를 구분하여 표시할 수 있다. 즉, 투자이익은 특정 종목의 매도시 발생하는 매매차익과 보유하고 있는 주식에 따른 손익을 모두 포함하는 개념에 상응할 수 있다.In this case, the first element of the investment profit generated by the sale of a certain item and the second element of the investment profit corresponding to the price change of the remaining amount of the particular item may be displayed separately. In other words, investment profit may correspond to a concept that includes both gains and losses on sale of a specific item and gains and losses on shares held.
이와 같이 투자이익의 제1 엘리먼트와 제2 엘리먼트를 각각 구분하여 제공함으로써 주식을 매도하여 실제로 획득되는 수익에 대한 정보와 함께 보유중인 주식의 가치 변동으로 인한 수익 정보를 동시에 제공하는 것이 가능하다.In this way, by separately providing the first element and the second element of the investment profit, it is possible to simultaneously provide the information on the profit actually obtained by selling the stock and the profit information due to the change in the value of the holding stock.
이 때, 제1 엘리먼트는 매매차익 누계를 이용하여 산출될 수 있다. 즉, 매도 발생시 마다 누적된 매매차익이 특정 종목에 대한 투자이익의 제1 엘리먼트에 상응할 수 있다. In this case, the first element may be calculated by using the sale profit accumulation total. In other words, the accumulated gain or loss on each sale may correspond to the first element of the investment profit for a particular item.
이 때, 제2 엘리먼트는 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 보유잔량을 곱하여 산출될 수 있다. 이 때, 보유 종목의 평균 매수 단가는 투입 금액과 매매차익 누계를 합한 값을 보유잔량으로 나눈 값, 즉 한 개의 주식에 대한 금액을 평가할 때 매매차익 누계도 투입 금액으로 고려하여 계산된 값이기 때문에 제2 엘리먼트에는 매도에 의해 발생한 차익이 포함되지 않을 수 있다. 즉, 순수하게 보유잔량에 상응하는 주식들의 가격변동에 따라 발생한 수익만을 의미할 수 있다.At this time, the second element may be calculated by multiplying the remaining amount of money by subtracting the present price from the average purchase price of the holding item. In this case, the average purchase price of holdings is calculated by considering the sum of the input amount and the accumulated gains and losses divided by the remaining amount, that is, the cumulative gains and losses are also considered when the value of one stock is evaluated. The second element may not include the gain generated by the sell. In other words, it can mean only the profit generated by the price fluctuations of stocks corresponding to the holding balance.
따라서, 제1 엘리먼트와 제2 엘리먼트를 합한 값이 투자이익에 상응할 수 있다.Thus, the sum of the first element and the second element may correspond to the return on investment.
이 때, 투자이익은 보유잔량과 현재가를 곱한 금액에서 투입금액을 빼는 방법으로도 산출할 수 있는데, 이와 같은 방식으로 투자이익을 산출할 경우에는 기존의 회계처리 방식이나 본 발명의 후입선출 방식과 관계없이 정확하게 투자이익이 산출될 수 있다.In this case, the investment profit may also be calculated by subtracting the input amount from the amount multiplied by the remaining amount and the present value. When the investment profit is calculated in such a manner, the investment accounting method or the last-in-first-out method of the present invention may be used. Regardless, the investment returns can be calculated accurately.
그러나, 기존의 회계처리 방식으로 제1 엘리먼트와 제2 엘리먼트를 산출한 뒤 합산하는 경우에는 정확한 투자이익이 산출되지 않는다. 이는, 기존의 회계처리 방식으로 산출하는 매매차익과 보유잔량의 가격변동에 상응하는 투자이익이 정확하지 않기 때문일 수 있다. However, when the first element and the second element are calculated and summed using the existing accounting method, the correct investment profit is not calculated. This may be due to the inaccurate investment profit corresponding to the trading profits and price fluctuations of the remaining balance.
기존의 회계처리 방식에서는 현재가에서 매입평균가를 뺀 금액에 매도수량을 곱하여 매매차익을 계산한다. 이 때, 매입평균가는 주식, 선물 또는 옵션 등을 매수하는 경우만 고려하여 매입금액을 매수수량으로 나눈 값으로, 언제 매수된 주식인지 고려하지 않는다. In the traditional accounting method, the gain or loss is calculated by multiplying the selling quantity by the present price minus the buying average price. In this case, the average purchase price is a value obtained by dividing the purchase price by the quantity purchased, considering only the case of buying stocks, futures or options, etc., and does not consider when the stock was bought.
또한, 기존의 회계처리 방식에서는 현재가에서 매입평균가를 뺀 금액에 보유수량을 곱하는 방식으로 보유잔량의 가격변동에 상응하는 투자이익을 산출한다. 즉, 매수나 매도를 고려하지 않고 무조건 매수하는 경우만 고려하여 산출된 매입평균가를 이용하여 값을 산출하기 때문에 이미 제1 엘리먼트에서 계산되는 매매차익도 포함되는 등 정확한 투자이익이 산출되기 어렵다. In addition, the existing accounting method calculates the investment profit corresponding to the price fluctuation of the remaining balance by multiplying the remaining quantity by subtracting the purchase average price from the present price. That is, since the value is calculated using the purchase average price calculated by considering only the purchase without buying or selling, it is difficult to calculate the accurate investment profit, including the trading profit already calculated in the first element.
그러나, 본 발명에 따른 후입선출 방식으로 매매차익을 계산하여 제1 엘리먼트의 매매차익 누계를 계산한 뒤, 매매차익 누계를 이용하여 계산된 보유종목의 평균 매수 단가로 제2 엘리먼트의 보유잔량의 가격변동에 상응하는 투자이익을 산출함으로써 제1 엘리먼트와 제2 엘리먼트를 합한 값이 정확한 투자이익에 상응할 수 있다.However, after calculating the selling profit of the first element by calculating the selling profit by the last-in first-out method according to the present invention, the price of the remaining amount of the second element by the average purchase price of the holding item calculated by using the selling gain accumulation By calculating the return on investment corresponding to the variation, the sum of the first and second elements may correspond to the correct return on investment.
이 때, 투입 금액은 매수 금액, 매수 수수료, 매도 금액, 매도 수수료 및 세금을 누적한 금액에 상응할 수 있다. 따라서, 투자이익은 매도시 발생한 매매차익에 의한 수익과 현재 남아있는 주식의 보유잔량에 대한 수익을 합산한 금액에 상응할 수 있다.In this case, the input amount may correspond to the accumulated amount of the purchase amount, purchase fee, sell amount, sell fee and tax. Accordingly, the investment profit may correspond to the sum of the profits from the gains and losses on sale and the profits remaining on the remaining stocks.
이 때, 보유잔량은 현재 보유하고 있는 주식의 수를 나타내는 것으로, 매수 수량에서 매도 수량을 뺀 값에 상응할 수 있다. 만약, 이전에 보유하고 있던 주식이 있는 경우에는 이전에 보유하고 있던 주식을 매수 수량에서 매도 수량을 뺀 값에 합하여 보유잔량을 계산할 수 있다.At this time, the remaining amount represents the number of shares currently held, and may correspond to the value obtained by subtracting the selling quantity from the buying quantity. If there is a stock previously held, the remaining stock can be calculated by adding the previously held stock to the purchase minus the sold quantity.
이와 같이 투자이익에 대한 제1 엘리먼트와 제2 엘리먼트를 각각 제공함으로써, 특정 종목에 대한 손익 정보를 보다 다양한 방식으로 제공할 수 있다.In this way, by providing the first element and the second element for the investment profit, it is possible to provide the profit and loss information for a specific item in more various ways.
이 때, 보유단가와 보유종목의 평균 매수 단가를 서로 매칭하여 관리할 수 있다. 이와 같이 매칭된 정보를 기반으로 보유단가와 보유 종목의 평균 매수 단가를 비교할 수 있고, 비교 금액에 따라 종목에 대한 손익 여부을 수월하게 판단할 수 있다. At this time, the holding unit price and the average purchase unit price of the holding stock can be managed by matching each other. Based on the matched information, the holding unit price and the average purchase unit price of the holdings can be compared, and the profit or loss on the item can be easily determined according to the comparison amount.
이 때, 보유단가는 투입금액을 현재 보유하고 있는 주식의 보유잔량으로 나눈 값에 상응할 수 있다.At this time, the holding unit price may correspond to the input amount divided by the holding amount of the stock currently held.
이와 같은 종목 거래 데이터 관리 방법을 통해 주식, 선물 또는 옵션 등의 종목 거래 시 후입선출 방식에 따른 종목별 또는 시간 별로 보유종목의 손익을 제공할 수 있다.Through such a stock trading data management method, it is possible to provide profits and losses of stocks held by stocks or futures according to the last-in-first-out method when trading stocks, futures or options.
또한, 후입선출 방식을 기반으로 손익을 산출함으로써 보다 정확하게 종목의 수익 정보를 제공하는 것이 가능할 수 있다.In addition, it may be possible to more accurately provide profit information of the stock by calculating the profit and loss based on the last-in, first-out method.
도 4는 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터의 일 예를 나타낸 도면이다.4 is a view showing an example of the item trading data using the item trading data management method according to the present invention.
도 4를 참조하면, 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터는, 특정 종목의 매수가 발생할 때마다 매수 수량과 매수가에 상응하는 필드에 각각 해당 값을 저장할 수 있다. Referring to FIG. 4, the item transaction data using the item transaction data management method according to the present invention may store corresponding values in fields corresponding to the number of purchases and the number of purchases each time a purchase of a specific item occurs.
이 때, 본 발명에 따른 종목 거래 데이터 관리 방법은 매도 발생 시 후입선출 방식을 기반으로 데이터를 입력할 수 있다. In this case, the item transaction data management method according to the present invention may input data based on a last-in, first-out method when a sell occurs.
이 때, 후입선출 방식은, 매도 발생 시 가장 최근에 매수한 매수 수량에서 매도 수량을 공제하는 방식에 상응할 수 있다.In this case, the last-in, first-out method may correspond to a method of deducting the selling quantity from the most recently purchased quantity when the selling occurs.
예를 들어, 도 4에 도시된 종목 거래 데이터에서 2015년 11월 19일에 체결된 매매를 확인하면, 해당 종목에 대해 매도가 9,005원, 매도 수량 23개에 상응하게 매도가 발생한 것을 확인할 수 있다. 이 때, 매도 수량 23개는 해당 매도가 발생한 2015년 11월 19일로부터 가장 최근인 2015년 11월 16일에 매수된 매수 수량 157개로부터 공제된 것일 수 있다. For example, when confirming the trading concluded on November 19, 2015 in the stock trading data shown in FIG. 4, it can be confirmed that the selling occurred corresponding to the selling price of 9,005 won and the selling quantity of 23 for the corresponding stock. . At this time, the selling quantity 23 may be deducted from the buying quantity of 157 bought on November 16, 2015, which is the most recent from November 19, 2015 when the selling occurred.
다른 예를 들어, 도 4에 도시된 종목 거래 데이터에서 2016년 1월 19일에 체결된 매매를 확인하면, 해당 종목에 대해 매도가 8,160원, 매도 수량 23개에 상응하게 매도가 발생한 것을 확인할 수 있다. 이 때, 매도 수량 23개는 해당 매도가 발생한 2016년 1월 19일로부터 가장 최근인 2016년 1월 18일에 매수된 매수 수량 24개로부터 공제된 것일 수 있다.For example, when confirming the trading concluded on January 19, 2016 in the stock trading data shown in FIG. 4, it can be seen that the selling occurred corresponding to the selling price of KRW 8,160 and the selling quantity of 23 for the corresponding stock. have. At this time, the selling quantity of 23 may be deducted from the buying quantity of 24 bought on January 18, 2016, which is the most recent from January 19, 2016, when the selling occurred.
이와 같이, 매도 발생시마다 매도 시점으로부터 가장 최근에 매수된 매수 수량으로부터 매도 물량이 공제되기 때문에, 매매차익을 계산하기 위해서는 매도 발생시마다 매도 상대 매수가가 저장될 수 있다.As described above, since the selling quantity is deducted from the quantity of purchase most recently bought from the selling point of time at every occurrence of the selling, the relative selling quantity may be stored at each occurrence of the selling in order to calculate the trading profit.
예를 들어, 도 4에 도시된 종목 거래 데이터에서 2015년 11월 19일에 발생한 매도는 가장 최근인 2015년 11월 16일에 발생한 매수의 매수가 8,740원(A)을 매도 상대 매수가로 저장할 수 있다. 또한, 그 다음 발생한 2015년 11월 26일의 매도 또한 2015년 11월 16일에 발생한 매수의 매수가 8,740(A)을 매도 상대 매수가로 저장할 수 있다. 이 때, 2015년 11월 16일에 발생한 매수의 매수 수량이, 매수 이후 발생한 두 번의 매도에 대한 매도 물량을 모두 커버할 수 있는 수량이므로, 두 번의 매도는 각각 하나씩의 매도 상대 매수가가 저장될 수 있다. For example, in the stock trading data shown in FIG. 4, the selling on November 19, 2015, the most recent purchase on November 16, 2015, can be saved as 8,740 won (A) as the relative selling price. have. In addition, a subsequent sale of November 26, 2015 may also store a purchase of 8,740 (A) as a buy relative of November 16, 2015. At this time, since the buy quantity of the purchase occurred on November 16, 2015 is the quantity that can cover all the selling volume for the two sells that have occurred since the purchase, the two sells may store one sell relative buy quantity. have.
그러나, 도 4에 도시된 종목 거래 데이터에서 2016년 2월 25일에 발생한 매도의 매도 상대 매수가 필드(420)를 확인하면, 총 5개의 매도 상대 매수가가 저장된 것을 확인할 수 있다. However, if the selling relative buy number of the selling occurred on February 25, 2016 in the item trading data shown in FIG. 4, check the field 420, it can be confirmed that a total of five selling sells are stored.
이는, 2016년 2월 25일 발생한 매도로부터 가장 최근인 2016년 2월 11일에 발생한 매수의 매수 수량이, 이미 2016년 2월 16일에 발생한 매도에 의해 대부분 공제되었기 때문이다. 즉, 2016년 2월 25일에 발생한 매도의 매도 물량은 23개인데, 가장 최근인 2016년 2월 11일에 발생한 매수의 매수 잔량이 1개였기 때문에, 2016년 2월 11일에 발생한 매수보다 이전에 발생한 매수들의 매수 잔량에서 매도 물량이 공제된 것을 확인할 수 있다.This is because the purchase quantity of the purchase made on February 11, 2016, which is the most recent from the sale occurred on February 25, 2016, is mostly deducted by the sale that occurred on February 16, 2016. In other words, the number of sells sold on February 25, 2016 is 23, and since the most recent purchase on February 11, 2016, was one, the number of sells occurred on February 25, 2016. It can be seen that the selling volume is deducted from the purchase balance of the previously generated purchases.
따라서, 도 4에 도시된 2016년 2월 25일에 발생한 매도는, 2016년 2월 11일에 발생한 매수의 매수가 7,915원(I), 2016년 1월 26일에 발생한 매수의 매수가 7,915원(H), 2016년 1월 20일에 발생한 매수의 매수가 7,915원(G), 2016년 1월 18일에 발생한 매수의 매수가 7,905(F)원 및 2016년 1월 7일에 발생한 매수의 매수가 8,325원(F)을 모두 매도 상대 매수가로 저장할 수 있다.Therefore, the sell occurred on February 25, 2016 shown in Figure 4, the number of purchases occurred on February 11, 2016 is 7,915 won (I), the number of purchases occurred on January 26, 2016 is 7,915 won (H), the purchase of purchases occurring on January 20, 2016 was ₩ 7,915 (G), the purchase of purchases occurring on January 18, 2016 was ₩ 7,905 (F) and the purchases occurred on January 7, 2016. You can save all 8,325 won (F) as a long-term relative buy.
도 5 내지 도 6은 본 발명에 따른 종목 거래 데이터 관리 방법을 이용한 종목 거래 데이터의 다른 예를 나타낸 도면이다.5 to 6 are diagrams showing another example of the item trading data using the item trading data management method according to the present invention.
도 5 내지 도 6을 참조하면, 본 발명의 종목 거래 데이터는 매도 발생시마다 대응하는 매수의 필드에 매수 상대 매도가를 저장할 수 있다. 5 to 6, the item transaction data of the present invention may store a relative buy price in a corresponding field of purchases whenever a sale occurs.
예를 들어, 도 6에 도시된 종목 거래 데이터에서 2016년 2월 16일에 발생한 매도(610), 2016년 2월 25일에 발생한 매도(620) 및 2016년 3월 10일에 발생한 매도(630)의 매도 수량을 모두 합치면, 세 번의 매도(610, 620, 630)로부터 가장 최근인 2016년 2월 11일에 발생한 매수의 매수 수량을 초과하는 것을 알 수 있다. 이와 같은 경우에는, 2016년 2월 11일에 발생한 매수와 그 이전에 발생한 적어도 하나의 매수의 매수 잔량을 확인하여 매도를 수행할 수 있다. For example, in the stock trading data shown in FIG. 6, sell 610 occurred on February 16, 2016, sell 620 occurred on February 25, 2016, and sell 630 occurred on March 10, 2016. ), It can be seen that the total number of sells exceeding the number of buys occurred on February 11, 2016, which is the most recent from the three sells (610, 620, 630). In this case, the purchase may be performed by confirming the purchase amount of the purchase occurred on February 11, 2016 and the purchase amount remaining on the at least one purchase before that.
즉, 2016년 2월 16일에 발생한 매도(610)의 매도 수량 23개(A)는 가장 최근인 2016년 2월 11일에 발생한 매수의 매수 물량 24개로 모두 공제함으로써, 2016년 2월 11일에 발생한 매수의 매수 잔량은 1개로 저장될 수 있다. In other words, 23 selling quantities (A) of the selling 610 occurred on February 16, 2016 are all deducted by 24 buying quantity of the latest buying occurred on February 11, 2016, so that February 11, 2016 The number of sheets remaining on the sheet may be stored as one.
이 때, 2016년 2월 11일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 16일에 발생한 매도(610)의 매도 수량 23개(A)에 상응하는 매수 상대 매도량 23개(A)가 저장될 수 있다. 또한, 2016년 2월 11일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 16일에 발생한 매도(610)의 매도가 8,155원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on February 11, 2016 includes 23 buy relative sell amounts (A) corresponding to 23 sell quantities (A) of sell 610 occurred on February 16, 2016. Can be stored. In addition, the selling relative sell price of the purchase occurring on February 11, 2016 may include a selling price of 8,155 won for the sale 610 occurring on February 16, 2016 as the purchase relative sell.
이 후, 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23(B)개는 가장 최근인 2016년 2월 11일에 발생한 매수의 매수 잔량 1개, 2016년 1월 26일에 발생한 매수의 매수 잔량 1개, 2016년 1월 20일에 발생한 매수의 매수 잔량 1개, 2016년 1월 18일에 발생한 매수의 매수 잔량 1개 및 2016년 1월 7일에 발생한 매수의 매수 잔량 23개로 모두 공제함으로써, 2016년 1월 7일에 발생한 매수의 매수 잔량은 4개로 나머지 매수 잔량은 0개로 저장될 수 있다.Subsequently, 23 (B) short-selling quantities of Sell 620 occurring on February 25, 2016 are the one remaining purchases on February 11, 2016, which occurred on January 26, 2016. One purchase balance of purchases, one purchase balance of purchases occurring on January 20, 2016, one purchase balance of purchases occurring on January 18, 2016, and purchase balance of purchases occurring on January 7, 2016. By deducting all the shares, the number of purchases remaining on January 7, 2016 can be stored as four and the remaining purchases can be stored as zero.
이 때, 2016년 2월 11일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23개(B) 중 1개에 상응하는 매수 상대 매도량 1개(B)가 저장될 수 있다. 또한, 2016년 2월 11일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도가 8,575원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on February 11, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored. In addition, the selling price of the selling 620 generated on February 25, 2016 may be 8,575 won in the buying relative selling price field.
이 때, 2016년 1월 26일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23개(B) 중 1개에 상응하는 매수 상대 매도량 1개(B)가 저장될 수 있다. 또한, 2016년 1월 26일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도가 8,575원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on January 26, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored. In addition, in the field Relative Selling of Buying occurring on January 26, 2016, the selling price of Sell 620 occurring on February 25, 2016 may be 8,575 won.
이 때, 2016년 1월 20일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23개(B) 중 1개에 상응하는 매수 상대 매도량 1개(B)가 저장될 수 있다. 또한, 2016년 1월 20일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도가 8,575원이 매수 상대 매도가로 저장될 수 있다.In this case, the buy relative sell amount field on January 20, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored. In addition, the selling price of the purchase 620 generated on February 25, 2016 may be 8,575 won in the purchase relative selling price of the purchase occurred on January 20, 2016.
이 때, 2016년 1월 18일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23개(B) 중 1개에 상응하는 매수 상대 매도량 1개(B)가 저장될 수 있다. 또한, 2016년 1월 18일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도가 8,575원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on January 18, 2016 includes one buy relative sell amount corresponding to one of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored. In addition, in the field Relative Selling of Buying occurring on January 18, 2016, the selling price of Sell 620 occurring on February 25, 2016 may be 8,575 won.
이 때, 2016년 1월 7일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도 수량 23개(B) 중 19개에 상응하는 매수 상대 매도량 19개(B)가 저장될 수 있다. 또한, 2016년 1월 7일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 2월 25일에 발생한 매도(620)의 매도가 8,575원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on January 7, 2016 includes 19 buy relative sell amounts corresponding to 19 of 23 sell quantities (B) of sell 620 occurred on February 25, 2016 ( B) can be stored. In addition, in the field of selling relative to the number of purchases occurring on January 7, 2016, the selling price of the selling 620 generated on February 25, 2016 may be 8,575 won.
이 후, 2016년 3월 10일에 발생한 매도(630)의 매도 수량 23개는 매수 잔량이 0이 아니면서 가장 최근에 발생한 매수인 2016년 1월 7일에 발생한 매수의 매수 잔량 4개와 2016년 1월 4일 발생한 매수의 매수 잔량 24개로 모두 공제함으로써, 2016년 1월 4일에 발생한 매수의 매수 잔량은 5개로 2016년 1월 7일에 발생한 매수의 매수 잔량은 0개로 저장될 수 있다.Subsequently, the selling quantity of the selling 630 occurring on March 10, 2016 is 23, and the buying quantity of the buying of the buying occurred on January 7, 2016, which is the most recent purchase, when the buying quantity is not zero and 2016 1 By deducting all 24 purchases on the 4th of March, the number of purchases on January 4, 2016 is 5, and the purchase on the 7th of January 2016 is 0.
이 때, 2016년 1월 7일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 3월 10일에 발생한 매도(630)의 매도 수량 23개(C) 중 4개에 상응하는 매수 상대 매도량 4개(C)가 저장될 수 있다. 또한, 2016년 1월 7일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 3월 10일에 발생한 매도(630)의 매도가 9,005원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on January 7, 2016 includes four relative sell amounts corresponding to four of 23 sell quantities (C) of sell (630) occurred on March 10, 2016. C) can be stored. In addition, in the relative purchase price of the purchase occurring on January 7, 2016, the selling price of the sale 630 generated on March 10, 2016 may be 9,005 won as the relative purchase.
이 때, 2016년 1월 4일에 발생한 매수의 매수 상대 매도량 필드에는 2016년 3월 10일에 발생한 매도(630)의 매도 수량 23개(C) 중 19개에 상응하는 매수 상대 매도량 19개(C)가 저장될 수 있다. 또한, 2016년 1월 4일에 발생한 매수의 매수 상대 매도가 필드에는 2016년 3월 10일에 발생한 매도(630)의 매도가 9,005원이 매수 상대 매도가로 저장될 수 있다.At this time, the buy relative sell amount field on January 4, 2016 includes 19 buy relative sell amounts corresponding to 19 of 23 sell quantities (C) of sell 630 occurred on March 10, 2016 ( C) can be stored. In addition, in the relative purchase price of the purchase occurred on January 4, 2016, the selling price of the sell 630 generated on March 10, 2016 may be 9,005 won as the relative purchase price.
도 7 내지 도 8은 도 5 내지 도 6에 도시된 종목 거래 데이터를 본 발명에 따른 종목 거래 데이터 관리 방법으로 산출한 결과의 일 예를 나타낸 도면이다.7 to 8 are diagrams showing an example of a result of calculating the item trading data shown in Figs. 5 to 6 by the item trading data management method according to the present invention.
도 7 내지 도 8을 참조하면, 도 5 내지 도 6에 도시된 종목 거래 데이터를 기반으로 매매차익 필드(710), 매매차익 누계 필드(720), 보유단가 필드(730), 보유주식 평균 매수단가 필드(740) 및 보유종목 평가이익 필드(750)에 상응하는 값을 각각 산출한 것을 확인할 수 있다.7 to 8, based on the item transaction data shown in FIGS. 5 to 6, the trading profit field 710, the cumulative trading profit field 720, the holding unit price field 730, and the average stock selling means It may be confirmed that values corresponding to the field 740 and the valuation gained field 750 of the item are calculated, respectively.
이 때, 매매차익 필드(710)에 입력될 매매차익은 하기와 같이 계산할 수 있다.At this time, the trading profit to be input to the trading profit field 710 can be calculated as follows.
매매차익 = ((매도가 - 매도 상대 매수가) * 매도 수량) - 매수 수수료 - 매도 수수료 및 세금Profit or Loss = ((Sell-Sell relative) * Sell Quantity)-Purchase Fee-Sell Fee & Tax
즉, 현재가에 해당하는 매도가에서 가장 최근의 매수에 의한 매수가인 매도 상대 매수가를 빼는 방식으로 매매차익을 계산함으로써 주식, 선물 및 옵션 등의 금융상품의 매매에 적합한 후입선출 방식으로 매매차익을 정확하게 계산할 수 있다. In other words, by calculating the trading gains by subtracting the relative selling price, which is the purchase price of the most recent purchase, from the current price, the trading profits can be accurately calculated by the last-in, first-out method suitable for trading financial products such as stocks, futures and options. Can be.
예를 들어, 도 5에 도시된 2015년 11월 19일에 발생한 매도에 의한 매매차익은 (9,005) - 8,740) * 23 - {((9,005 * 0.005) + (8,740 * 0.002)) *23}에 상응하게 계산할 수 있다. 즉, 현재가에 상응하는 매도가 9,005원에서 가장 최근의 매수에 의한 매수가인 매도 상대 매수가 8,740원을 뺀 값에 매도 수량 23개를 곱한 결과 6,095원에서, 매수 수수료인 9,005원의 0.5%와 매도 수수료인 8,740원의 0.2%를 합하여 매도 수량만큼 곱한 값인 1,437원을 뺀 4,658원이 2015년 11월 19일에 발생한 매도에 의한 매매차익에 상응할 수 있다.For example, the gain or loss on sale on November 19, 2015, shown in FIG. 5, is (9,005)-8,740) * 23-{((9,005 * 0.005) + (8,740 * 0.002)) * 23} Can be calculated accordingly. In other words, the selling price corresponding to the current price is 9,005 won, which is the purchase by the most recent purchase minus 8,740 won, multiplied by 23 selling quantities, resulting in 0.56% of the buying fee of 9,005 won and selling at 6,095 won. 4,658 won minus 1,437 won, which is the sum of 0.2% of the commission of 8,740 and multiplied by the quantity sold, may correspond to the gain or loss on sale that occurred on 19 November 2015.
이 때, 기존의 회계처리 방식에 상응하게 매매차익을 산출한다고 가정한다면, 매도가 9,005원에서 도 7 및 도 8에 도시된 2015년 11월 19일의 기존 시스템 보유단가 8,757원을 뺀 값에 매도 수량 23개를 곱한 결과 5,704원에서, 매수 수수료인 9,005원의 0.5%와 매도 수수료인 8,757원의 0.2%를 합하여 매도 수량만큼 곱한 값인 1,438원을 뺀 4,266원이 2015년 11월 19일에 발생한 매도에 의한 매매차익으로 계산될 수 있다. 즉, 본 발명에 따른 후입선출 방식에 의한 매매차익과 금액에 차이가 발생하는 것을 확인할 수 있다.In this case, assuming that the gains and losses are calculated according to the existing accounting method, the selling price is calculated by subtracting the selling price of KRW 9,005 from the existing system holding unit price of KRW 8,757 on November 19, 2015 shown in FIGS. 7 and 8. As a result of multiplying the quantity by 23, the sale occurred on November 19, 2015, subtracting 0.5% of the purchase fee of 9,005 and 0.2% of the selling fee of 8,757 and subtracting KRW 1,438, which is the product of the selling quantity. It can be calculated by trading profit by. That is, it can be seen that a difference occurs in the trading profit and amount by the last-in, first-out method according to the present invention.
이 때, 매매차익 누계는 매도 발생시마다 계산되는 매매차익을 누적하여 산출한 값으로, 매매차익 필드(710)에 저장된 매매차익들을 합산한 값이 매매차익 누계 필드(720)에 가장 하단에 위치할 수 있다. At this time, the cumulative trading profit is a value calculated by accumulating trading profits calculated at each sale occurrence, and the sum of the trading profits stored in the trading profit field 710 may be located at the bottom of the trading profit accumulation field 720. Can be.
이 때, 본 발명에 따른 투자이익의 제1 엘리먼트가 매매차익 누계 필드(720)에 입력되는 값에 상응할 수 있다.In this case, the first element of the investment profit according to the present invention may correspond to a value input in the trading profit accumulation field 720.
이 때, 본 발명에 따른 투자이익의 제2 엘리먼트는 도 7 및 도 8에 도시된 보유종목 평가이익 필드(750)에 입력되는 값에 상응할 수 있다. In this case, the second element of the investment profit according to the present invention may correspond to a value input in the valuation profit field 750 shown in FIGS. 7 and 8.
이 때, 보유종목 평가 이익, 즉 보유수량의 가격변동에 의한 투자이익은 현재가에서 보유종목 평균 매수단가 필드(740)의 금액을 뺀 값에 보유수량을 곱하여 산출될 수 있다. At this time, the stock valuation gain, that is, the investment profit from the price change of the stock quantity, may be calculated by multiplying the stock quantity by a value obtained by subtracting the amount of the field 740 from the current stock price average price.
예를 들어, 2015년 12월 17일의 주식 현재가인 9,040원에서 보유주식의 평균 매수 단가인 8828원을 제외한 금액이 보유잔량 중 1주에 대한 가격변동 수익이기 때문에, 1주에 의한 수익에 보유잔량인 135를 곱한 28,577원이 보유종목 평가이익에 상응할 수 있다. 이 때, 도 7에 도시된 금액에 의한 계산은, 현재가 9,040원에서 보유주식의 평균 매수 단가인 8828.32원을 제외한 금액인 211.68원이 1주에 의한 수익에 상응하고, 이 금액에 보유잔량인 135를 곱한 28,576.8원, 즉 반올림한 값인 28,577원이 보유종목 평가이익에 상응할 수 있다.For example, since the current price of shares on December 17, 2015, except for the average purchase price of stocks of KRW 8,040, is retained by one share of the remaining balance, it is retained by one share of revenue. The remaining value of W28,577, multiplied by 135, may correspond to the valuation gains of the holdings. In this case, the calculation based on the amount shown in FIG. 7 indicates that the present value of KRW 9,040, excluding the average purchase price of shares held at 8828.32 won, is 211.68 won, which is equivalent to the earnings by one share. The rounded value of KRW28,576.8, the rounded value of KRW28,577, may correspond to the valuation gains of the holdings.
이와 같이, 본 발명에 따른 종목 거래 데이터 관리 방법은 도 7 및 도 8에 도시된 것과 같이 투자이익의 제1 엘리먼트인 매매차익 누계와 투자이익의 제2 엘리먼트인 보유종목 평가이익을 함께 표시하여 제공함으로써 주식을 보유한 사용자가 각각의 상황에 따른 손익 정보를 한눈에 파악할 수 있도록 할 수 있다.As described above, according to the present invention, the method for managing the trading data of stocks is provided by displaying the accumulated trading gains, which are the first elements of the investment profit, and the holding stocks, which are the second elements of the investment profit, as shown in FIGS. 7 and 8. By doing so, the user holding the stock can check the profit and loss information for each situation at a glance.
이 때, 투자이익은 제1 엘리먼트와 제2 엘리먼트를 합산한 금액에 상응하고, 보유잔량과 현재가를 곱한 금액에서 투입금액을 빼서 산출할 수 있다.In this case, the investment profit may be calculated by subtracting the input amount from the sum of the sum of the first element and the second element and multiplying the remaining amount by the present value.
예를 들어, 도 7에 도시된 2015년 12월 17일의 데이터를 참조하면, 매매차익 누계는 24,501원에 상응하고, 보유종목 평가이익은 28,577원에 상응하는 것을 확인할 수 있다. 따라서, 도 7 및 도 8에 도시된 특정 종목은 2015년 12월 17일까지의 투자이익이 24,501원과 28,577원을 합산한 53,078원에 상응할 수 있다. For example, referring to the data of December 17, 2015 illustrated in FIG. 7, the cumulative trading profit may correspond to 24,501 won, and the valuation of stocks may correspond to 28,577 won. Therefore, the specific items shown in FIG. 7 and FIG. 8 may correspond to 53,078 won in which the profit of the investment up to December 17, 2015, is 24,501 won and 28,577 won.
이 때, 2015년 12월 17일의 보유잔량 135와 현재가 9,040원을 곱한 값에서 투입금액 1,167,322원을 뺀 값도 53,078원으로, 제1 엘리먼트와 제2 엘리먼트를 합산하여 산출된 투자이익과 동일한 값이 산출되는 것을 확인할 수 있다.At this time, the remaining amount 135 on December 17, 2015 and the present value of KRW 9,040 was subtracted from the input amount of KRW 1,167,322, which is 53,078 won, the same value as the investment profit calculated by adding the first and second elements. It can be confirmed that this is calculated.
이와 같이, 본 발명에 따른 후입선출 방식의 종목 거래 데이터 관리 방법을 이용하면 특정 종목에 대한 정확한 투자이익 정보를 제공받을 수 있다.As such, by using the last-in first-out item transaction data management method according to the present invention, accurate investment profit information for a specific item can be provided.
이 때, 보유종목 평균 매수단가 필드(740)에 입력되는 보유종목 평균 매수단가는 투입금액과 매매차익 누계를 합한 값을 보유잔량으로 나눈 값에 상응할 수 있다. 즉, 투입금액에 매매차익 누계를 합함으로써 보유종목 평가이익에 매매차익에 의한 수익이 포함되지 않도록 할 수 있다.At this time, the average stock price of the stocks inputted into the field average selling price of the stock items may correspond to a value obtained by dividing the sum of the input amount and the accumulated profit from the sale by the remaining amount. In other words, by adding the accumulated trading gains to the input amount, it is possible to prevent the gains from trading gains from being included in the valuation gains of the holdings.
*예를 들어, 1월 19일에 발생한 매도 직후의 보유주식의 평균 매수단가는 2016년 1월 19일까지의 투입금액 1,572,715원과 매매차익 누계 29,064원을 합한 1,601,779원을 보유잔량인 183개로 나눈 8753원에 상응할 수 있다. * For example, the average selling price of shares held immediately after the sale on January 19 is 1,601,779, which is the sum of the inputs amounting to 1,572,715 until January 19, 2016 and the cumulative gains and losses on sale. It may correspond to 8753 member.
즉, 보유종목 평균 매수단가 필드(740)에 포함된 단가는 매매차익 누계 필드(720)에 입력된 값을 고려하지 않고 산출된 보유종목 1주에 대한 매수단가에 상응할 수 있다.That is, the unit price of the stock item average selling means in the field 740 may correspond to the selling price for one week of the stock item calculated without considering the value input in the accumulated trading profit field 720.
이 때, 도 7 내지 도 8에 함께 도시한 기존 시스템 보유단가 필드(731)는 본 발명에 따른 후입선출 방식이 아닌 회계처리 기준 방식에 상응하게 산출된 매입평균가에 상응할 수 있다. 즉, 주식, 선물 또는 옵션 등을 매수하는 경우만 고려하여, 매입금액을 수량으로 나누어 평가된 주식의 보유단가에 상응할 수 있다.In this case, the existing system holding unit cost field 731 shown in FIGS. 7 to 8 may correspond to the purchase average value calculated corresponding to the accounting processing reference method, not the last-in, first-out method according to the present invention. That is, considering only the case of buying stocks, futures or options, the purchase price may be divided by the quantity to correspond to the unit price of the stocks evaluated.
만약, 기존의 회계처리 기준 방식을 이용하면 다음과 같이 투자이익을 산출할 수 있다. If the existing accounting standard method is used, the investment profit can be calculated as follows.
예를 들어, 2015년 11월 19일에 발생한 매도에 의한 매매차익은, 매도가 9,005원에서 기존 시스템 보유단가 8,757원을 뺀 값에 매도 수량 23개를 곱한 금액인 5,704원에서, 매수 수수료인 9,005원의 0.5%와 매도 수수료인 8,757원의 0.2%를 합하여 매도 수량만큼 곱한 값인 1,438원을 뺀 4,266원에 상응할 수 있다. For example, the gain or loss on sale on November 19, 2015, is the purchase fee of 9,005 at the price of KRW 5,704, which is the product of selling price minus 9,005 minus the existing system holding price of KRW 8,757. It is equivalent to 4,266 won minus 1,438 won, which is the product of 0.5% of won and 0.2% of selling fee of 8,757 won.
또한, 2015년 11월 19일의 보유종목 평가이익은, 현재가 9,005원에서 기존 시스템 보유단가 8,757원을 뺀 값에 보유잔량 134를 곱한 금액인 33,232원에 상응할 수 있다. 이 때, 기존의 회계처리 방식으로 보유종목의 평가이익을 구할 때에는 매도가 발생하여도 매수에 의해 계산된 매입평균가를 그대로 사용하는 것을 확인할 수 있다. 즉, 매수 시의 매수금액만을 고려하기 때문에 매도에 의해 발생한 매매차익이 보유종목 평가이익을 계산할 때에도 중복 포함되어 계산된다고 판단할 수 있다.In addition, the valuation gains on November 19, 2015, may be equivalent to W33,232, the current price of W9,005 minus the existing system holding price of W8,757, multiplied by the remaining balance of 134. In this case, when the valuation gains of the holdings are calculated using the existing accounting method, even if a sale occurs, the purchase average price calculated by the purchase can be used as it is. That is, since only the purchase price at the time of purchase is taken into account, it can be determined that the gains and losses generated by the sale are included in the calculation of the valuation gains of the stocks.
이 때, 기존의 회계처리 방식으로 계산된 매매차익 4,266원과 보유종목 평가이익 33,232원을 합한 금액은 37,498원으로 2015년 11월 19일의 투자이익인 37,826원과 동일하지 않음을 알 수 있다. 물론, 상기 예시에 의한 2015년 11월 19일에 계산된 투자이익에 있어서 기존의 방식과 본 발명 간의 차이는 328원으로 미세할 수 있으나, 해당 종목에 대한 매수와 매도가 지속적으로 발생한다면 이 차이는 점점 벌어져서 커질 수 있다. 또한, 이렇게 크게 발생하는 차이는 주식, 선물 및 옵션 등의 금융거래 시 손해를 발생시키는 원인이 될 수도 있다. In this case, the sum of trading gains of 4,266 won and valuation gains of 33,232 won is 37,498 won, which is not the same as investment profit of 37,826 won on November 19, 2015. Of course, the difference between the conventional method and the present invention in the investment profit calculated on November 19, 2015 according to the above example may be as small as 328 won, but if the buy and sell for the relevant stock continuously occurs this difference Can grow and widen. In addition, such large differences may cause damages in financial transactions such as stocks, futures and options.
따라서, 본 발명은 후입선출 방식을 기반으로 종목 거래 데이터를 제공함으로써 상기와 같은 문제점을 해결할 수 있다.Therefore, the present invention can solve the above problems by providing item trading data based on the last-in, first-out method.
이 때, 보유단가 필드(730)에 기재되는 보유단가는 매매차익 누계를 고려하여 산출된 보유종목 1주에 대한 단가를 의미하는 것으로, 보유종목 평균 매수단가와 보유단가를 비교하는 것만으로도 보유종목에 대한 손익을 판단할 수도 있다.In this case, the holding unit price described in the holding unit price field 730 means the unit price for one share item calculated in consideration of the cumulative gains and losses. You can also determine the profit or loss on a stock.
도 9는 본 발명에 따른 종목 거래 데이터 관리 장치의 인터페이스 화면의 일 예를 나타낸 도면이다.9 is a diagram illustrating an example of an interface screen of an apparatus for managing trading data according to the present invention.
도 9를 참조하면, 본 발명에 따른 종목 거래 데이터 관리 장치의 인터페이스 화면은 사용자의 스마트 단말(910)에서 제공되는 인터페이스 화면에 상응할 수 있다.9, the interface screen of the item transaction data management apparatus according to the present invention may correspond to the interface screen provided from the smart terminal 910 of the user.
즉, 스마트 단말(910)을 통해 종목 거래 데이터 관리 장치가 제공하는 종목 거래 데이터를 획득하여 도 9에 상응하게 출력될 수 있다. That is, the item transaction data provided by the item transaction data management apparatus may be acquired through the smart terminal 910 and output according to FIG. 9.
이 때, 인터페이스 화면에는 보유종목 선택 버튼(920)을 제공함으로써 사용자가 보유한 종목별로 종목 거래 데이터를 선택하여 확인할 수도 있다.At this time, by providing the item selection button 920 on the interface screen may select and confirm the item trading data for each item owned by the user.
예를 들어, 종목별 매수 또는 매도에 따른 투자이익 금액과 함께 보유종목의 매수 평균 단가를 제공할 수 있다. 이 때, 보유종목의 매수 평균 단가는 현재가 및 보유단가와 함께 제공됨으로써 사용자가 해당 종목의 손익정보를 보다 수월하게 판단할 수 잇도록 할 수 있다. For example, you can provide the average unit price of the stocks you own, along with the amount of investment gains from buying or selling the stocks. At this time, the average price of the stocks to be purchased is provided together with the current price and the price of the stock to enable the user to more easily determine the profit and loss information of the stock.
또한, 본 발명에 따른 종목 거래 관리 장치의 인터페이스 화면에는 주식 현재가 정보, 관심 종목 정보, 종목별 손익 정보 또는 종목별 차트와 그래프 등의 정보도 함께 제공할 수 있다.In addition, the interface screen of the item transaction management apparatus according to the present invention may also provide information such as stock price information, item of interest information, item profit and loss information or item charts and graphs.
이 때, 도 9에서는 스마트 단말(910)을 통해 종목 거래 데이터를 제공하는 예시를 설명하고 있지만, 본 발명에 따른 종목 거래 데이터는 스마트 단말 이외에도 다양한 종류의 단말들을 통해 제공할 수도 있다.In this case, although an example of providing item transaction data through the smart terminal 910 is described in FIG. 9, the item transaction data according to the present invention may be provided through various types of terminals in addition to the smart terminal.
이상에서와 같이 본 발명에 따른 후입선출 방식의 종목 거래 데이터 관리 장치 및 이를 이용한 종목 거래 데이터 관리 방법은 상기한 바와 같이 설명된 실시예들의 구성과 방법이 한정되게 적용될 수 있는 것이 아니라, 상기 실시예들은 다양한 변형이 이루어질 수 있도록 각 실시예들의 전부 또는 일부가 선택적으로 조합되어 구성될 수도 있다.As described above, the stock trading data management apparatus of the last-in first-out method and the stock trading data management method using the same are not limited to the configuration and method of the embodiments described above, but the above-described embodiments These may be configured by selectively combining all or part of the embodiments so that various modifications can be made.

Claims (18)

  1. 종목 거래 데이터 관리 장치에 의하여 수행되는 종목 거래 데이터 관리 방법에 있어서,In the item trading data management method performed by the item trading data management device,
    특정 종목에 대한 매수가 발생하면 매수가와 매수 수량을 저장하는 단계;Storing the number of purchases and the number of purchases when a purchase for a specific item occurs;
    상기 특정 종목에 대한 특정 매도가의 매도가 발생하면 후입선출 방식으로 매매차익 및 매매차익 누계를 산출하여 저장하는 단계; 및Calculating and storing the gains and gains on the sale if the sale of a specific sale for the particular item occurs by a last-in first-out method; And
    상기 매매차익 누계를 이용하여 후입선출 방식의 보유종목의 평균 매수 단가를 산출하는 단계; 및Calculating an average purchase price of holdings of the last-in, first-out method by using the accumulated trading profit; And
    상기 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출하는 단계Calculating investment profit corresponding to the average purchase price of the stocks;
    를 포함하는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Stock trading data management method comprising a.
  2. 청구항 1에 있어서,The method according to claim 1,
    상기 종목 거래 데이터 관리 방법은The stock trading data management method
    상기 특정 종목의 매매로 인하여 발생하는 상기 투자이익의 제1 엘리먼트 및 상기 특정 종목의 보유잔량의 가격변동에 상응하는 상기 투자이익의 제2 엘리먼트를 구분하여 표시하는 단계Distinguishing and displaying a first element of the investment profit resulting from the sale of the particular item and a second element of the investment profit corresponding to a price change of the remaining balance of the particular item
    를 더 포함하는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Stock trading data management method further comprising.
  3. 청구항 2에 있어서,The method according to claim 2,
    상기 제1 엘리먼트는The first element
    상기 매매차익 누계를 이용하여 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Item trading data management method, characterized in that calculated using the cumulative trading profit.
  4. 청구항 2에 있어서,The method according to claim 2,
    상기 제2 엘리먼트는The second element
    상기 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 상기 보유잔량을 곱하여 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Stock trading data management method, characterized in that calculated by multiplying the remaining balance by the amount minus the present price from the average purchase price of the stock.
  5. 청구항 2에 있어서,The method according to claim 2,
    상기 제1 엘리먼트 및 상기 제2 엘리먼트의 합은 상기 투자이익에 상응하는 것을 특징으로 하는 종목 거래 데이터 관리 방법.The sum of the first element and the second element corresponds to the investment profit.
  6. 청구항 1에 있어서,The method according to claim 1,
    상기 매매차익 및 매매차익 누계를 산출하여 저장하는 단계는Calculating and storing the trading profit and the cumulative trading profit
    가장 최근에 매수한 물량부터 상기 매도에 상응하는 매도물량으로 하여 매도 상대 매수가를 저장하고, 상기 매도 상대 매수가에 기반하여 상기 매매차익 및 매매차익 누계를 산출하는 것을 특징으로 하는 종목 거래 데이터 관리 방법.The stock trading method of claim 1, wherein the selling quantity corresponding to the selling is stored as the selling quantity corresponding to the selling from the most recently bought quantity, and the trading gain and the cumulative selling profit are calculated based on the selling relative buying.
  7. 청구항 6에 있어서,The method according to claim 6,
    상기 매매차익 및 매매차익 누계를 산출하여 저장하는 단계는Calculating and storing the trading profit and the cumulative trading profit
    상기 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 상기 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출하는 것을 특징으로 하는 종목 거래 데이터 관리 방법. In the event that the quantity of the sell-off of the specific selling amount is more than the quantity of the most recently bought quantity, storing at least two selling relative buy-offs, and calculating the selling profit and accumulation of trading gains for each of the two or more selling-buy buyings. How to manage transaction data.
  8. 청구항 7에 있어서,The method according to claim 7,
    상기 매매차익은The gains and losses
    상기 특정 매도가에서 상기 매도 상대 매수가를 뺀 금액에 상기 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Item trading data management method characterized in that calculated by subtracting the purchase fee, the selling fee and tax from the value of the specific selling price minus the selling relative buy quantity multiplied by the selling quantity.
  9. 청구항 5에 있어서,The method according to claim 5,
    상기 후입선출 방식의 보유종목의 평균 매수 단가는The average purchase price of holdings of the last-in, first-out method is
    투입금액에 상기 매매차익 누계를 더한 값을 보유잔량으로 나눠서 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 방법.Item trading data management method characterized in that it is calculated by dividing the value by adding the accumulated trading profits to the input amount by the remaining amount.
  10. 특정 종목에 대한 매수가와 매수 수량을 저장하고, 특정 매도가의 종목매도 발생시마다 후입선출 방식으로 산출되는 매매차익 및 매매차익 누계를 저장하는 메모리; 및A memory for storing buys and buy quantities for a particular stock, and for storing the selling gains and the accumulated gains and losses calculated on a last-in-first-out basis whenever a sell-off of a particular sell occurs; And
    상기 후입선출 방식의 매매차익 누계를 이용하여 후입선출 방식의 보유종목 평균 매수단가를 산출하고, 상기 보유종목의 평균 매수 단가에 상응하는 투자이익을 산출하는 프로세서A processor that calculates the average purchase price of the stocks of the last-in-first-out method and calculates the investment profit corresponding to the average purchase price of the stocks by using the cumulative gains and losses of the last-in, first-out method.
    를 포함하는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Stock trading data management device comprising a.
  11. 청구항 10에 있어서,The method according to claim 10,
    상기 프로세서는The processor is
    상기 특정 종목의 매매로 인하여 발생하는 상기 투자이익의 제1 엘리먼트 및 상기 특정 종목의 보유잔량의 가격변동에 상응하는 상기 투자이익의 제2 엘리먼트를 구분하여 표시하는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Discrete trading data management device characterized by displaying the first element of the investment profit generated by the sale of the particular item and the second element of the investment profit corresponding to the price change of the remaining balance of the particular item .
  12. 청구항 11에 있어서,The method according to claim 11,
    상기 제1 엘리먼트는The first element
    상기 매매차익 누계를 이용하여 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Item trading data management apparatus, characterized in that calculated using the cumulative trading profit.
  13. 청구항 11에 있어서,The method according to claim 11,
    상기 제2 엘리먼트는The second element
    상기 보유종목의 평균 매수 단가에서 현재가를 뺀 금액에 상기 보유잔량을 곱하여 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Stock trading data management device, characterized in that calculated by multiplying the remaining balance by the amount minus the current price from the average purchase price of the stock.
  14. 청구항 11에 있어서,The method according to claim 11,
    상기 제1 엘리먼트 및 상기 제2 엘리먼트의 합은 상기 투자이익에 상응하는 것을 특징으로 하는 종목 거래 데이터 관리 장치.The sum of the first element and the second element is the trading data management apparatus, characterized in that corresponding to the investment profit.
  15. 청구항 10에 있어서,The method according to claim 10,
    상기 메모리는The memory is
    가장 최근에 매수한 물량부터 매도물량으로 하여 매도 상대 매수가를 저장하고, 상기 매도 상대 매수가에 기반하여 상기 매매차익 및 매매차익 누계를 산출하는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Item trading data management device characterized in that for storing the relative purchase price from the most recently purchased quantity to sell quantity, and calculates the trading profit and the cumulative trading profit based on the selling relative purchase.
  16. 청구항 15에 있어서,The method according to claim 15,
    상기 메모리는The memory is
    상기 특정 매도가의 매도물량이 가장 최근에 매수한 물량보다 많은 경우에 둘 이상의 매도 상대 매수가들을 저장하고, 상기 둘 이상의 매도 상대 매수가들 각각에 대한 매매차익 및 매매차익 누계를 산출하는 것을 특징으로 하는 종목 거래 데이터 관리 장치.In the event that the quantity of the sell-off of the specific selling amount is more than the quantity of the most recently bought quantity, storing at least two selling relative buy-offs, and calculating the selling profit and accumulation of trading gains for each of the two or more selling-buy buyings. Transaction data management device.
  17. 청구항 16에 있어서,The method according to claim 16,
    상기 매매차익은The gains and losses
    상기 특정 매도가에서 상기 매도 상대 매수가를 뺀 금액에 매도수량을 곱한 값에서 매수 수수료, 매도 수수료 및 세금을 빼서 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Item trading data management device, characterized in that calculated by subtracting the purchase fee, selling fee and tax from the value of the specific selling price minus the selling relative purchase price multiplied by the selling quantity.
  18. 청구항 10에 있어서,The method according to claim 10,
    상기 후입선출 방식의 보유종목의 평균 매수 단가는The average purchase price of holdings of the last-in, first-out method is
    투입금액에 상기 매매차익 누계를 더한 값을 보유잔량으로 나눠서 산출되는 것을 특징으로 하는 종목 거래 데이터 관리 장치.Item trading data management device, characterized in that the calculated by dividing the value of the sum plus the trading profits by the remaining amount.
PCT/KR2017/006136 2016-06-13 2017-06-13 Device for managing item trade data on basis of last-in first-out scheme, and method for managing item trade data by using same WO2017217734A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020187032232A KR102124322B1 (en) 2016-06-13 2017-06-13 A device for managing data on stock trading using a first-in-first-out method and a method for managing stock trading data using the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2016-0073201 2016-06-13
KR20160073201 2016-06-13

Publications (1)

Publication Number Publication Date
WO2017217734A1 true WO2017217734A1 (en) 2017-12-21

Family

ID=60664480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2017/006136 WO2017217734A1 (en) 2016-06-13 2017-06-13 Device for managing item trade data on basis of last-in first-out scheme, and method for managing item trade data by using same

Country Status (2)

Country Link
KR (1) KR102124322B1 (en)
WO (1) WO2017217734A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003510708A (en) * 1999-06-24 2003-03-18 フォリオエフエヌ,インコーポレイティド Method and system for investing in a selected investment set based on an aggregated individual preference of multiple investors
KR20050024494A (en) * 2005-02-04 2005-03-10 한기천 The method which analyze the trading volume of a bill broker in the online trading
KR20080010104A (en) * 2006-07-26 2008-01-30 굿모닝신한증권 주식회사 Method for providing account clinic service in home trading system
KR20130138887A (en) * 2012-06-12 2013-12-20 양용철 Device and method for profit and loss calculation in case of split sale in stock trading system
KR20140134060A (en) * 2013-05-13 2014-11-21 키움증권 주식회사 System and method for writing Trading document in online stocktrading

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003510708A (en) * 1999-06-24 2003-03-18 フォリオエフエヌ,インコーポレイティド Method and system for investing in a selected investment set based on an aggregated individual preference of multiple investors
KR20050024494A (en) * 2005-02-04 2005-03-10 한기천 The method which analyze the trading volume of a bill broker in the online trading
KR20080010104A (en) * 2006-07-26 2008-01-30 굿모닝신한증권 주식회사 Method for providing account clinic service in home trading system
KR20130138887A (en) * 2012-06-12 2013-12-20 양용철 Device and method for profit and loss calculation in case of split sale in stock trading system
KR20140134060A (en) * 2013-05-13 2014-11-21 키움증권 주식회사 System and method for writing Trading document in online stocktrading

Also Published As

Publication number Publication date
KR20180125025A (en) 2018-11-21
KR102124322B1 (en) 2020-06-26

Similar Documents

Publication Publication Date Title
WO2019061611A1 (en) Marketing campaign management method, apparatus, device, and computer storage medium
WO2017222128A1 (en) Method and server for providing card service in place of card issuing company
WO2018056689A1 (en) Method, device, and system for providing random additional post-payment discount for electronic commercial transaction in open market
WO2018107610A1 (en) Service data processing method, system and device, and computer-readable storage medium
WO2019104877A1 (en) Method, apparatus and device for connection to insurance purchase through website and medium
WO2018233301A1 (en) Product recommendation method, apparatus, and device, and computer readable storage medium
WO2018080264A1 (en) Real estate transaction service providing method and server
WO2019062199A1 (en) Method and device for recommending power consumption charging mode, and storage medium
WO2018166314A1 (en) Limit approval method, apparatus and device, and computer-readable storage medium
WO2014123341A1 (en) System and method of providing object for service of service provider
WO2018155846A1 (en) Agency payment system, server and controlling method thereof
WO2017065456A1 (en) Repair mediation system and method for apparatus in need of repair
WO2019112092A1 (en) Apparatus and method for deducing social relation between accounts on basis of transaction ledger, and apparatus and method for providing social media service by using same
WO2010117143A2 (en) Apparatus and method for selling products and content through blog scrap sales module
WO2017217734A1 (en) Device for managing item trade data on basis of last-in first-out scheme, and method for managing item trade data by using same
WO2019000968A1 (en) Transaction tail difference processing method, apparatus and computer readable storage medium
WO2009107972A2 (en) Technology valuation method and system, and computer-readable recording medium recorded with program for same
WO2018043858A1 (en) Device for calculating sale price of rental item and method using same
WO2017043847A1 (en) Management expense reduction system and platform server interworking cloud-based payment service method
WO2023038324A1 (en) Non-fungible token distributed ownership method
WO2020222533A2 (en) Acquaintance discount code-based shopping management control system and method
WO2021187757A1 (en) System and method for processing currency exchange
WO2022211155A1 (en) Method for operating electronic device for providing item information, and electronic device supporting same
WO2023106496A1 (en) Method for providing ui for supporting trading of unlisted stocks, and unlisted stock trading server using same
WO2016117818A1 (en) Method and apparatus for providing efficient retargeting

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20187032232

Country of ref document: KR

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17813558

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17813558

Country of ref document: EP

Kind code of ref document: A1