slew77 / hle-ofx-quotes

Automatically exported from code.google.com/p/hle-ofx-quotes
0 stars 1 forks source link

Yahoo downloads prices in pounds in error for pence #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.download UK prices from Yahoo 
2.
3.

What is the expected output? What do you see instead?
pounds in error for pence

What version of the product are you using? On what operating system?
hleOfxQuotes-20110205_001
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by mapleth...@googlemail.com on 5 Feb 2011 at 6:49

GoogleCodeExporter commented 8 years ago
MS Money requires pounds, rather than pence. That's why it's converted.

Original comment by oddb...@gmail.com on 6 Feb 2011 at 11:56

GoogleCodeExporter commented 8 years ago
For non-US symbols, I suggested using ft.com or Google Portfolio.

The reason is that Yahoo does not return a currency, so I just blindly assume 
the price in the based currency. I have something in mind to fix this: allow 
user to specify the currency of the quote source. For example, let you have an 
option to say for symbol XYZ the currency is GBX. 

For now, stay away for Yahoo for non US symbols ;-).

Original comment by hle...@gmail.com on 16 Feb 2011 at 11:52

GoogleCodeExporter commented 8 years ago

Original comment by hle...@gmail.com on 19 Feb 2011 at 2:51

GoogleCodeExporter commented 8 years ago
I've added an additional column in the mapper.cvs called "QuotesSourceCurrency" 
that you can use to specify the currency of a security if the quote source is 
not providing it. Can you give this a try and see if it works for you:
  . http://www.le.com/~hle/out/hleOfxQuotes/SNAPSHOT/hleOfxQuotes-SNAPSHOT_20110219_001.jar
  . For mapper.csv file, see: http://code.google.com/p/hle-ofx-quotes/wiki/mapperDotCsv
Example:
MSMoneySymbol,QuotesSourceSymbol,IsMutualFund,IsOptions,QuotesSourceCurrency
VINCI,DG.NX,FALSE,FALSE,EUR

Original comment by hle...@gmail.com on 19 Feb 2011 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by hle...@gmail.com on 26 Feb 2011 at 3:30

GoogleCodeExporter commented 8 years ago
Done. 
See: https://code.google.com/p/hle-ofx-quotes/wiki/Build_20110226_001

Original comment by hle...@gmail.com on 26 Feb 2011 at 5:49