什么是雅虎股票报价中“百分比变化”的标签

时间:2012-09-11 09:33:12

标签: php yahoo-finance

我正在编写API以使用YQL获取雅虎股票信息。我已关注http://www.gummy-stuff.org/Yahoo-data.htm并获取股票的所有符号。

在获取结果时,我得到一个额外符号“[PercentChange] => 0.00%”,我搜索了它的标签,但我无法找到“PercentChange”的正确标签。

http://www.gummy-stuff.org/Yahoo-data.htm和其他网站有完整的代码列表,但没有提到“PercentChange”。

有人能告诉我雅虎股票中“PercentChange”的标记符号是什么

网址: - http://query.yahooapis.com/v1/public/yql?q=select%20 *%20来自%20yahoo.finance.quotes%20其中%20symbol%20in%20%28“YHOO”,“AAPL”,“GOOG”,“MSFT”%29& env = http://datatables.org/alltables.env&format=json

*Output print :-
  stdClass Object
(
    [symbol] => YHOO
    [Ask] => 15.34
    [AverageDailyVolume] => 15241100
    [Bid] => 15.00
    [AskRealtime] => 15.34
    [BidRealtime] => 15.00
    [BookValue] => 10.445
    [Change_PercentChange] => 0.00 - 0.00%
    [Change] => 0.00
    [Commission] => 
    [ChangeRealtime] => 0.00
    [AfterHoursChangeRealtime] => N/A - N/A
    [DividendShare] => 0.00
    [LastTradeDate] => 9/10/2012
    [TradeDate] => 
    [EarningsShare] => 0.887
    [ErrorIndicationreturnedforsymbolchangedinvalid] => 
    [EPSEstimateCurrentYear] => 1.03
    [EPSEstimateNextYear] => 1.18
    [EPSEstimateNextQuarter] => 0.29
    [DaysLow] => 
    [DaysHigh] => 
    [YearLow] => 13.11
    [YearHigh] => 16.79
    [HoldingsGainPercent] => - - -
    [AnnualizedGain] => 
    [HoldingsGain] => 
    [HoldingsGainPercentRealtime] => N/A - N/A
    [HoldingsGainRealtime] => 
    [MoreInfo] => cn
    [OrderBookRealtime] => 
    [MarketCapitalization] => 17.900B
    [MarketCapRealtime] => 
    [EBITDA] => 1.306B
    [ChangeFromYearLow] => +2.00
    [PercentChangeFromYearLow] => +15.26%
    [LastTradeRealtimeWithTime] => N/A - 15.11
    [ChangePercentRealtime] => N/A - 0.00%
    [ChangeFromYearHigh] => -1.68
    [PercebtChangeFromYearHigh] => -10.01%
    [LastTradeWithTime] => Sep 10 - 15.11
    [LastTradePriceOnly] => 15.11
    [HighLimit] => 
    [LowLimit] => 
    [DaysRange] => N/A - N/A
    [DaysRangeRealtime] => N/A - N/A
    [FiftydayMovingAverage] => 15.3154
    [TwoHundreddayMovingAverage] => 15.3131
    [ChangeFromTwoHundreddayMovingAverage] => -0.2031
    [PercentChangeFromTwoHundreddayMovingAverage] => -1.33%
    [ChangeFromFiftydayMovingAverage] => -0.2054
    [PercentChangeFromFiftydayMovingAverage] => -1.34%
    [Name] => Yahoo! Inc.
    [Notes] => 
    [Open] => 
    [PreviousClose] => 15.11
    [PricePaid] => 
    [ChangeinPercent] => 0.00%
    [PriceSales] => 3.59
    [PriceBook] => 1.45
    [ExDividendDate] => 
    [PERatio] => 17.03
    [DividendPayDate] => 
    [PERatioRealtime] => 
    [PEGRatio] => 1.20
    [PriceEPSEstimateCurrentYear] => 14.67
    [PriceEPSEstimateNextYear] => 12.81
    [Symbol] => YHOO
    [SharesOwned] => 
    [ShortRatio] => 1.80
    [LastTradeTime] => 4:00pm
    [TickerTrend] =>  ====== 
    [OneyrTargetPrice] => 17.98
    [Volume] => 0
    [HoldingsValue] => 
    [HoldingsValueRealtime] => 
    [YearRange] => 13.11 - 16.79
    [DaysValueChange] => - - 0.00%
    [DaysValueChangeRealtime] => N/A - N/A
    [StockExchange] => NasdaqNM
    [DividendYield] => 
    [PercentChange] => 0.00%       ========>This is an extra Tag
)*

1 个答案:

答案 0 :(得分:0)

根据雅虎财经的回应数据,这是当前价格与收盘价之间的差额(上一个交易日收盘前的最后价格)