0
집중하다
0
수행원

OKEx에서 롱, 숏, 오픈, 클로즈 롱 계약을 작성하는 방법은 무엇인가요?

만든 날짜: 2018-06-03 20:50:44, 업데이트 날짜: 2019-07-31 17:33:51
comments   3
hits   4310

okex의 원시 API는 type 필드 1: open + 2: open + 3: open + 4: open을 통해 모든 거래를 수행 할 수 있습니다. 하지만 어떻게 발명가들의 API를 통해 글을 쓸 수 있을까요? 이게 아래쪽인가요?

더 많은

exchange.SetDirection(“buy”) exchange.Buy(Price, Amount)

평도

exchange.SetDirection(“closebuy”) exchange.Sell(Price, Amount)

빈 공간

exchange.SetDirection(“sell”) exchange.sell(Price, Amount)

평평한

exchange.SetDirection(“closesell”) exchange.buy(Price, Amount)