I am trying to transalte some Quantopian code, and am not sure of the proper C# methods to use.

Quantopian code:

 Assume that "context.XIV" is pointing to the XIV position.

 high = (data.history(context.XIV, "high", 119, "1m")).max()

 price = data.current(context.XIV, 'price')

Thanks