public method IMarginProvider.getMargins

Overview

Gets the margin requirements for the specified instrument by account

Declaration

function getMargins(instrument, account)
public MarginRequirements getMargins(Instrument instrument, Account account);
public MarginRequirements getMargins(Instrument instrument, Account account);

Parameters

Name Description
instrument A financial instrument for which the margin requirements data is being requested
account An account for which the margin requirements data are being requested

Returns

The method returns the margin requirements for the specified instrument by account

Details

Declared in IMarginProvider