Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def set_break_out_range(ticker, status, hour):
df = pyupbit.get_daily_ohlcv_from_base(ticker, base=hour)
k = noise.get_average_noise_ratio(df, days=9)
break_out_range = larry.get_break_out_range(df, k)
betting_ratio = betting.get_betting_ratio(df, break_out_range, num_coins=1)
status[hour][1] = break_out_range # 해당 시간대 목표가 설정
status[hour][2] = betting_ratio # 해당 시간대 베팅 비율
time.sleep(10)