Posted By: GPEngine
TradeProfit vs. TradeResult - 10/20/14 00:56
variables.h has them defined as the same thing
Then, what is ->fProfit for?
In http://zorro-trader.com/manual/en/trade.htm
TradeProfit is listed, TradeResult is not
However, TradeResult is used in the first example
Also in http://zorro-trader.com/manual/en/buylong.htm Example 3
And two places in http://zorro-trader.com/manual/en/tips.htm
maybe more
Code:
#define TradeResult g->tr->fResult #define TradeProfit g->tr->fResult
Code:
typedef struct TRADE { ... float fResult; // current profit of the trade float fProfit; // simulated profit ... }
TradeProfit is listed, TradeResult is not
However, TradeResult is used in the first example
Also in http://zorro-trader.com/manual/en/buylong.htm Example 3
And two places in http://zorro-trader.com/manual/en/tips.htm
maybe more