Trade Price Validation Based on Daily High and Low Range
When we enter a trade, select a stock, and specify the transaction date, the system automatically fetches the stock's price range for that particular date.
However, even if we accidentally enter a price outside that range, such as adding an extra zero by mistake, the system still accepts the transaction.
The system should prevent such incorrect entries. Just as it blocks transactions on holidays or non-trading days, it should also reject any transaction where the entered price falls outside the stock's actual trading price range (daily low and high) for the selected date.
An appropriate error message should appear, informing the user that the entered price is outside the valid trading range for that date. The transaction should not be saved until the price is corrected.
Log in to comment and vote
No comments yet
Be the first to share your thoughts.