Currency Units plugin - Add currencies and real-time exchange rates in SMath Studio. - Сообщения
Here there is a plugin to have currencies and exchange rates in SMath Studio.
Infos:
- extension's page: http://smath.info/view/CurrencyUnits;
- requirements: SMath Studio 0.98.6047 or later (latest update);
- installation: SMath Studio: Tools > Plugins... > Online Gallery;
- sources: SVN repository;
- UI languages:
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);
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
![2013-12-17 02_08_46-SMath Studio Desktop - [Page1_].png](/ru-RU/files/Download/RZDwoz/2013-12-17-02_08_46-SMath-Studio-Desktop---[Page1_].png)
WroteNice work, Davide. However, does not work with , as decimal separator.
Thank you Martin, try with the update

325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteBetter 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

WroteUnfortunately Davide, this does not work for me (Win7 x64). Plugin refuses to install properly.


325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteThe 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

WroteFailed again
Here is the log file
Regards,
Radovan
I've made another little modification, could you try again?
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator
WroteIt 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
325 сообщений из 2 052 понравились и 1 не понравились пользователям.
Группа: Moderator

WroteBetter 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.
- 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).

- checks for network availability before each ECB update attempt;
- LOG tools updated (session start is no longer registered)
- NetTest() removed.
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-3559
- [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;
- 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;
-
Новые сообщения
-
Нет новых сообщений