Changing sign for Income on Fava

2019-11-09 Thread Toby
hi,
I am usually using ledger but I have recently decided to try 
beancount(along with Fava; which I think has a really cool GUI). 

Is it possible to change the Income symbol from - to a + for visual 
representation in Fava?

Hope this makes sense?

Thanks

-- 
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/2af2c9e7-80e2-492b-9522-76f9aacb3fa4%40googlegroups.com.


Re: Changing sign for Income on Fava

2019-11-10 Thread Toby
Agreed...Someone should make this an option :)
It will definitely make the UI more useful for a lot of the users . 




On Sunday, November 10, 2019 at 2:17:00 AM UTC+7, Martin Blais wrote:
>
> I don't know if Fava can do it but it could be a useful option. 
>
> Basically invert all the signs for numbers associated with Income, 
> Liabilities and Equity, at the time of display. 
>
>
>
>
> On Sat, Nov 9, 2019 at 1:56 PM Toby > 
> wrote: 
> > 
> > hi, 
> > I am usually using ledger but I have recently decided to try 
> beancount(along with Fava; which I think has a really cool GUI). 
> > 
> > Is it possible to change the Income symbol from - to a + for visual 
> representation in Fava? 
> > 
> > Hope this makes sense? 
> > 
> > Thanks 
> > 
> > -- 
> > 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 bean...@googlegroups.com . 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/2af2c9e7-80e2-492b-9522-76f9aacb3fa4%40googlegroups.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/947f158b-9718-4311-bd3c-10f9a23b8b66%40googlegroups.com.


Currency Conversion Not Working [Advise Needed] on Fava

2019-11-14 Thread Toby
Hi,

How do you usually denote currency in beancount?

I usually have either one of these but its seems like Fava doesn't 
represent these data in conversion (ie. EUR to USD) . Its always in a 
separate line/graph( hence a line for EUR and a line for USD). 

This is the format I usually use. 

2019-06-14 * " Food with friends "
  Expenses:Food:KFC
  Assets:Cash   -3 USD @ 1.5 EUR


2019-06-14 * " Food with friends "
  Expenses:Food:KFC
  Assets:Cash   -3 USD {1.5 EUR}


However if I put them in as price with date as in (2017-03-01 price USD 1.5 
EUR) it works fine (the conversion works and there is one line graph)

Does someone have any advise on this?

Thanks!

-- 
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/fbf1ccdd-75ea-4252-ba0b-aac45b764ed0%40googlegroups.com.


Tab Completion for Vim?

2020-03-07 Thread Toby
Hi,

I am just curious to know if there is a tab completion for Vim as there is 
for Emacs. 
Also curious to know if there is a functionality like 
company(autocompletion) for Vim. 

Thanks
Toby


-- 
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/813c1a0a-5886-4f19-86df-e1fb5577cc1f%40googlegroups.com.


Re: Tab Completion for Vim?

2020-03-08 Thread Toby
Why was my message deleted?

On Sunday, March 8, 2020 at 6:39:01 AM UTC+7, Red S wrote:
>
> Yes. https://github.com/nathangrigg/vim-beancount
>
> What does company do?
>
> On Saturday, March 7, 2020 at 9:34:08 AM UTC-8, Toby wrote:
>>
>> Hi,
>>
>> I am just curious to know if there is a tab completion for Vim as there 
>> is for Emacs. 
>> Also curious to know if there is a functionality like 
>> company(autocompletion) for Vim. 
>>
>> Thanks
>> Toby
>>
>>
>>

-- 
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/8f80b92a-d590-4b11-97a9-9efc055d1586%40googlegroups.com.


Deleting Messages without Explaning a Reason

2020-03-08 Thread Toby
Hi,
I am curious to know why are my messages being deleted without being given 
an explanation.
All I am trying to do is have a productive discussion here about features 
between different text editors.
I'd like an explanation for this.
Thanks

-- 
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/7e65615b-e233-49b8-b630-7191adbb9f54%40googlegroups.com.


Re: Tab Completion for Vim?

2020-03-08 Thread Toby
Hi,
Does vim-beancount complete by pressing Tab or is this the Ctrl-X, Ctrl-O 
way?

Company (or its called company-mode) automatically comes up with the entire 
account just on the keywords. Let me give you an example.

Lets say you type in McDon it will give you the entire account in the 
prediction as follows :-
Expenses:Food:McDonald 

You select it and you don't even have to type Expenses:Food.  Its a real 
time saver in my opinion and something vim users would want.

Screenshot : https://imgur.com/a/VBKCx7b

