This commit is contained in:
dsyoon
2025-08-09 17:28:19 +09:00
parent 43982edb5b
commit 00affbae06

View File

@@ -1,10 +1,13 @@
from HTS2 import HTS
import sqlite3
from monitor_coin import get_coin_more_data
from config import *
from config import *
from HTS2 import HTS
from monitor_coin import MonitorCoin
monitorCoin = MonitorCoin()
hts = HTS()
def inserData(symbol, interval, data):
conn = sqlite3.connect('coins.db')
cursor = conn.cursor()
@@ -42,7 +45,7 @@ def download():
# 1시간
interval = 60
data = get_coin_more_data(symbol, interval, bong_count=10000)
data = monitorCoin.get_coin_more_data(symbol, interval, bong_count=10000)
if data is not None and not data.empty:
try: