Public API for margin functionality
Namespace: GF.Api.Margin
Assembly: GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax
The IMarginApi type exposes the following members.
Methods
Name | Description | |
---|---|---|
RequestMarginCalculation |
Sends a request to calculate hypothetical portfolio.
Throws exception if invalid. See ValidateMarginCalculationRequest(MarginCalculationRequest).
| |
SetUseHypoPL |
Set a flag for the API to use hypothetical P/L
| |
ValidateMarginCalculationRequest |
Returns an error message if invalid. Returns null if correct.
|
Events
Name | Description | |
---|---|---|
MarginCalculationCompleted |
Raised when margin calculation is complete
| |
PortfolioMarginChanged |
Raised when portfolio margin requirements changes
|
See Also