473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Dealing With Different Currencies?

I'm thinking ISO 4217 as shown on
http://www.xe.com/iso4217.php

Bond trading system.

Users are definitely OK with all of a given security's trades
being restricted to a single currency.

They currently claim to even be ok with all of a given fund or
portfolio's trades being restricted to a single currency -
although my alarms flickered briefly when I heard that one...

What comes to mind:
-------------------------------------------------------------
- Show amounts suffixed by the 3-character ISO 4217 currency code

e.g. 3,002,400.33 USD
10,000,000.00 EUR
9.500,000.00 CAD

- Don't bother trying to format using the currency's symbol
e.g. $30,000.0 would not appear anywhere. Instead,
one would see 30,000 USD.

- When the first trade for a given security is committed, the
currency chosen on that trade's buy ticket determines the
currency for all subsequent trades against that security - or
maybe even for all trades within that fund or portfolio.

- I'm taking it as a matter of faith that now that we're
all in the 21st century, all currencies are going tb decimal.

- When we do reports, we section each report by currency and
don't allow any totals that include multiple currencies.
--------------------------------------------------------------

First problem I see is valuation of a fund whose securities have
been traded in multiple currencies. My initial reaction to that
would be to hope that the user's claim that all the securities in
a given fund will be traded in a single currency proves tb true.

Anybody actually been here and lived with the consequences?

Architecture?

Gotchas?
--
PeteCresswell
--
PeteCresswell
Jun 27 '08 #1
2 2251
"(PeteCresswell)" <x@y.Invalidwrote in
news:6g********************************@4ax.com:
First problem I see is valuation of a fund whose securities have
been traded in multiple currencies. My initial reaction to that
would be to hope that the user's claim that all the securities in
a given fund will be traded in a single currency proves tb true.
If you can come up with some way of getting current exchange rates,
you could at least calculate the value of a mixed-currency fund for
a particular day. There are certainly plenty of websites that offer
currency conversion rates, but you'd need something reliable that
provides a web service that could be consumed by your app.

I really don't see an issue, myself.

This might be one of those cases where you'd want to store
conversion rate on a particular date so that you'd have historical
valuation.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jun 27 '08 #2
On 19 Apr 2008 18:40:56 GMT, "David W. Fenton"
<XX*******@dfenton.com.invalidwrote:

That's pretty much exactly what we are doing for a US client that
operates worldwide and may get partial payments in several currencies
for the same job.
We subscribe to a webservice which we call once a day and store the
currencies in a table.
When a payment is received we convert to USD and record the conversion
rate used (there may not be one on that day, so a business rule will
get the most appropriate rate).

-Tom.
>"(PeteCresswell)" <x@y.Invalidwrote in
news:6g********************************@4ax.com :
>First problem I see is valuation of a fund whose securities have
been traded in multiple currencies. My initial reaction to that
would be to hope that the user's claim that all the securities in
a given fund will be traded in a single currency proves tb true.

If you can come up with some way of getting current exchange rates,
you could at least calculate the value of a mixed-currency fund for
a particular day. There are certainly plenty of websites that offer
currency conversion rates, but you'd need something reliable that
provides a web service that could be consumed by your app.

I really don't see an issue, myself.

This might be one of those cases where you'd want to store
conversion rate on a particular date so that you'd have historical
valuation.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tom Willis | last post by:
How are the expert pythoneers dealing with config files? Is there anything similair to .net's config files or java's .properties? A quick search on google didn't return anything that looked...
2
by: techy techno | last post by:
hii Experts..!! I need someone to tell me where I can get a Currency Converter like http://cconv.textor.com please can someone tell me where I can get it I need it for free + I dont need...
2
by: malcolm | last post by:
Hello, We have a robust (.NET 1.1 c# winforms) client-server application that utilizes many typed DataSets, typed DataTables and typed DataRows. Our application is a series of windows and popup...
0
by: Billy | last post by:
Hi I'm really having a hard time dealing with dialog box under asp.net. I'm trying to create a function that will register some javascript that ask a question to the user, using the confirm()...
19
by: Linda | last post by:
In classic ASP I used to have a file called settings.asp included on every page of my web, it consisted of a number of different settings unique to this application, among them the database path...
3
by: RC | last post by:
Let's say: if (XMLHttpRequestObject.readyState == 4 && XMLHttpRequestObject.status == 200) { // Now I got an XML object here var xmlDocument = XMLHttpRequestObject.responseXML; // next I have...
1
by: =?Utf-8?B?Y2Fyb2xl?= | last post by:
we have petty cash in different currencies... we used petty cash before with 3 currencies with QB - someone an idea how we could use it in the business accounting (we use microsoft accounting pro...
16
by: pereges | last post by:
ok so i have written a program in C where I am dealing with huge data(millions and lots of iterations involved) and for some reason the screen tends to freeze and I get no output every time I...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Programs dealing with autoruns Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list programs that help me to view/modify the autoruns...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.