When running my algo I noticed these:
2003-08-01 WARN Your order for 11027 shares of SHY has been partially filled. 6870 shares were successfully purchased. 4157 shares were not filled by the end of day and were canceled.
This algo balances monthly so I want to keep the order open until it's filled. Is there any recommended way to keep orders open until they are filled or is it assumed that every user will implement reopening functionality themselves?