avatar of feizai008 feizai008
집중하다 사신
1
집중하다
0
수행원

이 코드의 오류는 어디에 있나요?

만든 날짜: 2023-10-16 12:23:45, 업데이트 날짜:
comments   4
hits   812
> if dangqianjia > zhiying:
> ```

maichu = exchange.Sell(-1, shuliang)
order = exchange.GetOrder(maichu)
maichuid= order[“Id”]
Log(“市价挂单卖出:”,maichuid)

else: Log(“bu挂单卖出:”,dangqianjia)

如果当前价格高于止盈价格 就市价卖出

代码提示Traceback (most recent call last): File “”, line 1249, in init_ctx File “”, line 3236 maichu = exchange.Sell(-1, shuliang) ^ IndentationError: expected an indented block “`