ctp:ctpagent/ctpapi/testctp: fix open_opsition

1) fix open_opsition.
2) add promption for trading calls.
3) separate MD and TD in test.

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