I am adding my crypto tx history manually to my bean-file and am wondering
about how to send from one wallet to another by respecting the cost basis.
example:
2020-01-01 * "send eth from wallet a to b"
Assets:Crypto:WalletA -1.00 ETH {} ;bean fetches cost basis
Assets:Crypto:WalletB1.00 ET
wouldn't it be correct to add the transaction costs in its own account into
the transaction, and thereby beancount is able to list the fees separately?
compared to my example from above I would have to add one line:
2018-01-01 * "Send 1.5 ETH & 0.05 ETH gas"
Assets:Crypto:ETH -1.5 ETH {} ;;
Beancount won't be able to work out the booking automatically this way, too
many unknown numbers to fill in.
On Sat, Apr 10, 2021 at 10:08 AM david e wrote:
> wouldn't it be correct to add the transaction costs in its own account
> into the transaction, and thereby beancount is able to list the
but it doesn't return an error and compared to my manual calculation the
amount for PnL seems correct.
I guess you mean beancount isn't able to divide the PnL for each accounts,
only the sum to match the entries?
bl...@furius.ca schrieb am Samstag, 10. April 2021 um 16:13:47 UTC+2:
> Beancount
It doesn't do that for you.
It can book against the existing lots (e.g. with FIFO) but on the opening
side (WalletB) it won't know to fill in the corresponding average cost
basis.
If you do this a lot, you'll have to automate with a script.
I think eventually some features need to be built for use
I see, thanks!
bl...@furius.ca schrieb am Samstag, 10. April 2021 um 16:19:50 UTC+2:
> It doesn't do that for you.
> It can book against the existing lots (e.g. with FIFO) but on the opening
> side (WalletB) it won't know to fill in the corresponding average cost
> basis.
> If you do this a lot
No I though the two separate {} could not be booked. I don't remember.
I don't remember what I did, look at file booking_full.py for details.
On Sat, Apr 10, 2021 at 10:19 AM david e wrote:
> but it doesn't return an error and compared to my manual calculation the
> amount for PnL seems correc
There were several recent threads on this subject that go into more
details. I'm on mobile or I'd give you a link.
On Sat, Apr 10, 2021, 07:24 david e wrote:
> I see, thanks!
>
> bl...@furius.ca schrieb am Samstag, 10. April 2021 um 16:19:50 UTC+2:
>
>> It doesn't do that for you.
>> It can book
On Sat, Nov 07, 2020 at 12:29:37AM +0100, Daniele Nicolodi wrote:
> For example, OANDA https://www1.oanda.com and fxtop https://fxtop.com/
> have web data sources that could be easily scraped for data.
At the time this thread started, I was using
https://exchangeratesapi.io/ which Martin (M.) also
>
> If in the meantime others have found viable alternatives, please shout!
>
>
How about the fx rates from European Central Bank?
https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html
XML interface, historic rates, etc. are available.
Uwe
--
I've shared an item with you:
Beancount - Symbology
https://docs.google.com/document/d/1_52VhapAuR-ej4yB8rFovA8MyMmF8IOcqO44apsdtKU/edit?usp=sharing&ts=6071c917
It's not an attachment -- it's stored online. To open this item, just click
the link above.
A quick note on the symbol conventions
Hi,
you can use https://ratesapi.io/ same api as exchangeratesapi before,
simply switching the host is enough.
Besides that, https://www.alphavantage.co/ free tier works also pretty
well. Price fetchers available at https://github.com/tarioch/beancounttools
Regards,
Patrick
On 10.04.
On Sat, Apr 10, 2021 at 05:52:41PM +0200, 'Patrick Ruckstuhl' via Beancount
wrote:
> you can use https://ratesapi.io/ same api as exchangeratesapi before, simply
> switching the host is enough.
>
> Besides that, https://www.alphavantage.co/ free tier works also pretty well.
> Price fetchers avail
On 10/04/2021 17:25, Uwe Ziegenhagen wrote:
>
>
> If in the meantime others have found viable alternatives, please shout!
>
>
> How about the fx rates from European Central Bank?
>
> https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html
14 matches
Mail list logo