At first glance I can't see that there is a way to override what beancount 
is doing here.

It appears as though it has some sort of an opinionated parsers as to what 
is considered valid for a Ticker Symbol, and it won't accept "V" (the 
symbol for Visa).  It appears to be wanting an all-uppercase > 1 length 
symbol, which isn't really valid for the real world.

Is there a way to override this behavior?  I'm not spotting anything on my 
first pass of the options documentation.

The following ledger fails to parse, complaining about an invalid token 'V' 
(specifically it is complaining about the use of the ticker symbol as a 
unit in "10.00 V", it's fine with the account name).

2014-02-16 open Assets:US:ETrade:Cash
2014-02-16 open Assets:US:ETrade:V
2014-02-16 open Expenses:Financial:Commissions
2014-02-16 open Equity:OpeningBalances

2014-02-16 * "Opening Balance"
  Assets:US:ETrade:Cash         10,000.00 USD
  Equity:OpeningBalances

2014-02-16 * Example purchase of stock symbol V (Visa)
  Assets:US:ETrade:V                      10.00 V {231.59 USD}
  Assets:US:ETrade:Cash        -23,159.00 USD
  Expenses:Financial:Commissions    9.95 USD

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/5d269594-0c62-4f99-bbca-60293178fc4an%40googlegroups.com.

Reply via email to