Forum

Free Download More Info
Welcome to the Personal Stock Streamer Developers Forum. Anyone can read messages, but you must be a registered user in order to post. (Sorry, we did this in order to prevent forum spam.)

Everyone who is registered for the Developers Forum on this site should now also have permission to log in and post to the Support Forum.  This was done by hand, so we may have missed a couple of people.  Please let us know if you do not have access to both forums.
Subscribe to RSS Feed
PSS Developers Forum -> Default Currency
Not logged in.
2009-12-07 11:45:28
1 of 6
#1553
Is there a way to determine/retrive the Default currency via the object model? Thanks
Posted by: ew
2009-12-07 11:54:26
2 of 6
#1554
in reply to #1553
Do you mean the display currency or the quote currency for the ticker object?
Anatoly Ivasyuk
DTLink Software
2009-12-07 12:03:50
3 of 6
#1555
in reply to #1554
Both would be nice. From the transaction object, when default currency is used for the quote, the value of the currency property is empty
Posted by: ew
2009-12-07 12:11:21
4 of 6
#1556
in reply to #1555
You can get the value of the quote currency as the Currency property for the ticker, which is the parent of the transaction object.

As for the display currency, that is a little more complicated because it can be set at either the account tab or global level. Right now neither of these is available in the object model, but it would be easy enough to add for the next update.
Anatoly Ivasyuk
DTLink Software
2009-12-07 12:39:04
5 of 6
#1557
in reply to #1556
I'll give it a test, but just so I'm clear, if the the Ticker quote currency is the same as that of the global settings, it will contain the name of the quote currency rather than [Default] or be empty?
Posted by: ew
2009-12-07 13:02:02
6 of 6
#1558
in reply to #1557
It will be blank if it has not explicitly been set. If that is the case then you can only assume that it is the same as the global display currency. Keep in mind that there is no requirement that the global currency be set either, so that can be blank as well.
Anatoly Ivasyuk
DTLink Software