资 源 简 介
用来计算股票买卖盈亏及手续费的小工具,包含买保本价、卖保本加、买卖差价、交易费用,盈亏等,使用命令参数有2种如下:
1、perl stock.pl 股票数量 股票价格
例如:perl stock.pl 500 13.00
2、perl stock.pl 股票数量 股票买入价格 股票卖出价格
-Used to calculate gains and losses on stock transactions and handling of small tools, including the price of insurance to buy and sell capital preservation increases, bid-ask spread, transaction costs, profit and loss, etc., the use of two kinds of command parameters are as follows: 1, perl stock.pl amount of shares such as stock prices : perl stock.pl 500 13.002, perl stock.pl amount of shares of stock prices to buy shares on the stock market price