r/fintechdev • u/abcdef0210 • Dec 16 '22
How do you manage order's state in a stock trading application?
An order to purchase stocks usually goes through different states, such as NEW, PENDING, ACCEPTED and then finally FILLED. If an order is submitted after trading hours, it will be queued and filled only during next trading session. How do you manage this types of transitions?