GetFitnessArgs
Summary
Represents the custom fitness calculation interface.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
Properties
History
Summary
Gets all the historical trades.
Signature
1 | |
Return Value
History
Positions
Summary
Gets all open positions.
Signature
1 | |
Return Value
Positions
PendingOrders
Summary
Gets all pending orders.
Signature
1 | |
Return Value
PendingOrders
Equity
Summary
Gets the equity of the account (balance plus unrealized profit and loss).
Signature
1 | |
Return Value
double
NetProfit
Summary
Gets the net profit of all trades in account deposit currency.
Signature
1 | |
Return Value
double
MaxBalanceDrawdownPercentages
Summary
Gets the maximum amount of balance drawdown in percentage (ex: 40%).It can return a positive value between 0-100.
Signature
1 | |
Return Value
double
MaxEquityDrawdownPercentages
Summary
Gets the maximum amount of equity drawdown in percentage (ex: 40%).It can return a positive value between 0-100.
Signature
1 | |
Return Value
double
MaxBalanceDrawdown
Summary
Gets the maximum amount of balance drawdown in account deposit currency.
Signature
1 | |
Return Value
double
MaxEquityDrawdown
Summary
Gets the maximum amount of equity drawdown in account deposit currency.
Signature
1 | |
Return Value
double
WinningTrades
Summary
Gets the total number of winning trades.
Signature
1 | |
Return Value
double
LosingTrades
Summary
Gets total number of losing trades.
Signature
1 | |
Return Value
double
TotalTrades
Summary
Gets the total number of trades taken.
Signature
1 | |
Return Value
double
AverageTrade
Summary
Gets the average profit for all trades in account deposit currency.
Signature
1 | |
Return Value
double
ProfitFactor
Summary
Gets the Profit Factor - the ratio of Total Net Profit divided by the Total Net Loss.
Signature
1 | |
Return Value
double
Swaps
Summary
Gets the swaps of all trades in account deposit currency.
Signature
1 | |
Return Value
double
Commissions
Summary
Gets the commissions of all trades in account deposit currency.
Signature
1 | |
Return Value
double