* Commodities
2000-01-01 commodity EUR
name: "Euro"
assets-class: "cash"
2000-01-01 commodity USD
name: "US dollars"
assets-class: "cash"
price: "EUR:yahoo/USDEUR=X"
2000-01-01 open Expenses:Misc
* Asset accounts
2000-01-01 open Assets:EU:Bank:Payment
2000-01-01 open Assets:US:Bank:Payment
2022-12-02 * "Buying something in Euro paying by European card"
Assets:EU:Bank:Payment -100 EUR
Expenses:Misc 100 EUR
2022-12-03 * "Buying something in USD, paying by USA card "
Assets:US:Bank:Payment -100 USD
Expenses:Misc 100 USD
2022-12-04 * "Buying in EU with US card, where the cost in euro is known"
Assets:US:Bank:Payment -100 USD
Expenses:Misc 50 EUR @@ 100 USD
2022-01-05 * "Buying something in US, paying with EU card "
Assets:EU:Bank:Payment -100 EUR
Expenses:Misc 200 USD @@ 100 EUR
however bean-price fetches only current USD /EUR.
But I would like to get exchange rate for every day starting from the earliest transaction to the last one.