Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Hi all, Here there is a plugin to have currencies and exchange rates in SMath Studio. Infos: Functions: - SetCurrencyUnits(1), SetCurrencyUnits(2): extends SMath Studio with currency units. When an internet connection is available, exchange rates are kept updated using the ECB reference rates (internet connection not required but useful);
Quote:The reference rates are usually updated by 3 p.m. C.E.T. They are based on a regular daily concertation procedure between central banks across Europe and worldwide, which normally takes place at 2.15 p.m. CET.
-
GetYahooExchangeRate(2): get a wide set of exchange rates from Yahoo Finance (internet connection required); service discontinued by Yahoo
>>> PLEASE REPORT IN THIS TOPIC ANY ISSUE, MORE DETAILED AS POSSIBLE <<< Edited by user 24 October 2018 02:07:23(UTC)
| Reason: description updated File Attachment(s): Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
3 users thanked Davide Carpi for this useful post.
|
on 17/12/2013(UTC), on 18/12/2013(UTC), on 18/12/2013(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
Nice work, Davide. However, does not work with , as decimal separator. |
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: mkraska Nice work, Davide. However, does not work with , as decimal separator. Thank you Martin, try with the update |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
Better now, but still no connectivity. I guess that is sort of firewall or proxy issue. |
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Unfortunately Davide, this does not work for me (Win7 x64). Plugin refuses to install properly. Regards, Radovan omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
ok... as for now the password is: TESTOriginally Posted by: mkraska Better now, but still no connectivity. I guess that is sort of firewall or proxy issue. Try again, I've made some changes... If doesn't work try NetTest(0) and NetTest(1) and post a screenshot Originally Posted by: omorr Unfortunately Davide, this does not work for me (Win7 x64). Plugin refuses to install properly. very strange... try again with this update; if doens't work got to %APPDATA%\SMath\Debug\CurrencyUnits and post the log file |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
The results were overly wide, thus i cut them. mkraska attached the following image(s): |
|
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Failed again Here is the log file Regards, Radovan File Attachment(s): log.txt (2kb) downloaded 53 time(s). |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: mkraska The results were overly wide, thus i cut them. seems a proxy/firewall authorization problem... I suppose that NetTest("http://www.google.com" and NetTest("http://www.google.de" will produce the same results Originally Posted by: omorr Failed again
Here is the log file
Regards, Radovan I've made another little modification, could you try again? |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
It seems that this plugin is not going to install into the Martins' unofficial build. I figured out by the second line of the log file. I tried it on the official one and it seems to be Ok Regards, Radovan File Attachment(s): log.txt (12kb) downloaded 47 time(s). omorr attached the following image(s): |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
1 user thanked omorr for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
Originally Posted by: omorr It seems that this plugin is not going to install into the Martins' unofficial build. I figured out by the second line of the log file. I tried it on the official one and it seems to be Ok
Regards, Radovan thank you Radovan, now I understand the plugin looks for the files in the %APPDATA% folder, I'll try to fix it [EDIT] UPDATED: this version should work properly both in the official and the unofficial versions Edited by user 17 December 2013 21:41:45(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Yes it works, thank you |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
Originally Posted by: mkraska Better now, but still no connectivity. I guess that is sort of firewall or proxy issue. In our school LAN, the connectivity is broken, at home web access works (official and unofficial version). I shall include the plugin in the next release of the inofficial distribution. |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
UPDATED- error handling: LOGs will be placed in the relative "extensions\debug\CurrencyUnits" folder (so the portable version has a portable debug path) - For developers only: added a log tool to output a Term[] tree representation (see the CurrencyUnits Implementer.cs). Davide Carpi attached the following image(s): |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
UPDATED
- checks for network availability before each ECB update attempt; - LOG tools updated (session start is no longer registered) - NetTest() removed. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 2,023 Was thanked: 1153 time(s) in 739 post(s)
|
The yahoo download service for exchange rates has been discontinued. See their forum post. Therefore, the function GetYahooExchangeRate() reports that the remote name could not be resolved. I recommend to adjust the error message to "Service discontinued by Yahoo. Use function .... instead." Perhaps some other source is available in replacement. However, I would not push this, because I rarely use it. Just cleaning up documentation. Edit: filed as SS-3559Edited by user 05 September 2018 13:33:24(UTC)
| Reason: Not specified |
|
1 user thanked mkraska for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
PLUGIN UPDATED SMath Studio 0.99.6839 and later- [SS-3560] restored unit as input argument in SetCurrencyUnits();
- [SS-3559] since Yahoo service is discontinued now GetYahooExchangeRate() is hidden in the dynamic assistance and returns directly an error message if called;
|
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,690 Location: Italy Was thanked: 1368 time(s) in 895 post(s)
|
PLUGIN UPDATED SMath Studio 0.99.7739 Nightly Build and later- added Currency units (symbols) toolbox;
NOTE: - symbols are sorted by unicode code;
- symbols are subject to font implementation;
- these are decorative symbols; you have to define yourself exchange rates on the worksheet to mix them;
Edited by user 27 March 2021 18:50:47(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.