API – YQL Yahoo.Finance.xchange Returns Column Mismatch from the REST Query running, run from the console

The following query applies to the console:

env’store://datatables.org/alltableswithkeys’ ;
select * from yahoo.finance.xchange where pair in (“USDSGD”)

However, the rest of the query:
https://query.yahooapis.com/ v1/public/yql?q=env%20%27store%3A%2F%2Fdatatables.org%2Falltableswithkeys%27%3B%20select%20*%20from%20yahoo.finance.xchange%20where%20pair%20in%20(% 22USDSGD%22)%20&format=json&diagnostics=true&callback=

It failed because of column mismatch error. After a few weeks, this query returns results. Any ideas can be changed?

The same question is here

http://query .yahooapis.com/v1/public/yql?q=select%20%2a%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22MSFT%22%29&env=store://datatables.org /alltableswithkeys&diagnostics=true&format=xml

Give column mismatch (see output). This URL works fine in the command line, but sometimes it fails in my application for several hours.

Yield

http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xml true   5d1e1de680846a307c9874dc3d6878dc  
http://download.finance.yahoo.com/d/quotes.csv?f=aa2bb2b3b4cc1c3c4c6c8dd1d2ee1e7e8e9ghjkg1g3g4g5g6ii5j1j3j4j5j6k1k2k4k5ll1l2l3mm2m3m4m5m6m7m8nn4opp1p2p5p6qrr1r2r5r6r7ss1s7t1t7t8vv1v7ww1w4xy&s=AAPL
Column mismatch: [Ask, AverageDailyVolume, Bid, AskRealtime, BidRealtime, BookValue, Change
select * from csv where url=@url and columns='Ask,AverageDailyVolume,Bid ,AskRealtime,BidRealtime,BookValue,Change&PercentChang e,Change,Commission,Currency,ChangeRealtime,AfterHoursChangeRealtime,DividendShare,LastTradeDate,TradeDate,EarningsShare,ErrorIndicationreturnedforsymbolchangedinvalid,EPSEstimateCurrentYear,EPSEstimateNextYear,EPSEstimateNextQuarter,DaysLow,Realtime,Gain,HoldingOrder,Gaintime,HoldingOrder,Gain,HoldingOrder,Gain MarketCapitalization, MarketCapRealtime, EBITDA, ChangeFromYearLow, PercentChangeFromYearLow, LastTradeRealtimeWithTime, ChangePercentRealtime, ChangeFromYearHigh, PercebtChangeFromYearHigh, LastTradeWithTime, LastTradePriceOnly, HighLimit, LowLimit, DaysRange, DaysRangeRealtime, FiftydayMovingAverage, TwoHundreddayMovingAverage, ChangeFromTwoHundreddayMovingAverage, PercentChangeFromTwoHundreddayMovingAverage, ChangeFromFiftydayMovingAverage, PercentChangeFromFiftydayMovingAverage, Name, Notes, Open, PreviousClose, PricePaid,ChangeinPercent,PriceSales,PriceBook,ExDividendDate,PERatio,DividendPayDate,PERatioRealtime,PEGRatio, PriceEPSEstimateCurrentYear,PriceEPSEstimateNextYear,Symbol,SharesOwned,ShortRatio,LastTradeTime,TickerTrend,OneyrTargetPrice,Volume,HoldingsValue,HoldingsValueRealtime,YearRange,DaysValueChange,DaysValueChangeRealtime,StockExchange,DividendYield>javascript60.2.395

The following query applies to the console:

env’store://datatables.org/alltableswithkeys’ ;
select * from yahoo.finance.xchange where pair in (“USDSGD”)

However, the rest of the query:
https://query.yahooapis.com/ v1/public/yql?q=env%20%27store%3A%2F%2Fdatatables.org%2Falltableswithkeys%27%3B%20select%20*%20from%20yahoo.finance.xchange%20where%20pair%20in%20(% 22USDSGD%22)%20&format=json&diagnostics=true&callback=

It failed because of column mismatch error. After a few weeks, this query returns results. Any ideas can be changed?

The same question is here

http://query.yahooapis.com/v1/public/yql?q =select%20%2a%20from%20yahoo.finance.quotes%20where%20symbol%20in%20%28%22MSFT%22%29&env=store://datatables.org/alltableswithkeys&diagnostics=true&format=xml

Given column mismatch (see output). This URL works fine in the command line, but sometimes it fails in my application for a few hours.

Yield

http://www.datatables.org/yahoo/finance/yahoo.finance.quotes.xmltrue5d1e1de680846a307c9874dc3d6878dc 
http://download.finance.yahoo.com/d/quotes.csv?f=aa2bb2b3b4cc1c3c4c6c8dd1d2ee1e7e8e9ghjkg1g3g4g5g6ii5j1j3j4j5j6k1k2k4k5ll1l2l3mm2m3m4m5m6m7m8nn4opp1p2p5p6qrr1r2r5r6r7ss1s7t1t7t8vv1v7ww1w4xy&s=AAPL
Column mismatch: [Ask, AverageDailyVolume, Bid, AskRealtime, BidRealtime, BookValue, Change
select * from csv where url=@url and columns='Ask,AverageDailyVolume,Bid,AskRealtime,BidRealtime,BookValue,Change&PercentChange,Change,Commission ,Currency,ChangeRealtime,AfterHoursCh angeRealtime, DividendShare, LastTradeDate, TradeDate, EarningsShare, ErrorIndicationreturnedforsymbolchangedinvalid, EPSEstimateCurrentYear, EPSEstimateNextYear, EPSEstimateNextQuarter, DaysLow, DaysHigh, YearLow, YearHigh, HoldingsGainPercent, AnnualizedGain, HoldingsGain, HoldingsGainPercentRealtime, HoldingsGainRealtime, MoreInfo, OrderBookRealtime, MarketCapitalization, MarketCapRealtime, EBITDA, ChangeFromYearLow, PercentChangeFromYearLow, LastTradeRealtimeWithTime, ChangePercentRealtime, ChangeFromYearHigh, PercebtChangeFromYearHigh, LastTradeWithTime, LastTradePriceOnly, HighLimit, LowLimit, DaysRange, DaysRangeRealtime, FiftydayMovingAverage, TwoHundreddayMovingAverage, ChangeFromTwoHundreddayMovingAverage, PercentChangeFromTwoHundreddayMovingAverage, ChangeFromFiftydayMovingAverage, PercentChangeFromFiftydayMovingAverage, Name, Notes, Open, PreviousClose, PricePaid, ChangeinPercent, PriceSales, priceBook, ExDividendDate, PERatio,DividendPayDate,PERatioRealtime,PEGRatio,PriceEPSEstimateCurrentYear,PriceEPSEstimateNextYear,Sym bol,SharesOwned,ShortRatio,LastTradeTime,TickerTrend,OneyrTargetPrice,Volume,HoldingsValue,HoldingsValueRealtime,YearRange,DaysValueChange,DaysValueChangeRealtime,StockExchange,DividendYield'960.2.395

Leave a Comment

Your email address will not be published.