Create MIS Equity Orders

Hi Team,

I want to generate MIS orders for stocks intraday.
I want to specify capital before start of trade.
For e.g. 1,00,000Rs for Buy and 1,00,000 for short.

Is there any way to specify this?

Also, if I create strategy and my funds are not available then what will happen to that trade?

Regards,
RJ