cmallwitz / Financials-Extension

Extension for LibreOffice Calc to access stock market data
Other
152 stars 21 forks source link

Coinbase and MacOS #67

Closed TheSerapher closed 1 year ago

TheSerapher commented 1 year ago

Hey @cmallwitz,

Since Yahoo had issues again today and figured I'll give it a go and try to add Coinbase Exchange API since that data is also public available.

It works but of course it's very rudimentary since I tried to find out how extensions work to write my own but figured why bother.

Since I am using MacOS I also added some changes to the compile.sh that should allow other MacOS users to run it as well :)

cmallwitz commented 1 year ago

Could you add a test_coinbase.py as well? Nothing complicated - something simple to test the values handled for Coinbase come back with a none empty / none 0.0 value? Thanks!

TheSerapher commented 1 year ago

I'll give it a go :)

TheSerapher commented 1 year ago

I have added something but I can't really test it on MacOS since I am not able to figure out how to get that unohelper python module to work. But it could be expanded on later.

cmallwitz commented 1 year ago

Re: examples.ods - diff-ing binary files is a bit difficult but I can't actually see any changes when I open your version?

TheSerapher commented 1 year ago

Oh my bad! Just added the test file … I’ll add it later when I am awake again.

TheSerapher commented 1 year ago

Struggling to get this document to work with the new symbols - I will take another look soon but so far it just throws weird stuff.

TheSerapher commented 1 year ago

Haven't had the time to look at it further but will push the example - maybe you can make some sense out of it and somehow add the new datasource properly?

cmallwitz commented 1 year ago

Checkout new release version 3.1.0 - Danke!