'm testing my automatic trading system in stock market (data mining system). I'm modeling day by day for 30-days and calculate profit in every step. Suppose that my system predicts tomorrow close price is higher and today close price. When I check the real direction of tomorrow price it is higher than today. So we have same direction in real and predicted close price. Now I want calculate profit. Can I use this formula?
profit_for_this_trade = ( next_day_close_price_sell - today_close_price_buy) - commissions and other buy and sell related costs What do you think?
(We used today and previous days closing prices of today to train a model and predict next day closing price) What is your proposed formula for calculating this profit for a close price predicting system? Currently I'm using only accuracy of system for performance calculation.