Profit factor is defined as the absolute value of gross profits over gross
losses. What is anything divided by zero?

On Mon, Oct 6, 2014 at 8:40 PM, ce <zadi...@excite.com> wrote:

>
> My test program gives in tradeStats output some Profit factors as  Inf  .
> I guess because Gross.Losses are zero .
> Is it normal or am I doing something wrong ?
>
>      Med.Trade.PL Largest.Winner Largest.Loser Gross.Profits Gross.Losses
> ABTL   270.967742      270.96774       0.00000     270.96774      0.00000
>
>      Std.Dev.Trade.PL Percent.Positive Percent.Negative Profit.Factor
> ABTL               NA        100.00000          0.00000           Inf
>
> _______________________________________________
> R-SIG-Finance@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Finance@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to