Order Not Being Executed

I created a system which involves sending a limit order (IOC validity) to take a long and short position in different stocks but it so happens that a position is opened in one stock everytime a signal is generated but not in the other stock so, is it only because of the limit order or the program's execution speed or some other error?
Sign In or Register to comment.