Let me know what you think of it. 

Thanks




On Sunday, March 8, 2020 at 6:39:01 AM UTC+7, Red S wrote:
>
> Yes. https://github.com/nathangrigg/vim-beancount
>
> What does company do?
>
> On Saturday, March 7, 2020 at 9:34:08 AM UTC-8, Toby wrote:
>>
>> Hi,
>>
>> I am just curious to know if there is a tab completion for Vim as there 
>> is for Emacs. 
>> Also curious to know if there is a functionality like 
>> company(autocompletion) for Vim. 
>>
>> Thanks
>> Toby
>>
>>
>>

-- 
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/03e9611c-2c83-4839-887a-5652fd78d59c%40googlegroups.com.


Re: Deleting Messages without Explaning a Reason

2020-03-08 Thread Toby
Ah. I see I didn't know messages were being checked for spam on Google 
Groups. Many thanks for adding me to the white list and deeply appreciate 
it. 
Lastly my sincere apologies for any inconvenience/distress caused by my 
previous message. I was just a little confused.
Thanks 





On Sunday, March 8, 2020 at 10:17:26 PM UTC+7, Martin Blais wrote:
>
> Your message had been flagged as spam by google groups (not sure why), and 
> it takes me a few days to manually review those after the mailing-list 
> software sends me a notice about it. I whitelisted your email now, 
> shouldn't happen again for you.
>
> On Sun, Mar 8, 2020 at 5:31 AM Toby > 
> wrote:
>
>> Hi,
>> I am curious to know why are my messages being deleted without being 
>> given an explanation.
>> All I am trying to do is have a productive discussion here about features 
>> between different text editors.
>> I'd like an explanation for this.
>> Thanks
>>
>> -- 
>> 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 bean...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/7e65615b-e233-49b8-b630-7191adbb9f54%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/7e65615b-e233-49b8-b630-7191adbb9f54%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/e1f5a1b4-7a4e-4480-88cb-4c3568cfdff5%40googlegroups.com.


Getting Output in Percentage Value (Fava)

2021-06-17 Thread Toby
Hi,
I am just curious to know if its possible to get output in percentage 
values. 
In Ledger it was possible to -% and get outputs in percentage.
Is there such a feature available for Fava? Or on Beancount? 
Thanks!

-- 
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/7943092c-cd14-47e7-abcc-74cb3d741363n%40googlegroups.com.


Filter / Restrict Account Category

2021-08-23 Thread Toby
Hi, 
I am having a little difficulty with trying to get Beancount to filter out 
an account sub-category. Its adding it to the total and I would like to 
restrict/filter the account. 

Is there anyway to do this on Beancount?  I have tried using the '-' 
function with little success as shown here:-

https://fava.pythonanywhere.com/example-beancount-file/help/filters/

Any ideas?


-- 
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/cdacd4d1-99a0-4d80-9ca2-0dd342c8d554n%40googlegroups.com.


Re: Filter / Restrict Account Category

2021-08-23 Thread Toby
Hi,
I have made some headway with matching the entries using the filter but not 
exactly.
It still includes related entries (ie. counter-accounts).
Is there anyway to filter out the counter-accounts? 
Thanks



On Tuesday, August 24, 2021 at 1:46:45 AM UTC+7 Toby wrote:

> Hi, 
> I am having a little difficulty with trying to get Beancount to filter out 
> an account sub-category. Its adding it to the total and I would like to 
> restrict/filter the account. 
>
> Is there anyway to do this on Beancount?  I have tried using the '-' 
> function with little success as shown here:-
>
> https://fava.pythonanywhere.com/example-beancount-file/help/filters/
>
> Any ideas?
>
>
>

-- 
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/eca65bae-a427-473b-bbef-c7b3229ed66cn%40googlegroups.com.


Re: Filter / Restrict Account Category

2021-08-23 Thread Toby
Hi,
Sounds like a good idea.
So below is what I get when I use the filter   any(account:David)   :-

 Assets 
AccountRecievable 
David10.00 
Cash 10.00  
 
Liabilities 
AccountPayable 
David20.00  

What I want is David without the Cash account as follows:-

Assets 
AccountRecievable 
David10.00 
 
Liabilities
AccountPayable 
David20.00  


Any ideas on how to filter it so I can get the Cash account removed from 
the result? 

Thanks









On Tuesday, August 24, 2021 at 2:29:03 AM UTC+7 b...@bben.us wrote:

