View Source XtbClient.Messages.ProfitCalculation.Query (XtbClient v0.1.1)
Info about query for calculation of profit.
parameters
Parameters
closePricetheoretical close price of order,cmdoperation code, seeXtbClient.Messages.Operation,openPricetheoretical open price of order,symbolsymbol name,volumevolume in lots.
Link to this section Summary
Link to this section Types
@type t() :: %XtbClient.Messages.ProfitCalculation.Query{ closePrice: float(), cmd: XtbClient.Messages.Operation.t(), openPrice: float(), symbol: binary(), volume: float() }