Hi Stefano,

It's unfortunately quite painful to find free pricing information for stocks and etf.

I'm using https://www.alphavantage.co/ for some of it, but it got worse lately (the don't have Swiss Traded Stocks/ETF anymore).

What I now did was switch to take the prices from my broker (which provides an api) but this only works with credentials.


For currencies and crypto currencies it's easier as there are more public apis available for that.


My price sources are here https://github.com/tarioch/beancounttools


Regards,

Patrick


On 26.07.2020 10:36, Stefano Zacchiroli wrote:
This announcement by Martin made me look again into bean-price (at the
moment I'm using horrible hand-written scrapers for my bank websites).

What I'd be interested in is (1) a service that allow to fetch prices
based on ISINs (as in:
https://en.wikipedia.org/wiki/International_Securities_Identification_Number
) and (2) a bean-price data source for it.

(2) would be trivial to add, but I haven't found a solution for (1) yet.
It seems that neither Google Finance nor Yahoo Finance offer that
service, although I found that very surprising.

Does anyone know of a (free) service allowing to lookup current prices
by ISIN?

Thanks in advance,
Cheers

On Sat, Jul 25, 2020 at 01:14:36PM -0400, Martin Blais wrote:
Hi,
As discussed prior on this mailing-list, bean-price has now moved away from
the beancount repository to a new repository under the same umbrella
organization:

https://github.com/beancount/beanprice

The code has been removed from beancount/master, yet it lingers in
beancount/v2 (where the plan is to minimize disruption).
All new tickets related to bean-price will be redirected to this new
repository; existing tickets in Beancount will be migrated.

New price sources are welcome into the new repo. Barrier to entry is a bit
lower (since I'm not planning to do all the maintenance work myself),
basically if you can write unit tests for a new price source that call both
the latest and historical functions (without actually making requests to
the network), compliant with the API and the style guide, your new price
source is likely welcome, send a PR. This may be a good time to consolidate
some of your custom price sources into one place if you want.

Note that in terms of code dependencies bean-price still depends on
beancount.ops.find_prices, where routines to enumerate commodities for
price enumeration remain. I plan to keep maintaining code the enumerates
prices required from a Beancount ledger there, as they are purely
processing Beancount directives. If they need to be extended for
bean-price, patches are welcome. I'm not too sure how importing from the v3
Bazel build will work yet, but I've kept the BUILD files for now, as they
will perhaps become necessary when the C++ build becomes the norm there.

Note that the new beanprice repo could be extended to work for Ledger and
HLedger as well; after all, the output is just text to be inserted in one's
ledger file, and only a change of output syntax.

--
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhO98B71fjdp6RmH5z2e9-aSGntrJjnzceSesEkavavurA%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/0255ed13-ce1c-1f78-40d5-239736bbb4fd%40ch.tario.org.

Reply via email to