> It would be easier to help if you give us queries and tell us what you 
> want the output to be instead.
>
> On Mon, Aug 23, 2021 at 12:22 PM Toby  wrote:
>
>> Hi,
>> I have made some headway with matching the entries using the filter but 
>> not exactly.
>> It still includes related entries (ie. counter-accounts).
>> Is there anyway to filter out the counter-accounts? 
>> Thanks
>>
>>
>>
>> On Tuesday, August 24, 2021 at 1:46:45 AM UTC+7 Toby wrote:
>>
>>> Hi, 
>>> I am having a little difficulty with trying to get Beancount to filter 
>>> out an account sub-category. Its adding it to the total and I would like to 
>>> restrict/filter the account. 
>>>
>>> Is there anyway to do this on Beancount?  I have tried using the '-' 
>>> function with little success as shown here:-
>>>
>>> https://fava.pythonanywhere.com/example-beancount-file/help/filters/
>>>
>>> Any ideas?
>>>
>>>
>>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/eca65bae-a427-473b-bbef-c7b3229ed66cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/eca65bae-a427-473b-bbef-c7b3229ed66cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/a52b7220-7c6e-4f40-a32a-e7aa7068d557n%40googlegroups.com.


Equivelent of not command in Beancount / Fava

2021-08-25 Thread Toby
Hi 
 Is there an equivalent command of 'not' in Beancount. hledger has not: 
function to filter accounts. 
Ledger also has something similar. Does Fava (or Beancount) have something 
similar? 
 
Also I am trying to use the commodity function but I am struggling to find 
a way to increase a price of a commodity. Is Beancount suitable for this ?  
 
Following is an example:- 
 
2021-01-01 * "Purchase Apple 10 Apples for 1.50 USD "  
   Assets:Inventory:Apple   10 Apple @ 1.50 USD; 
   Assets:Cash 
  
2021-01-01 * "Cash Transaction for the Apple" 
  Expenses:Cash  15.00 
  Assets:Cash 
 
 
Suppose I wanted to increase the price of the Apple. How would I go about 
doing so? 
For example if I paid 5.00 USD for Fuel and wanted to factor that in to the 
inventory price. 
 
Is it possible to do this on Beancount?

Thanks

-- 
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/29436d55-a2c1-4372-a64c-60ea75a7ea76n%40googlegroups.com.


Price Conversion of Commodities

2021-08-27 Thread Toby
Hi,
Is this possible on Beancount? I am trying to convert commodities prices.

2021-01-01 * "Purchase 3 Apple"
   Assets:Inventory:Apple 3 Apple @@ 15 USD   ;5 USD per Apple. 
   Assets:Cash 

I want to know the price of the apples in EUR.

2021-02-01 price EUR 1.50 USD  ; hypothetical example. 

It doesn't convert. Is this possible to do on Beancount?
I  also tried it with the plugin "beancount.plugins.implicit_prices" and it 
doesn't seem to convert the values to EUR. 

Thanks


-- 
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/718c8283-1c34-4bcf-9eff-5b0f7083b38an%40googlegroups.com.


Re: Price Conversion of Commodities

2021-08-27 Thread Toby
Hi Patrick,
Nice! Appreciate the plugin. The plugin seems to work flawlessly and its 
exactly what I was looking for. 
Thank You,

On Saturday, August 28, 2021 at 1:19:41 AM UTC+7 pat...@ch.tario.org wrote:

> Hi,
>
> There's no out of the box conversion of prices in different currencies. 
>
> I created a plugin that will automatically generate commodity prices based 
> on fx
>
> https://github.com/tarioch/beancounttools
>
> e.g. 
>
> plugin "tariochbctools.plugins.generate_base_ccy_prices" "CHF"
>
> If your commodity is priced in EUR and you have an exchange rate EUR -> 
> CHF, then this will also add commodity prices in CHF.
>
> There's also some possibilities to do conversions when doing the query.
>
>
> Regards,
>
> Patrick
>
>
> On 27.08.2021 18:53, Toby wrote:
>
> Hi,
> Is this possible on Beancount? I am trying to convert commodities prices.
>
> 2021-01-01 * "Purchase 3 Apple"
>Assets:Inventory:Apple 3 Apple @@ 15 USD   ;5 USD per Apple. 
>Assets:Cash 
>
> I want to know the price of the apples in EUR.
>
> 2021-02-01 price EUR 1.50 USD  ; hypothetical example. 
>
> It doesn't convert. Is this possible to do on Beancount?
> I  also tried it with the plugin "beancount.plugins.implicit_prices" and 
> it doesn't seem to convert the values to EUR. 
>
> Thanks
>
>
> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beancount/718c8283-1c34-4bcf-9eff-5b0f7083b38an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beancount/718c8283-1c34-4bcf-9eff-5b0f7083b38an%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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/20f05008-df47-4b3c-a915-d581773e2a1cn%40googlegroups.com.


