Profile Picture

Is Currency Conversion done Automatically or by code?

Posted By Candreoutrade 8 Months Ago
Message
Posted Wednesday March 01 2017
I have set up some Commodity Future Symbols with the correct currencyType and have also set up the correct corresponding FX symbols.
 When I write the code for my Strategy, do I need to use the below code when buying futures in another currency or is the conversion done automatically by rightEdge?

[code language="c#"]SystemData.AccountInfo.GetConversionRate(Symbol.CurrencyType,SystemData.AccountCurrency, QuoteType.Last)

If RightEdge does the conversion automatically, then when the code above should be used?



Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems