Skip to content

Custom Balances: Formula (FOR) field does not work with tickers that have a dot in it #31

@rndpsn

Description

@rndpsn

This is regarding Custom Balances: v1051.

Thanks for this awesome extension!

An issue I'd like to report is that the Formula (FOR) field does not work with tickers that have a dot/period (".") in it.

For example, when I try use this formula below to calculate the number of shares I own of the Canadian stock Shopify on the Toronto Stock Exchange (SHOP.TO on Yahoo Finance) by dividing the value of my holdings with the stock price:

@this / @shop.to

I get an error message:

Formula error: NameError: 'name 'curr00000shop' is not defined

I think this issue affects mostly Canadian stocks, because in order to make the Quote Loader extension (by Mike) pulls the prices of Canadian stocks from the Yahoo source, the stock tickers need to have the ".TO" suffix.

One workaround is to save the stock ticker as "SHOP" in the properties for the security (instead of SHOP.TO), and put "SHOP.TO" in the "Alt Ticker" column in the Quote Loader extension. That way both Custom Balance and Quote Loader work.

Another workaround is to use the US prices for stocks that are listed on both US and Canadian exchanges (such as Shopify).

Thanks for your attention!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglong term reviewItems that should be addressed, but long-term only

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions