Don't allow what's going to fail

If AMO order is the only one allowed after market close, why not disable all the other invalid options after market hours?
There are many such super simplifying opportunities in kite that will help us trade more that generates more revenue to zerodha :slight_smile:

@nithin gurugale daya maadsi :slight_smile:


:slight_smile: the issue is the same order form is used for multiple exchange/products. Commodities are open till midnight. But yeah, by exchange type, maybe.

Nodthini yenaro madak agatha… :wink:

1 Like


My basic programing knowledge would come up with over simplified pseudo code:
If form = commodity form{
use commodity form
} if form = equity{
use equity

Suitable design patterns (strategy pattern?) if applied here, it is easy.