Appropriate method to work Inventories

2021-09-13 Thread Toby
Hi,
I am trying to use Beancount to track inventories and I am a little 
confused on how to do this correctly. I understand that there is costs and 
pricing and that @@ is used to denote price (which can change) and {{}} 
which the cost and can't change. 

Let me explain here :-

2021-01-01 * "Purchase Some Supplies"
Assets:Inventory:Banana10 PCS  {{30 USD}}
Assets:Inventory:Apple   2 PCS {{50 USD}}
Assets:inventory:Orange3 PCS  {{20 USD}}
Assets:Cash 100.00 USD
  
Or :-

2021-01-01 * "Purchase Some Supplies"
Assets:Inventory:Banana10 PCS  @@ 30 USD
Assets:Inventory:Apple   2 PCS   @@ 50 USD
Assets:inventory:Orange3 PCS@@ 20 USD
Assets:Cash 100.00 USD
 

I often get weird output when working with commodities (they are always 
getting revalued) and the numbers don't add up. I have tried multiple 
things such as :-

2021-01-01 * "Purchase Some Supplies"
Assets:Inventory:Banana30 USD  {{10 PCS}}
Assets:Inventory:Apple   50 USD {{2 PCS}}
Assets:inventory:Orange20 USD  {{3 PCS }}
Assets:Cash 100.00 USD


The above seems to fix the valuation problem (commodities don't get 
revalued) but its a little complicated. Is there any guides on how to work 
with commodities?

Thanks

-- 
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/74e08658-2420-4627-9871-4ce691975511n%40googlegroups.com.


Re: Equivelent of not command in Beancount / Fava

2021-08-25 Thread Toby O
Hi Patrick,
Thanks. I don't know why I didn't think of that! It seems like a good way
to price commodities.
Also thanks for the heads-up between price and cost. Good to know.

Do you happen to know any similar command as 'not' for Fava/Beancount to
filter/limit accounts?




On Thu, Aug 26, 2021 at 12:59 AM 'Patrick Ruckstuhl' via Beancount <
beancount@googlegroups.com> wrote:

> Hi,
>
>
> to change the price you can do
> 2021-08-25 price Apple 1.75 USD
>
>
> See https://beancount.github.io/docs/beancount_language_syntax.html#prices
>
>
> There are also a lot price fetchers, see
> https://github.com/beancount/beanprice (or other custom fetchers)
>
>
> The last thing to be aware, that beancount has both prices and costs.
> Prices can change, but cost stays the same once you purchased a commodity,
> this will allow you to calculate capital gains.
>
> See
> https://beancount.github.io/docs/beancount_language_syntax.html#costs-and-prices
>
>
> Regards,
>
> Patrick
>
>
> On 25.08.2021 19:50, Toby wrote:
>
> Hi
>  Is there an equivalent command of 'not' in Beancount. hledger has not:
> function to filter accounts.
> Ledger also has something similar. Does Fava (or Beancount) have something
> similar?
>
> Also I am trying to use the commodity function but I am struggling to find
> a way to increase a price of a commodity. Is Beancount suitable for this ?
>
> Following is an example:-
>
> 2021-01-01 * "Purchase Apple 10 Apples for 1.50 USD "
>Assets:Inventory:Apple   10 Apple @ 1.50 USD;
>Assets:Cash
>
> 2021-01-01 * "Cash Transaction for the Apple"
>   Expenses:Cash  15.00
>   Assets:Cash
>
>
> Suppose I wanted to increase the price of the Apple. How would I go about
> doing so?
> For example if I paid 5.00 USD for Fuel and wanted to factor that in to
> the inventory price.
>
> Is it possible to do this on Beancount?
>
> Thanks
>
> --
> 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/29436d55-a2c1-4372-a64c-60ea75a7ea76n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/29436d55-a2c1-4372-a64c-60ea75a7ea76n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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/21e671ed-13c3-c149-8d83-3ea6f977218a%40ch.tario.org
> <https://groups.google.com/d/msgid/beancount/21e671ed-13c3-c149-8d83-3ea6f977218a%40ch.tario.org?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAB2VB2vxS9jNUYohSCumnf_rcAKxU1ZK%2BC-sR-2CHCc76UaY1g%40mail.gmail.com.