FIFO mode for Stock Sell

2020-07-27 Thread Ghanashyam Prabhu
I have the following in my beancount file. However it seems like I will always have to indicate sell transactions against an buy lot by filling in the exact price that lot was bought at. Doesn't bean count support FIFO mode where whenever there is a SELL transaction beancount figures the lot th

Re: FIFO mode for Stock Sell

2020-07-27 Thread Ghanashyam Prabhu
; Regards, > > Patrick > > > > On 27.07.2020 17:21, Ghanashyam Prabhu wrote: > > I have the following in my beancount file. However it seems like I will > always have to indicate sell transactions against an buy lot by filling in > the exact price that lot was

Re: FIFO mode for Stock Sell

2020-07-27 Thread Ghanashyam Prabhu
Wonderful, that worked like a charm. Silly me, should have attempted the github doc search. I was using a Google Search and then the results somehow pointed to 404 on the docs. On Mon, 27 Jul 2020 at 10:51, Red S wrote: > You might find it much faster to do a quick search in the docs, which are

Re: importer for indian broker zerodha

2020-08-09 Thread Ghanashyam Prabhu
Wow! I started working on the exact same thing yesterday, guess going to finish that anyway since it provides me for some learning experience with python. Thanks Anand for the reference, probably will end up using your importer :=) On Sun, 9 Aug 2020 at 12:45, kprab...@gmail.com wrote: > > Dear

Re: bean-price --update feature

2020-12-19 Thread Ghanashyam Prabhu
Hi Vivek, Do you have this update? The bitbucket link is not available anymore. Curious if this feature was ever reviewed and accepted, seems like a very good feature On Sunday, 19 January 2020 at 21:33:06 UTC-8 vive...@gmail.com wrote: > Hi Andrzej! Nice to hear you're interested in the price

Re: bean-price --update feature

2021-01-10 Thread Ghanashyam Prabhu
Apologies for the trivial question. I re-installed the latest beancount and beanprice from the repository using sudo pip3 install git+https://github.com/beancount/beancount#egg=beancount sudo pip3 install git+https://github.com/beancount/beanprice#egg=beanprice With this I do see --update-rate sw

Re: bean-price --update feature

2021-01-10 Thread Ghanashyam Prabhu
Hi Vivek, I am currently exploring beancount to track an investment portfolio. In this example, I want to track buy/sell transactions of BTC from Coinbase. I exactly do not understand the various switches that beanprice utility provides. I plan to use bean price to populate a prices.db file which

Re: bean-price --update feature

2021-01-10 Thread Ghanashyam Prabhu
And yes I mean to say --date here, was a typo > bean-price --update --update-rate daily --data 2020-10-26 -e > USD:coinbase/BTC-USD On Sun, 10 Jan 2021 at 20:23, Ghanashyam Prabhu wrote: > Hi Vivek, I am currently exploring beancount to track an investment > portfolio. In thi

Re: bean-price --update feature

2021-01-16 Thread Ghanashyam Prabhu
Thanks Vivek for the details. I used the bean-price --update btc-price.beancount and it works well As a reference I also want to update the btc-price.beancount file contents here. ; -*- mode: org; mode: beancount; coding: utf-8; fill-column: 120 > * Options > option "title" "crypto pf ledger" > o

Recommendation on beancount for Crypto transactions

2021-01-18 Thread Ghanashyam Prabhu
I am currently maintaining a beancount ledger file for tracking my crypto transactions and I'd like to seek advice on the workflow especially when recording capital gains from these transactions. Below is an example. Let's say I accumulated some BTC at some cost basis of 3500 and have a capita

Requesting recommendation for tracking capital gains

2021-01-18 Thread Ghanashyam Prabhu
I am currently maintaining a beancount ledger file for tracking my crypto transactions and I'd like to seek advice on the workflow especially when recording capital gains from these transactions. Below is an example. Let's say I accumulated some BTC at some cost basis of 3500 and have a capita

Re: How to transfer lots between accounts and how to query lot information?

2021-01-18 Thread Ghanashyam Prabhu
I had a similar use case here and ended up using the plugin to report the transactions and then copied them manually into the transfer posting This is my entries list. However I see that when I run bean-check (v2), it errors out with an error No position matches "Posting(account='Assets:US:Cryp

Re: How to transfer lots between accounts and how to query lot information?

2021-01-18 Thread Ghanashyam Prabhu
, flag=None, meta={file} against balance (0.29738506 BTC) Ghanashyam On Mon, 18 Jan 2021 at 18:57, Martin Blais wrote: > This looks all wrong, see other thread. > To buy BTC at Coinbase, the money all comes from your Coinbase:Cash > account. > Transfers from your bank are separate tran

Re: Requesting recommendation for tracking capital gains

