You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account

NewOrderRequest

class
This request is used for open new order.

Properties

Account Account Account that opened the order.
Amount double Value of the order in lots
Comment string Returns comment for the selected order.
ExpirationTime DateTime The date of expiration order (for GTD orders)
Instrument Instrument Represents the information of instrument for order request.
LinkTo string The ID of the order which current order is bound to; if the former is executed, the system cancels the latter. Uses by OCO, StopLoss, TakeProfit or TrStop orders
MagicNumber int Order magic number. May be used as user defined identifier.
MarketRange int Maximum price slippage for orders.
Price double Price at which the order is to be executed.
Side Operation Type of trade to be executed (BUY or SELL).
StopLossOffset double Set price level of stop loss order.
StopPrice double Stop Price for the StopLimit order.
TakeProfitOffset double Set price level of teke profit order.
TimeInForce TimeInForce Order's Time-in-force.
TrStopOffset double Set offset in points to Trailing Stop order.
Type OrdersType The type of order.

Methods

CreateBuyLimit (Instrument instrument, double amount, double price, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type limit.
CreateBuyLimit (Instrument instrument, double amount, double price, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type limit with time in force option.
CreateBuyLimit (Instrument instrument, double amount, double price, Account account, DateTime expirationTime) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type limit with expiration time option.
CreateBuyMarket (Instrument instrument, double amount, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type market.
CreateBuyMarket (Instrument instrument, double amount, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type market with time in force option.
CreateBuyMarket (Instrument instrument, double amount, Account account, DateTime expirationTime) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type market with expiration time option.
CreateBuyStop (Instrument instrument, double amount, double price, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type stop.
CreateBuyStop (Instrument instrument, double amount, double price, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation buy and type stop with time in force option.
CreateBuyStop (Instrument instrument, double amount, double price, Account account, DateTime expirationTime) Return: NewOrderRequest --
CreateSellLimit (Instrument instrument, double amount, double price, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type limit.
CreateSellLimit (Instrument instrument, double amount, double price, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type limit with time in force option.
CreateSellLimit (Instrument instrument, double amount, double price, Account account, DateTime expirationTime) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type limit with expiration time option.
CreateSellMarket (Instrument instrument, double amount, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type market.
CreateSellMarket (Instrument instrument, double amount, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type market with time in force option.
CreateSellMarket (Instrument instrument, double amount, Account account, DateTime expirationTime) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type market with expiration time option.
CreateSellStop (Instrument instrument, double amount, double price, Account account) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type stop.
CreateSellStop (Instrument instrument, double amount, double price, Account account, TimeInForce timeInForce) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type stop with time in force option.
CreateSellStop (Instrument instrument, double amount, double price, Account account, DateTime expirationTime) Return: NewOrderRequest Initiates NewOrderRequest object with operation sell and type stop with expiration time option.
PTMC 是一個專業的交易平台,結合了強大的圖表和分析工具,並可在不同的金融市場進行交易。 它是由 PFSOFT UK LTD 開發的,該公司是全球銀行和經紀商交易技術提供商
© 2024. PTMC 為基於 Protrader 技術的專業交易平台
地址
臺北市大安區羅斯福路3段273號5樓
聯絡我們
電話: +886-2-2367-8583
E-mail: service@kcdatanet.com
社群
© 2024. PTMC 為基於 Protrader 技術的專業交易平台