ctp:ctpParser: add support to close positions opened today

Add support to close positions opened today (OF_CloseToday).

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:autopos: fix exception while halting

Fix an exception caused while halting.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
test:testctp: update test to CtpAutoPosition

Update test to CtpAutoPosition to halt using its own halt().

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