public override double fxRate(Symbol symbol) { if (arguments().runInNativeCurrency) { return(1); } return(symbol.currency().isUSD() ? 1 : fxRates.get(symbol)[0].close); }