Professional Documents
Culture Documents
Alveo Trading API - Apiary Fund
Alveo Trading API - Apiary Fund
Sign in
/// * The close price of currently selected order. The order must be previously selected by the
protected double OrderClosePrice()
/// * Close time for the currently selected order. If order close time is not 0, then the order
/// closed and retrieved from the account history. Open and pending orders close time is equal t
/// The order must be previously selected by the OrderSelect() function
protected datetime OrderCloseTime()
/// * Returns comment of the currently selected order. The order must be previously selected by
protected string OrderComment()
/// * Returns calculated commission of the currently selected order. The order must be previousl
/// OrderSelect() function
protected double OrderCommission()
/// * Returns expiration date of the selected pending order. The order must be previously select
protected datetime OrderExpiration()
/// * Returns amount of lots of the selected order. The order must be previously selected by the
protected double OrderLots()
/// * Open price of the currently selected order. The order must be previously selected by the O
protected double OrderOpenPrice()
/// * Returns open time of the currently selected order. The order must be previously selected b
protected datetime OrderOpenTime()
/// * Prints information about the selected order in the log and app journal. The order must be
protected void OrderPrint()
/// * Returns profit of the currently selected order.The order must be previously selected by th
protected double OrderProfit()
/// * The main function used to open a market order or place a pending order
/// cmd - Operation type. It can be any of the Trade operation enumeration
/// magic - Order magic number. May be used as user defined identifier (0 default)
/// arrow_color - Color of the opening arrow on the chart. If parameter is missing or has CLR_NO
/// Returns number of the ticket assigned to the order by the trade server or -1 if it fails. To
protected int OrderSend(string symbol, int cmd, double volume, double price, int slippage, doubl
/// * Returns the number of closed orders in the account history loaded into the terminal
protected int OrdersHistoryTotal()
/// * Returns swap value of the currently selected order.The order must be previously selected b
protected double OrderSwap()
/// * Returns symbol name of the currently selected order.The order must be previously selected
protected string OrderSymbol()
/// * Returns take profit value of the currently selected order.The order must be previously sel
protected double OrderTakeProfit()
/// * Returns ticket number of the currently selected order.The order must be previously selecte
protected int OrderTicket()
/// * Returns order operation type of the currently selected order.The order must be previously
/// OrderSelect() function
/// OP_BUY - buying position,
/// OP_SELL - selling position,
/// OP_BUYLIMIT - buy limit pending position,
/// OP_BUYSTOP - buy stop pending position,
/// OP_SELLLIMIT - sell limit pending position,
/// OP_SELLSTOP - sell stop pending position.
protected int OrderType()
Contact Us Investing in securities, currencies, and/or contracts associated © 2020 All Rights Reserved
therewith carries inherent risks. No person, institution, or entity, Apiary Investment Fund
Terms of Service including the Apiary Investment Fund, can guarantee a return
on investment for such transactions. Neither the Apiary 383 W Lakeview Rd
Disclaimer Investment Fund nor its representatives will recommend the Lindon UT 84042
Privacy Policy purchase, sale, or transaction advice for a specific security. 1-801-701-1650
https://apiaryfund.com/alveo/codebase/trading 2/2