OandaRestClient

StockSharp.Oanda.Native

メソッド

GetAccountDetailsAsync(string, CancellationToken) : Task<AccountDetails>

Gets account specific details for the given account.

accountId
the ID of the account to retrieve.
cancellationToken
Cancellation token.

戻り値: the AccountDetails for the account.

GetInstrumentsAsync(string, IEnumerable<string>, CancellationToken) : Task<IEnumerable<Instrument>>

Gets the list of instruments that are available.

accountId
Account ID.
instruments
Instruments.
cancellationToken
Cancellation token.

戻り値: a list of the available instruments.

GetPositionsAsync(string, CancellationToken) : Task<IEnumerable<Position>>

Get the current open positions for the account specified.

accountId
the ID of the account.
cancellationToken
Cancellation token.

戻り値: list of positions (or empty list if there are none).