コードは次のとおりです。 #両方向のポジションを設定する self.exchange.IO(“api”, “POST”, “/fapi/v1/positionSide/dual”, “dualSidePosition=false”) #全ポジション設定 self.exchange.IO(“cross”, True)
記事の内容は以下の通りです. Futures_OP 4: 400: {“code”:-4046,“msg”:“No need to change margin type.”} Futures_OP 4: 400: {“code”:-4059,“msg”:“No need to change position side.”}