목록2024/11/20 (2)
Creative Code
import requestsimport pandas as pdimport numpy as npimport timefrom datetime import datetime, timedeltafrom sklearn.preprocessing import MinMaxScalerfrom tensorflow.keras.models import Sequentialfrom tensorflow.keras.layers import LSTM, Densefrom pytz import timezonedef fetch_bithumb_data(coin_symbol, save_path): """ 특정 코인의 1분 간격 데이터를 최근 3일 간 수집하여 CSV로 저장 """ base_url = "https://api...
import requestsimport pandas as pdimport numpy as npimport timefrom datetime import datetime, timedeltafrom sklearn.preprocessing import MinMaxScalerfrom tensorflow.keras.models import Sequentialfrom tensorflow.keras.layers import LSTM, Densefrom pytz import timezonedef fetch_bithumb_data(coin_symbol, save_path): """ 특정 코인의 1분 간격 데이터를 최근 3일 간 수집하여 CSV로 저장 """ base_url = "https://api...