When I call the method History is called on Forex or CFD security, I receive the run time error:

"Calling this method on a Forex or CFD security will return an empty result. Please use the generic version with QuoteBar type parameter."

Could you please help me understand what I should use instead?