matthiasstraka / php-invest

Self-hosted stock portfolio tracking software using PHP/Symfony. It tracks portfolios across multiple brokers and automatically updates daily stock data. It allows tracking trades of raw stock and EUSIPA derivatives/instruments.
GNU General Public License v3.0
18 stars 7 forks source link

Costs are always in account currency #19

Open matthiasstraka opened 2 years ago

matthiasstraka commented 2 years ago

Currently, we use Instrument currencies, which is wrong

matthiasstraka commented 2 years ago

Ideally, we want to update the currency when selecting a different account. Maybe this helps: https://symfony.com/doc/current/form/dynamic_form_modification.html