Exchange rates and fees 08/26/2019 10:35 PM CDT
Could we get a GM to look at the exchange rates and fees system?

Everything posted here ends up being wrong in practice.
https://elanthipedia.play.net/Currency

You can't calculate an exact amount to exchange from any currency beforehand as the posted rates and exchange fees are wrong.

Seriously try it yourself and see.
Reply
Re: Exchange rates and fees 08/26/2019 11:18 PM CDT
It was a holiday in game last week so there was no exchange fee, in case you're basing your numbers off of that. As for right now, it looks like it's all correct aside from 1 copper here and there due to rounding.

> read board


Current Exchange Rates


Copper Copper Copper
Kronars Lirums Dokoras
1000 copper Kronars = 1000 800 721
1000 copper Lirums = 1250 1000 902
1000 copper Dokoras = 1385 1108 1000

A 5% fee will be charged for all exchange transactions.

> exch 1 gold kro for lir
You hand your 1 gold Kronars to the money-changer. After collecting a modest fee, he hands you 7 silver, and 6 bronze Lirums.

1000 * 0.8 = 800
800 * 0.05 = 40
800 - 40 = 760

> exch 1 g k for d
You hand your 1 gold Kronars to the money-changer. After collecting a modest fee, he hands you 6 silver, 8 bronze, and 5 copper Dokoras.

1000 * 0.721 = 721
721 * 0.05 = 36
722 - 36 = 685

> exch 1 gold l for dok
You hand your 1 gold Lirums to the money-changer. After collecting a modest fee, he hands you 8 silver, 5 bronze, and 6 copper Dokoras.

1000 * .902 = 902
902 * 0.05 = 45
902 - 45 = 857 (likely just a rounding difference)

> exch 1 gold lir for kro
You hand your 1 gold Lirums to the money-changer. After collecting a modest fee, he hands you 1 gold, 1 silver, 8 bronze, and 7 copper Kronars.

1000 * 1.250 = 1250
1250 * 0.05 = 63
1250 - 62 = 1187

> exch 1 gold dok for lir
You hand your 1 gold Dokoras to the money-changer. After collecting a modest fee, he hands you 1 gold, 5 bronze, and 3 copper Lirums.

1000 * 1.108 * 1108
1108 * 0.05 = 55
1108 - 55 = 1053

> exch 1 gold dok for kro
You hand your 1 gold Dokoras to the money-changer. After collecting a modest fee, he hands you 1 gold, 3 silver, 1 bronze, and 6 copper Kronars.

1000 * 1.385 = 1385
1385 * 0.05 = 69
1385 - 69 = 1316
Reply
Re: Exchange rates and fees 08/26/2019 11:44 PM CDT
So i want 6104 dokoras and i have kronars.

6104 x 1.385 x 1.05 = 8878 kronars needed

I should get 6104 dokoras right, but you dont you get 6086 dokoras.


How did i mess this up?
Reply
Re: Exchange rates and fees 08/27/2019 12:28 AM CDT
> How did i mess this up?

By not correctly accounting for the 5% fee, and rounding the exchange rate.

6104 x 1.386 / .95 = 6104 x 1.386 x 1.0526 = 8905.4, so try with 8906 kronars.
Reply
Re: Exchange rates and fees 08/27/2019 12:39 AM CDT
<<6104 x 1.385 x 1.05 = 8878 kronars needed
<<How did i mess this up?

You're calculating the exchange fee incorrectly. The conversion formula to Dokoras from Kronar is:

Dokoras = (Kronars * KtoD exchange rate) - (Kronars * KtoD exchange rate * fee)

In reduced form:

D = Ke - Kef
D = Ke(1-f)

Solving for K you get

K = D/(e(1-f))

For your case that is:

K = 6104 / (0.721 * (1- 0.05)) = 8911 kronars need.

Calculating that forward to double check:

(8911 * 0.721)(1-0.05) = 6103, so I'd round up to 8922 or even 8925 or 8930 to make sure.
Reply
Re: Exchange rates and fees 08/27/2019 12:46 AM CDT
Thank you!
Was doing it wrong... maths is hard
Reply