init
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user