Hi, I was trying to calculate the fx pair quantities I want to hold using the formula below, but I get some really crazy quantities like 8m Euros etc (trying to have 50k USD Size trades) I am obviously doing something wrong.


decimal tradeSize = 50000m; // The desired holding amount in your portfolio currency
decimal exchangeRate = myForex.QuoteCurrency.ConversionRate;

// Calculate the quantity
decimal quantity = Math.Round(tradeSize / exchangeRate);