Endpoints

  • Get historical positions of an account of a client, that were closed within the specified period

    Returns a list of historical positions for a specific account owned by a client. The required fields are ClientKey and either StandardPeriod or FromDate/ToDate.

    GET https://gateway.saxobank.com/sim/openapi/hist/v3/positions/{ClientKey}?$inlinecount={$inlinecount}&$skip={$skip}&$skiptoken={$skiptoken}&$top={$top}&AccountGroupKey={AccountGroupKey}&AccountKey={AccountKey}&AssetType={AssetType}&FromDate={FromDate}&MockDataId={MockDataId}&StandardPeriod={StandardPeriod}&Symbol={Symbol}&ToDate={ToDate}