Re: Stock/Commodities fee posting positions and cost basis

2020-05-09 Thread o1bigtenor
On Sat, May 9, 2020 at 3:48 PM John Wiegley  wrote:
>
> > "o" == o1bigtenor   writes:
>
> o> The example here you are putting the  inside the transaction
> o> information. Would you also use this technique in a currency exchange
> o> transaction (transaction done in a different currency than the ledger's
> o> 'base currency)?
>
> Sure. I also use the "lot note" to track wash sale adjustments to the cost
> basis, and when I want to (personally) track a an option rollover, since to me
> it's the continuation of an ongoing position but to my broker it's not. So I
> might have:
>
> (387437466,W$128.99/364736412)
>
> I.e., this lot was opened in transaction 387437466, but its cost basis was
> adjusted due to a wash sale in transaction 364736412.
>
> Since the contents of the lot note are entirely free form, you can afterwards
> process this to create your own "audit trail" of a particular instrument,
> without having to use a specially named account or anything.
>
Thanks - - - - the flexibility here is awesome.

Keep on keeping on!

-- 

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


Archiving Previous Years

2020-05-09 Thread Joel
Hello,

In section 4.9 of the Ledger docs it explains how to archive previous 
years, conveniently generating an opening balances transaction for the new 
year. 

Is there a way to do this that carries cost basis forward for transactions 
with commodities or currencies where one wants to track the cost basis? Or 
must I manually run a report with the lot information and then add that to 
the opening balances statement?

Thanks,

Joel

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/fca33dc2-9949-4870-9649-4de2150f88e0%40googlegroups.com.


Re: Stock/Commodities fee posting positions and cost basis

2020-05-09 Thread John Wiegley
> "o" == o1bigtenor   writes:

o> The example here you are putting the  inside the transaction
o> information. Would you also use this technique in a currency exchange
o> transaction (transaction done in a different currency than the ledger's
o> 'base currency)?

Sure. I also use the "lot note" to track wash sale adjustments to the cost
basis, and when I want to (personally) track a an option rollover, since to me
it's the continuation of an ongoing position but to my broker it's not. So I
might have:

(387437466,W$128.99/364736412)

I.e., this lot was opened in transaction 387437466, but its cost basis was
adjusted due to a wash sale in transaction 364736412.

Since the contents of the lot note are entirely free form, you can afterwards
process this to create your own "audit trail" of a particular instrument,
without having to use a specially named account or anything.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2r1vsygvg.fsf%40newartisans.com.


Re: Looking for android solution to export Ledger with Receipt photos integration

2020-05-09 Thread POliveira
Hi Jimmy,

Have you checked Wally (http://wally.me/)? 
I believe it meets your requirements.

Regards,
P.

On Thursday, May 7, 2020 at 11:05:47 PM UTC+4, Jimi Damon wrote:
>
> Hi,
>
> I'm looking for a way to save receipts with amounts on my android device 
> with an app, either open source or one-time payment ( no recurring costs) 
> that would allow me to easily export expenses with the appropriate receipt 
> photos.  From these receipt photos I'm looking to generate a ledger entry 
> like the following
>
> 2020/05/07 *  Trader Joe's
> ; receipt: file:///home/user/Receipts/trader_joes_receipt_20200507.png 
> Expenses:Groceries  $30.00
> Assets:Checking
>
>
> I like exporting the receipt as a tag because in Linux Terminals, when you 
> run the reports that are verbose, you get a Hyperlinkable / clickable 
> receipt file that will immediately open for you to view with Control-Click .
>
>
> I've tried using "My Expenses" with it's export feature, but it was clunky 
> how I had to figure out where the receipt photos were kept...the CSV export 
> didn't include the image file.
>
> I've tried orgzly as well, but it's another one of the same problems where 
> the images aren't exported with the key financial data.  
>
> I've suggested a patch to Orgzly that would allow the storage of inline 
> base64 images but I've not had time to work on that solution.
>
>
> At this point i'm just looking for a self-contained output file that has 
> the images and the other relevant Ledger information, so a CSV export with 
> inline images would be ideal.
>
>
> Thanks for any suggestions.
>
>
>
>
>
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/637b50ca-7c90-448b-85dd-6f1dfbec0197%40googlegroups.com.


Re: Stock/Commodities fee posting positions and cost basis

2020-05-09 Thread o1bigtenor
On Thu, May 7, 2020 at 11:07 PM John Wiegley  wrote:
>
> > "JS" == Joel Swanson  writes:
>
> JS> Does posting order affect stock or commodity cost basis in Ledger?
>
> JS> Is that really the desired behavior, where changing the order of postings
> JS> changes the items for which ledger tracks lots? Does this have something
> JS> to do with which postings are considered primary and secondary in a
> JS> transaction with three or more postings?
>
> Yes, that is actually the reasoning. The first posting establishes the
> secondary commodity, while the second is the primary.
>
> You can avoid this confusing by not using the auto-calculation logic, and
> identifying your lots explicitly:
>
> 2004/05/01 Stock purchase
> Expenses:Broker:Commissions$19.95
> Assets:Broker 50 AAPL {$30.00} [2004/05/01] 
> () @ $30.00
> Assets:Broker  $-1,519.95
>
> If you use this fully elaborated lot specification everywhere, then you'll
> always know what Ledger is based its numbers on. Generally when I sell a
> commodity I just copy the details from the opening transaction.
>
Mr John

Have been thinking about this  and where you have
placed it in the
layout of the transaction. To me this is not too dissimilar to
'different' currency
transactions (items are purchased in a different than 'home' currency)
when I want
to track the costs of and in the transaction. I usually put the
various 'rates' in the
'notes' files ( right after the payee line then the next line using
the ; rate 234.15).

The example here you are putting the  inside the
transaction information.
Would you also use this technique in a currency exchange transaction
(transaction done
in a different currency than the ledger's 'base currency)?

Regards

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAPpdf59e7F%3D32j3fQnriofJzbJKkoQoYPOZJ_fEf2k8-LaS%2B1Q%40mail.gmail.com.


Re: Stock/Commodities fee posting positions and cost basis

2020-05-09 Thread Joel
Thanks, John. That helps my understanding.


Le vendredi 8 mai 2020 00:07:03 UTC-4, John Wiegley a écrit :
>
> > "JS" == Joel Swanson > writes: 
>
> JS> Does posting order affect stock or commodity cost basis in Ledger? 
>
> JS> Is that really the desired behavior, where changing the order of 
> postings 
> JS> changes the items for which ledger tracks lots? Does this have 
> something 
> JS> to do with which postings are considered primary and secondary in a 
> JS> transaction with three or more postings? 
>
> Yes, that is actually the reasoning. The first posting establishes the 
> secondary commodity, while the second is the primary. 
>
> You can avoid this confusing by not using the auto-calculation logic, and 
> identifying your lots explicitly: 
>
> 2004/05/01 Stock purchase 
> Expenses:Broker:Commissions$19.95 
> Assets:Broker 50 AAPL {$30.00} [2004/05/01] 
> () @ $30.00 
> Assets:Broker  $-1,519.95 
>
> If you use this fully elaborated lot specification everywhere, then you'll 
> always know what Ledger is based its numbers on. Generally when I sell a 
> commodity I just copy the details from the opening transaction. 
>
> John 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ledger-cli+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/b9f5afd8-91c3-4579-9729-6fec1d151a59%40googlegroups.com.


Re: Stock/Commodities fee posting positions and cost basis

2020-05-09 Thread o1bigtenor
On Fri, May 8, 2020 at 7:18 PM John Wiegley  wrote:
>
> > "o" == o1bigtenor   writes:
>
> o> A semantical question - - - - AIUI what you are referring to in the above
> o> is a 'stock' not a 'commodity' - - - yes?
>
> I guess I'm mixing Ledger terminology with market terminology. To Ledger,
> everything is a commodity. But yes, in this particular case, the item we're
> tracking is a stock.
>
Interesting - - - thanks.

-- 

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