Interface IScraperSessionSecuritiesPortfolio
This interface shall be implemented by scrapers that support downloading the items from a securities custody account.
Namespace: Subsembly.Scraper
Assembly: Subsembly.Scraper.dll
Syntax
public interface IScraperSessionSecuritiesPortfolio
Methods
DownloadPortfolio(out IEnumerable<JsonObject>, JsonObject)
Declaration
ScraperResult DownloadPortfolio(out IEnumerable<JsonObject> vPortfItems, JsonObject jsAcct)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<JsonObject> | vPortfItems | 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. |
JsonObject | jsAcct | Selects the portfolio account for which to return the content. |
Returns
Type | Description |
---|---|
ScraperResult |