ctp:autopos: fix wrong flags used to close positions

Fix wrong flags used to close positions by replacing
OF_Close with OF_CloseYesterday.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>