Trading operations
Placing a different type of orders, modifying and canceling them using Quantower API
Placing orders
// Full form, allows you to specify all parameters
Core.Instance.PlaceOrder(new PlaceOrderRequestParameters()
{
Account = this.account,
Symbol = this.symbol,
Side = Side.Buy,
Price = this.symbol.Bid - this.symbol.TickSize * 10,
TimeInForce = TimeInForce.Day,
Quantity = 2,
StopLoss = SlTpHolder.CreateSL(20, PriceMeasurement.Offset),
TakeProfit = SlTpHolder.CreateSL(10, PriceMeasurement.Offset),
OrderTypeId = OrderType.Limit
});Modifying orders
Cancelling orders
Closing positions
Result of trading operations
Last updated