Interface IScraperSessionSecuritiesPortfolio

Namespace
Subsembly.Scraper
Assembly
Subsembly.Scraper.dll

This interface shall be implemented by scrapers that support downloading the items from a securities custody account.

public interface IScraperSessionSecuritiesPortfolio

Methods

DownloadPortfolio(out IEnumerable<JsonObject>, JsonObject)

ScraperResult DownloadPortfolio(out IEnumerable<JsonObject> vPortfItems, JsonObject jsAcct)

Parameters

vPortfItems IEnumerable<JsonObject>

On success this must return the complete set of securities that are held in the requested portfolio account. If the portfolio account is empty, then an empty enumeration and a successful result must be returned. The collection must contain JSON objects according to the SUPA specification for portfolio items.

jsAcct JsonObject

Selects the portfolio account for which to return the content.

Returns

ScraperResult