IMarginApi Interface

GF API Documentation
Public API for margin functionality

Namespace:  GF.Api.Margin
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public interface IMarginApi

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
Events

  NameDescription
Public eventMarginCalculationCompleted
Raised when margin calculation is complete
Public eventPortfolioMarginChanged
Raised when portfolio margin requirements changes
Top
See Also

Reference