2021-01-18 Thread Ghanashyam Prabhu
Got it, I have updated the changes. I now understand the capital gains recording concept. On Mon, 18 Jan 2021 at 18:55, Martin Blais wrote: > On Mon, Jan 18, 2021 at 7:23 PM Ghanashyam Prabhu > wrote: > >> I am currently maintaining a beancount ledger file for tra

Re: How to transfer lots between accounts and how to query lot information?

2021-01-18 Thread Ghanashyam Prabhu
uot;Transfer BTC from Coinbase to CoinbasePro" #transfer > Assets:US:Crypto:Coinbase:BTC -0.29738506 BTC {} > Assets:US:Crypto:CoinbasePro:BTC0.29738506 BTC {} > > But really what you likely actually want is to recreate all the original > lots, just in

Re: How to transfer lots between accounts and how to query lot information?

2021-01-18 Thread Ghanashyam Prabhu
act match is required. I have a pull request open >> <https://github.com/beancount/beancount/pull/589> that would've made >> this work as you expected it to. Note, I don't know if Martin agrees with >> me that lot matching should accept small variations, so that pull

Re: How to transfer lots between accounts and how to query lot information?

2021-01-19 Thread Ghanashyam Prabhu
attached to it. > > Please review the docs provided in earlier replies, I think they will help > you if you take the time to grok them fully. > > > > On Mon, Jan 18, 2021 at 10:12 PM Ghanashyam Prabhu > wrote: > >> I did note the precision from the error message &g

Recording Transaction Fees

2021-01-22 Thread Ghanashyam Prabhu
For crypto taxation, the cost basis is calculated along cost of the crypto inclusive of the exchange fees. Consider the following transaction recorded by an exchange. 2020-10-25 * "Coinbase" "Buy BTC at Coinbase" Assets:US:Crypto:Coinbase:BTC 0.03683173 BTC {13575.25 USD, 2020-10-2

beanprice: Error Trim end date is before start date

2021-01-30 Thread Ghanashyam Prabhu
I see this error recently when I run beanprice --update --update-rate=daily on my beancount file. I don't recollect changing much on my beancount file. Below is the error message. What does 'Trim end date is before start date' error indicate? Traceback (most recent call last): File "/usr/lo

beanprice Error: Trim end date is before start date

2021-01-30 Thread Ghanashyam Prabhu
I see this error recently when I run beanprice --update --update-rate=daily on my beancount file. I don't recollect changing much on my beancount file. Below is the error message. What does 'Trim end date is before start date' error indicate? Traceback (most recent call last): File "/usr/lo

Re: beanprice Error: Trim end date is before start date

2021-01-31 Thread Ghanashyam Prabhu
er when I moved the repo. > A test is still missing: > > https://github.com/beancount/beanprice/commit/b2685fea866a8696f9d5c25e851d30b62d6a02a2 > > > On Sat, Jan 30, 2021 at 5:29 PM Ghanashyam Prabhu > wrote: > >> I see this error recently when I run beanprice --upda

Re: How to activate Beancount mode in Emacs?

2021-02-19 Thread Ghanashyam Prabhu
You may create the init.el or .emacs file may be created in your Linux home directory or .emacs.d directory. Emacs automatically searches for the init.el or .emacs file in these directories. I have the following added to my init.el file, you may refer this to enable beancount-mode in Emacs ;; bea

Beangulp

2022-11-25 Thread Ghanashyam Prabhu
Hello, I am trying to write a simple importer (referring to reds_beancount_importers), but I hit the strange error with file handling. I am beginner in python and would appreciate some help in debugging the error. Following is some information. Below is the importer code ''' Example importer

Re: Tracking Shared expenses

2025-04-21 Thread Ghanashyam Prabhu
s article yet? > > https://beancount.github.io/docs/sharing_expenses_with_beancount.html > > Justin > > On Mon, Apr 21, 2025 at 9:30 AM Ghanashyam Prabhu > wrote: > >> Are there any examples on this? Looking to have something like a >> Splitwise workflow to tra

Re: Tracking Shared expenses

2025-04-21 Thread Ghanashyam Prabhu
ables?) On Mon, Apr 21, 2025, 7:56 AM Ghanashyam Prabhu mailto:gpio@gmail.com>> wrote: Hello, Seems like beancount_share plugin worked well with Beancount v2 but isn't compatible with Beancount_v3? What are the options to track shared expenses on Beancount v3? Thanks, Ghanashyam

Tracking Shared expenses

2025-04-21 Thread Ghanashyam Prabhu
Hello, Seems like beancount_share plugin worked well with Beancount v2 but isn't compatible with Beancount_v3? What are the options to track shared expenses on Beancount v3? Thanks, Ghanashyam -- You received this message because you are subscribed to the Google Groups "Beancount" group. T