Closed GoogleCodeExporter closed 8 years ago
I went ahead a implement the suggestion made by Dave (February 17, 2011 @ 1:15
pm).
I think we are getting the desired result.
Scenario:
. MM2005UK (running in a VM), base currency is GBP, a non-Dummy account (also
has GBP as currency) has an existing BBT transaction (entered on Feb 01, 2011)
. Dummy account (GBP currency) will house incoming OFX import.
. On the tool side, I added a column in the mapper.csv to be able to specify
that the quote source currency for BBT is USD
, Quote source retrieves price for BBT in USD as $28.32
http://www.le.com/~hle/out/hle/2011_02_18/from_source_quote.jpg
. A new fx.csv file has FX rate: (FromCurrency,ToCurrency,Rate)
GBP,USD,1.6195
. When tool starts to write OFX, it converts $28.32 into 17.4930GBP
http://www.le.com/~hle/out/hle/2011_02_18/ofx.jpg
. On import, MM notices that the currency for BBT is actually is USD, so it
uses its internal FX table
http://www.le.com/~hle/out/hle/2011_02_18/ms_fx_table.jpg
And the account ends up having the value for BBT at the correct price which is
$28.32
http://www.le.com/~hle/out/hle/2011_02_18/portfolio_manager_01.jpg
I know there are a lot of moving parts, and need to synchronize files (fx.csv
and MM internal FX table) but I though Dave had a good idea and I did not want
it to go stale.
In light of MM2005UK is still getting quote price update, I don’t think
anyone will want to try this out so I am not going to rush this out yet. Let me
know otherwise.
Best,
Original comment by hle...@gmail.com
on 19 Feb 2011 at 3:24
Original comment by hle...@gmail.com
on 26 Feb 2011 at 3:31
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:50
Original issue reported on code.google.com by
hle...@gmail.com
on 19 Feb 2011 at 3:23