다중 거래가 복귀에 대한 오류: 품종 구독 실패

저자:루키0212, 창작: 2022-11-20 13:54:09, 업데이트:

""반검사 시작: 2022-11-18 00:00:00 끝: 2022-11-18 00:01:00 기간: 1m 기본 기간: 1m 거래소: {eid:Futures_Binance,currency:BTC_USDT},{eid:Futures_Binance,currency:ETH_USDT},{eid:Futures_Binance,currency:ETC_USDT} "

def main (: while True: while True: 로그 (exchange.GetAccount) for r in range ((len ((exchanges))): 로그 (가 추가된 거래소 객체 인덱스 (의 첫 번째 0은 다음과 같습니다): log, r, 이름: log, exchanges[r].GetName ((), 태그: log, exchanges[r].GetLabel (()) # exchanges[r].SetDirection (buy) # exchanges[r].Buy ((-1, 10, 더 많은 을 열고) #position_cangwei = _C (exchange.GetPosition) # 로그 (position_cangwei) #Sleep(10000) 정책의 마지막 5줄을 남겨두고 오류가 발생했습니다: 다양한 구독 실패 BTC_USDT_Futures_Binance 정책의 마지막 2-5 줄에 댓글을 달고, Sleep ((10000) 를 남겨두고, 또는 오류를 보고합니다: 품종 가입 실패 BTC_USDT_Futures_Binance 전략의 마지막 5줄을 모두 설명하는 것만으로도 오류가 발생하지 않습니다. 하지만 재검토는 멈추지 않습니다. 유치: 더 많은 거래 전략에 대한 방법img


더 많은

작은 꿈`` ''백테스트 시작: 2022-11-18 00:00:00 end: 2022-11-18 00:01:00 기간: 1m BasePeriod: 1m exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"},{"eid":"Futures_Binance","currency":"ETH_USDT"},{"eid":"Futures_Binance","currency":"ETC_USDT"}] '' def main (: while True: while True: 로그 (exchange.GetAccount) for r in range ((len ((exchanges))): Log (("이용된 거래소 객체 인덱스 ((첫 번째 0과 같이 추산):", r, "명:", exchanges[r].GetName ((), "태그:", exchanges[r].GetLabel (()) exchanges[r].SetContractType (("스") # 선물은 계약이 설정되는 exchanges[r].SetDirection (("buy") ") exchanges[r].Buy ((-1, 10, "더 많은") position_cangwei = _C (exchange.GetPosition) 로그 (position_cangwei) 수면 ((10000) `` 미래에 대한 계약에 대한 설정.