Closed igkoh closed 4 years ago
In create orders, action has ORDER_ACTION_BUY('BUY') ,ORDER_ACTION_SELL('SELL'). What is closing of long position in current holdings?
Best regards, Ingyu
@igkoh You can use "quantity" field to indicate long or short.https://github.com/hbdmapi/hbdm_Python/blob/master/alpha/platforms/huobi_swap_trade.py#L277
In create orders, action has ORDER_ACTION_BUY('BUY') ,ORDER_ACTION_SELL('SELL'). What is closing of long position in current holdings?
Best regards, Ingyu