IMarginApi Methods

GF API Documentation

The IMarginApi type exposes the following members.

Methods

  NameDescription
Public methodRequestMarginCalculation
Sends a request to calculate hypothetical portfolio. Throws exception if invalid. See ValidateMarginCalculationRequest(MarginCalculationRequest).
Public methodSetUseHypoPL
Set a flag for the API to use hypothetical P/L
Public methodValidateMarginCalculationRequest
Returns an error message if invalid. Returns null if correct.
Top
See Also

Reference