PriceRequest

Represents a request for a price in the API.

  • Name Type Description
    AccountKey AccountKey Unique key identifying the account used in retrieving the price.
    Amount Number Order size, defaults to minimal order size for given instrument.
    AmountType OrderAmountType
    AssetType AssetType The instrument's asset type
    ContractId Obsolete Integer Optional. ContractId for trading vanilla or binary fx options.
    FieldGroups PriceGroupSpec [] Specification of fields to return in results
    ForwardDate UtcDateTime Forward date
    ForwardDateFarLeg UtcDateTime Forward date for far leg
    ForwardDateNearLeg UtcDateTime Forward date for near leg
    OrderAskPrice Number Order ask price. When specified, a corresponding cost of buying will be calculated for that price; otherwise the current market ask price will be used.
    OrderBidPrice Number Order bid price. When specified, a corresponding cost of selling will be calculated for that price; otherwise the current market bid price will be used.
    QuoteCurrency Boolean
    RequireTradableQuote Obsolete Boolean Optional argument to require that the subscription returns tradable quotes i.e. provides a quoteId. The value defaults to false.
    SharePrice Number Share Price. Used when subscribing on a price when placing an order for CFDs. When provided it may lead to EstPriceSell / EstPriceBuy being returned in the InstrumentPriceDetail. Not relevant for info prices.
    StrategyName String Optional argument to specify an algo-order strategy
    ToClosePositionId Integer Set this if the intention is that the subsequent trade should close the position with the specified position id.
    ToOpenClose ToOpenClose
    Uic Integer Unique id of the instrument