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

OrdersCollection

class
Represents a collection of all orders.

Properties

Count int Returns number of all open orders.
SLTPCount int Return number of all open Stop Loss and Take Profit orders.

Methods

CancelAll () Return: bool Cancel all orders. Returns an indication whether the orders are canceled successfully.
CancelAllByAccount (Account account) Return: bool Cancel all orders by specified account. Returns an indication whether the orders are canceled successfully.
GetOrderById (string orderId) Return: Order Returns an Order that represents the access to order objects specifiedby by order ID.
GetOrders (bool addSLTP) Return: Order[] Gets a collection of all opening orders. Access to the orders can be obtained by index.
GetRemoveOrderById (string orderId) Return: Order Returns a executed or canceled Order that represents a access to order objects specified by order ID.
Send (NewOrderRequest request) Return: string Sends trading order.
SendAsync (NewOrderRequest request, Action<string> callback) Return: bool Sends trading order asynchronously.

Events

OrderAdded The event at which the new order was placed.
OrderExecuted Occurs when the order was executed.
OrderRemoved The event at which the order was removed.
PTMC is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers
© 2017. PTMC is based on Protrader technology
PFSOFT UK LTD
71-75, Shelton Street,
Covent Garden,
London, WC2H9SQ,
United Kingdom
Support & Development
PFSOFT Ukraine
Office #701
Mechnikova Street, 10B
49000, Dnipro, Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Find more ways to contact
Join us in social networks