월 19,800원
5개월 할부 시다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
볼린저 밴드 알고리즘을 돌리다가 오류가 뜹니다.
cancel before timestep-long ask_order_status error msg:ExecuteError [Executing] -1102: Mandatory parameter 'orderid' was not sent, was empty/null, or malformed.이 에러가 뜨는데 cancle 동작 중에 orderId가 반환이 안돼서 그런 것 같은데 바이낸스 api를 잘 몰라서 정확히 뭐가 문제인지 모르겠네요.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
동작은 하는데 거래를 안 하는 건 파라미터 문젠가요?
역추세 메매로 돌리고 있는데 베이지안 최적화로 전체도 돌려보고 특정 부분도 돌려보면서 여러 값을 실제로 돌려봤는데 하루 동안 돌려도 거래를 아예 안 하더라구요. 리플로 했고 값은 아래와 같이 넣었습니다.revenue_rate = 0.08521445990492697 #익절 비율(Tunning) max_loss_rate = 0.014943429883010916 #손절 비율(Tunning) open_cnt_limit = 5.468906689466588 #최대 오픈 건수(Tunning)
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
ec2 사용하려고하는데 사이즈
안녕하세요 강사님!해당 프로그램 ec2 인스턴스로 돌리고 싶은데사이즈는 어느정도가 좋을까요?백테스트나 다른 것들은 로컬에서 돌릴예정이고실제 트레이딩 봇만 구동하려고합니다
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
갑자기 에러가 생깁니다.. 해결 방법 좀 알려주세요.
잘되던 프로그램이 불현듯long take profit-get_position_amt error msg:ExecuteError [Executing] -5000: GET /fapi/v1/positionRisk is retired, please use GET /fapi/v2/positionRisk 메세지를 내보내며 계속 오류가 납니다종목 관계없이 생기는데숏포지션은 되면서 롱에서만 생기는데 해결방법좀 알려주시면 감사하겠습니다.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
선생님 타지표 문의 드립니다.
혹시 실시간으로 zigzag 지표를읽어드리고 싶은데어떻게 불러서 사용해야 하는지 알려주시면 감사하겠습니다.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
다음과 같은 에러가 발생하네요...
설정된 XRP에서는 문제가 없으나TRX.ETH (아직 이 두종목만 돌려서 다른종목은 확인안됨)등에서 처음 거래만 되고 다음과 같은 에러가 발생합니다.long open position-trade_buy_long error msg:ExecuteError [Executing] -1111: Precision is over the maximum defined for this asset.cancel before timestep-long ask_order_status error msg:ExecuteError [Executing] -1102: Mandatory parameter 'orderId' was not sent, was empty/null, or malformed.Precision 설정에 문제가 있는것인지아니면 따로 설정해줘야 하는것인지 궁금합니다.설정에서 문제가 있다면 어떤것을 수정해야 하는지알고 싶습니다.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
binance open api 관련 질문
##### 초기설정from binance_f import RequestClientfrom binance_f.model.constant import *import comm.config as confg_api_key = conf.G_API_KEY # binance API keyg_secret_key = conf.G_SECRET_KEY # binance secret keycoin_name = 'BTCUSDT'request_client = RequestClient(api_key=g_api_key, secret_key=g_secret_key)============================위 코드에서 다음과 같은 에러가 생깁니다.ModuleNotFoundError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_11680\3056222166.py in <module> 1 ##### 초기설정 2 ----> 3 from binance_f import requestclient 4 from binance_f.model.constant import * 5 import comm.config as conf C:\evan_future_bit\evan\binance_f\__init__.py in <module> 1 from binance_f.requestclient import RequestClient ----> 2 from binance_f.subscriptionclient import SubscriptionClient C:\evan_future_bit\evan\binance_f\subscriptionclient.py in <module> 4 from binance_f.impl.websocketrequestimpl import WebsocketRequestImpl 5 from binance_f.impl.websocketconnection import WebsocketConnection ----> 6 from binance_f.impl.websocketwatchdog import WebSocketWatchDog 7 from binance_f.impl.restapirequestimpl import RestApiRequestImpl 8 from binance_f.model import * C:\evan_future_bit\evan\binance_f\impl\websocketwatchdog.py in <module> 1 import threading 2 import logging ----> 3 from apscheduler.schedulers.blocking import BlockingScheduler 4 from binance_f.impl.websocketconnection import ConnectionState 5 from binance_f.impl.utils.timeservice import get_current_timestamp c:\python377\lib\site-packages\apscheduler-4.0.0a2-py3.7.egg\apscheduler\__init__.py in <module> 51 from ._context import current_job, current_scheduler, current_worker 52 from ._enums import CoalescePolicy, ConflictPolicy, JobOutcome, RunState ---> 53 from ._events import ( 54 DataStoreEvent, 55 Event, c:\python377\lib\site-packages\apscheduler-4.0.0a2-py3.7.egg\apscheduler\_events.py in <module> 13 from ._converters import as_aware_datetime, as_enum, as_uuid 14 from ._enums import JobOutcome ---> 15 from ._structures import JobResult 16 from ._utils import qualified_name 17 c:\python377\lib\site-packages\apscheduler-4.0.0a2-py3.7.egg\apscheduler\_structures.py in <module> 8 9 import attrs ---> 10 import tenacity.stop 11 import tenacity.wait 12 from attrs.validators import instance_of ModuleNotFoundError: No module named 'tenacity'
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
프로그램 에러 내용과 대처가 궁금합니다.
프로그램을 돌리다 보면처음에는 잘 돌아가다가 시간이 어느정도지나면보통10분에서 -20분 사이가 지난 후에cancel before timestep-long ask_order_status error msg:ExecuteError [Executing] -1102: Mandatory parameter 'orderId' was not sent, was empty/null, or malformed이런 내용의 에러가 뜬 후 거래가 안됩니다.모든 프로그램에서 에러가 뜨는데대처가 궁금합니다.
- 해결됨비트코인 선물거래 자동매매 시스템(저자직강)
3.4.robobytes_macd 파일 오류
3.4.robobytes_macd 파일을 실행시키면다음과 같은 오류가 발생합니다. 이유를 알수 있을까요?
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
서버에서 python파일 돌리는 방법
안녕하세요 완성된 python 파일을 24시간 서버에서 돌리기 위해서는 어떻게 해야 하나요?
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
백테스트 에러 발생 문의
안녕하세요 3.1 backtest_macd.ipynb를 약간 변형해서 돌리는데 도중에 아래와 같은 에러가 발생합니다. 잘 돌아가다가 중간에 에러가 발생해서 원인을 찾기 힘드네요. *[19534] time:11/02/22 19:03:00 stop long loss:-8.0876 revenue:-4.6852 unit:0.065 ... *[164109] time:02/11/23 00:45:00 profit short profit:3.342 revenue:-162.9091 unit:0.0292 *[164468] time:02/11/23 06:43:00 profit short profit:2.8615 revenue:-160.0476 unit:0.0304 *[168046] time:02/13/23 18:16:00 stop long loss:-3.8556 revenue:-163.9032 unit:0.0311 *[168049] time:02/13/23 18:19:00 profit short profit:5.0146 revenue:-158.8886 unit:0.0304 --------------------------------------------------------------------------- IndexError Traceback (most recent call last) C:\Users\Public\Documents\ESTsoft\CreatorTemp\ipykernel_27880\3903563835.py in <module> 50 for i in range(0, 300000): #300000 51 ---> 52 t = round(df.iloc[i+1:i+2]['t'].values[0],4) #시간 53 close1 = round(df.iloc[i:i+1]['c'].values[0],4) #이전 타임스텝 종가 54 close2 = round(df.iloc[i+1:i+2]['c'].values[0],4) #현재 타임스텝 종가 IndexError: index 0 is out of bounds for axis 0 with size 0
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
10분 interval 데이터 다운로드
안녕하세요 120일 데이터 받기에서 10분기준 데이터를 받기위해서 URL의 interval= 1min에서 10min으로 변경후 실행하면 에러가 발생합니다. 어떻게 10min간격의 데이터를 받을 수 있나요? base_url10 = "https://www.binance.com/fapi/v1/klines?symbol=ETHUSDT"+ \ "&interval=10m&limit=1000&startTime={}" gettimestamp = int(time.time() - 60*60*24 * 120)*1000 Output exceeds the size limit. Open the full output data in a text editor --------------------------------------------------------------------------- ValueError Traceback (most recent call last) C:\Users\Public\Documents\ESTsoft\CreatorTemp\ipykernel_5868\2900440989.py in <module> 17 18 #(3)JSON 형식 데이터 읽어서 임시 데이터프레임에 저장 ---> 19 df_candle_temp = pd.read_json(webpage.content) 20 21 #(4) 새로받은 데이터를 기존 데이터프레임과 병합 c:\Users\David\anaconda3\envs\AutoTrade377\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs) 205 else: 206 kwargs[new_arg_name] = new_arg_value --> 207 return func(*args, **kwargs) 208 209 return cast(F, wrapper) c:\Users\David\anaconda3\envs\AutoTrade377\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs) 309 stacklevel=stacklevel, 310 ) --> 311 return func(*args, **kwargs) 312 313 return wrapper c:\Users\David\anaconda3\envs\AutoTrade377\lib\site-packages\pandas\io\json\_json.py in read_json(path_or_buf, orient, typ, dtype, convert_axes, convert_dates, keep_default_dates, numpy, precise_float, date_unit, encoding, encoding_errors, lines, chunksize, compression, nrows, storage_options) 612 ... --> 625 raise ValueError("If using all scalar values, you must pass an index") 626 627 if have_series: ValueError: If using all scalar values, you must pass an index
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
3분 기준 StochRSI계산방법
안녕하세요아래에서 1분이 아닌 3분 기준으로 한 SRSI구하려면 parameter를 어떻게 변경하면 되나요. 더불어 SRSI가 과매도 기간에 있을때 이것이 상승하는 중인지, 하강하는 중인지 판단할 수 있는 방법이 있을까요? 감사합니 from ta.momentum import StochRSIIndicator stochRSI = StochRSIIndicator(df['c'], window=14, smooth1=3, smooth2=3) df['srsi'] = stochRSI.stochrsi() df['srsik'] = stochRSI.stochrsi_k() df['srsid'] = stochRSI.stochrsi_d() df.tail(10)
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
ipynb 파일 위치문의
안녕하세요. 다운받은 자료 폴더중에서 trading_counter_backtest_gridsearch.ipynb 파일을 어디서 찾을 수 있나요? robobytes 폴더에서 안보여서 질문드립니다.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
추가지표문의
안녕하세요. 본 강의에서 언급되지 않은 다른 추가 지표 , 예를 들어 Qualitative Quantitative Estimation (QQE) indicator, 같은 것들을 사용할 수 있는 방법이 있나요? 현재 Trading view에서 이 지표를 사용하고 있어서요.
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
BinanceApiException: ('ExecuteError', "[Executing] -4061: Order's position side does not match user's setting.")
#### 주문: LONG 지정가매수BinanceApiException: ('ExecuteError', "[Executing] -4061: Order's position side does not match user's setting.")아래를 실행하면 위와 같은 에러가 발생합니다. App에서는 hedge mode가 아니라 one way로 세팅되었구요. API 에서 hedge mode, one way mode를 어떻게 변경하나요?result = request_client.post_order(symbol=coin_name,side=OrderSide.BUY,ordertype=OrderType.LIMIT,quantity = '20',price = '0.4002',timeInForce = "GTC",positionSide="LONG")print(">>orderId:{}".format(result.orderId))
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
python version
안녕하세요. Python 3.7.7을 설치하도록 되어있는데 3.7.16 version설치할 경우 문제가 있을까요?
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
read_json()관련 질문
웹크롤러 제작 관련 중 오류가 계속해서 나와서 질문하는 바입니다. 샘플코드를 실행해도 다음과 같은 오류가 나서 질문드리는 바입니다. 웹크롤러 120일 전체 데이터를 받아오는 코드에 대해 질문드리는 바입니다. df_candle_temp = pd.read_json(webpage.content) 에 대해 계속해서 오류가 나오는데, TypeError: Expected file path name or file-like object, got <class 'bytes'> type 라는 말이 나오는데, 이 에러의 표면적인 뜻(?)는 알겠으나, 진짜로 왜 이 에러가 뜨는지, 그리고 어떻게 해결해야 하는지를 잘 모르겠어서 이렇게 질문드리는 바입니다.아래는 에러 메시지입니다.--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[14], line 22 19 webpage = requests.get(url) 21 #(3)JSON 형식 데이터 읽어서 임시 데이터프레임에 저장 ---> 22 df_candle_temp = pd.read_json(webpage.content) 24 #(4) 새로받은 데이터를 기존 데이터프레임과 병합 25 df_candle = pd.concat([df_candle,df_candle_temp],axis=0) File C:\python3111\Lib\site-packages\pandas\util\_decorators.py:211, in deprecate_kwarg.<locals>._deprecate_kwarg.<locals>.wrapper(*args, **kwargs) 209 else: 210 kwargs[new_arg_name] = new_arg_value --> 211 return func(*args, **kwargs) File C:\python3111\Lib\site-packages\pandas\util\_decorators.py:331, in deprecate_nonkeyword_arguments.<locals>.decorate.<locals>.wrapper(*args, **kwargs) 325 if len(args) > num_allow_args: 326 warnings.warn( 327 msg.format(arguments=_format_argument_list(allow_args)), 328 FutureWarning, 329 stacklevel=find_stack_level(), 330 ) --> 331 return func(*args, **kwargs) File C:\python3111\Lib\site-packages\pandas\io\json\_json.py:733, in read_json(path_or_buf, orient, typ, dtype, convert_axes, convert_dates, keep_default_dates, numpy, precise_float, date_unit, encoding, encoding_errors, lines, chunksize, compression, nrows, storage_options) 730 if convert_axes is None and orient != "table": 731 convert_axes = True --> 733 json_reader = JsonReader( 734 path_or_buf, 735 orient=orient, 736 typ=typ, 737 dtype=dtype, 738 convert_axes=convert_axes, 739 convert_dates=convert_dates, 740 keep_default_dates=keep_default_dates, 741 numpy=numpy, 742 precise_float=precise_float, 743 date_unit=date_unit, 744 encoding=encoding, 745 lines=lines, 746 chunksize=chunksize, 747 compression=compression, 748 nrows=nrows, 749 storage_options=storage_options, 750 encoding_errors=encoding_errors, 751 ) 753 if chunksize: 754 return json_reader File C:\python3111\Lib\site-packages\pandas\io\json\_json.py:818, in JsonReader.__init__(self, filepath_or_buffer, orient, typ, dtype, convert_axes, convert_dates, keep_default_dates, numpy, precise_float, date_unit, encoding, lines, chunksize, compression, nrows, storage_options, encoding_errors) 815 if not self.lines: 816 raise ValueError("nrows can only be passed if lines=True") --> 818 data = self._get_data_from_filepath(filepath_or_buffer) 819 self.data = self._preprocess_data(data) File C:\python3111\Lib\site-packages\pandas\io\json\_json.py:858, in JsonReader._get_data_from_filepath(self, filepath_or_buffer) 851 filepath_or_buffer = stringify_path(filepath_or_buffer) 852 if ( 853 not isinstance(filepath_or_buffer, str) 854 or is_url(filepath_or_buffer) 855 or is_fsspec_url(filepath_or_buffer) 856 or file_exists(filepath_or_buffer) 857 ): --> 858 self.handles = get_handle( 859 filepath_or_buffer, 860 "r", 861 encoding=self.encoding, 862 compression=self.compression, 863 storage_options=self.storage_options, 864 errors=self.encoding_errors, 865 ) 866 filepath_or_buffer = self.handles.handle 867 elif ( 868 isinstance(filepath_or_buffer, str) 869 and filepath_or_buffer.lower().endswith( (...) 872 and not file_exists(filepath_or_buffer) 873 ): File C:\python3111\Lib\site-packages\pandas\io\common.py:900, in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options) 895 is_wrapped = not ( 896 isinstance(ioargs.filepath_or_buffer, str) or ioargs.should_close 897 ) 899 if "r" in ioargs.mode and not hasattr(handle, "read"): --> 900 raise TypeError( 901 "Expected file path name or file-like object, " 902 f"got {type(ioargs.filepath_or_buffer)} type" 903 ) 905 handles.reverse() # close the most recently added buffer first 906 if ioargs.should_close: TypeError: Expected file path name or file-like object, got <class 'bytes'> type
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
강의 누락된거 아닌가요?
백테스트 하기도 전에튜닝부터 나오는데강의 누락된거 아닌가요?
- 미해결비트코인 선물거래 자동매매 시스템(저자직강)
안녕하세요
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문호의는 1:1 문의하기를 이용해주세요. 안녕하세요! 혹시 개인교습을 받을 수 있는 방법이 있을까용?