get_profit_factorDF {lazytrade} | R Documentation |
Function that returns the profit factors of the systems in a form of a DataFrame
Description
Calculation of profit factor using dplyr verbs
Usage
get_profit_factorDF(x, num_orders)
Arguments
x |
|
num_orders |
|
Value
Function returns dataframe with column PrFact with calculated profit factor value for each trading robot
Examples
library(lazytrade)
library(dplyr)
library(magrittr)
data(profit_factorDF)
get_profit_factorDF(x = profit_factorDF,
num_orders = 10)
[Package lazytrade version 0.5.4 Index]