How do I turn a dollar return into a krona return?
Line up a stock’s dollar prices with the USD/SEK exchange rate by date, compute its return in Swedish kronor, and use a rate quoted in either direction.
After this lesson, you can compute the return in Swedish kronor of a stock priced in US dollars.
How do I compute a return in kronor?
A krona investor earns the stock’s dollar return and the dollar’s return against the krona, so the krona return is the product of the two gross returns minus 1, after the prices and exchange rates are lined up by date. On 3 March, the stock rises from 100 to 110 dollars and the dollar from 10 to 11 kronor, so a share worth 1,000 kronor becomes worth 1,210, a return of 21%.
Here \(r_{\text{USD}}\) is the stock’s return in dollars and \(r_{\text{FX}}\) the return of the USDSEK rate, the number of kronor per dollar.
The made-up tables hold AAA’s price in dollars per share and the USDSEK rate on six days each, with a rate on 5 March and no price, and a price on 9 March and no rate. .merge(how="left") keeps every price date, as in the lesson on merge, so the 6 March returns of both series cover 4 to 6 March. The missing rate of 9 March makes the krona returns of 9 and 10 March missing, and filling it with zero would assume an unchanged rate. The return of the krona price, dollar price times USDSEK, gives the same numbers.
The following box lines up the tables and computes the krona return both ways.
date usd_price usdsek usd_return fx_return sek_return sek_price_return
0 2026-03-02 100.0 10.0 NaN NaN NaN NaN
1 2026-03-03 110.0 11.0 0.1 0.1000 0.2100 0.2100
2 2026-03-04 99.0 10.0 -0.1 -0.0909 -0.1818 -0.1818
3 2026-03-06 99.0 12.0 0.0 0.2000 0.2000 0.2000
4 2026-03-09 108.9 NaN 0.1 NaN NaN NaN
5 2026-03-10 108.9 12.5 0.0 NaN NaN NaN
What if the rate is quoted the other way?
A rate quoted as SEKUSD, dollars per krona, is the reciprocal of USDSEK, so the stock’s gross return is divided by the rate’s gross return. On 3 March, SEKUSD falls by 9.09% while USDSEK rises by 10%, and the division gives the same krona return of 21%.
date fx_return sekusd_return sek_return sek_return_from_sekusd
0 2026-03-02 NaN NaN NaN NaN
1 2026-03-03 0.1000 -0.0909 0.2100 0.2100
2 2026-03-04 -0.0909 0.1000 -0.1818 -0.1818
3 2026-03-06 0.2000 -0.1667 0.2000 0.2000
4 2026-03-09 NaN NaN NaN NaN
5 2026-03-10 NaN NaN NaN NaN
Your turn
Print the krona return from 2 to 6 March in percent. You should see 18.80%, from 1,000 to 1,188 kronor.