Registered Member
|
Hello,
I was trying to track EURIBOR evolution, and since I didn't see a plug-in available, I created a small script to do it. It works fine, but ... I created an UNIT called 'Euribor-3M' (for the three months index), I set the unit as 'index' and tried to download the values, and I got this:
But the thing is that the index is negative indeed, and it can be. So, how can I workaround this? And ... what's the difference from Skrooge point of view between 'index' and 'share' for example? In case it helps, this is the output of the script execution:
And by the way, equivalent error when I try to add manually the value:
Thanks |
Moderator
|
Hi JesusM,
I can do a code change to remove this constrain but you will have it only in the next version. Do you agree with that ? |
Registered Member
|
I am on 'current' version all the time, cloning with git and compiling when there is any change, so that is a perfect solution for me. By the way, now that you are gonna change it ... the error message always says 'currency' when it actually can be shares, currencies, index, etc. Thanks a lot! |
Moderator
|
|
Registered Member
|
It's not working for me.
Due the requirement to get positive numbers, the script I use to download the Euribor rates had a workaround as easy as adding an offset:
Now, I remove the workaround by commenting that line, and executing the script from CLI:
Apparently everything fine, but as soon as I try to download the unit from Skrooge I get this error:
I get the same error if I try to update the value manually in Skrooge (not downloading but adding the value) Could it be the database is defined to have only positive values in that field? Thanks |
Moderator
|
I did a new commit.
Should be good now. |
Registered Member
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]