def get_target_price_to_buy(market='KRW-BTC'):
    d = pyupbit.get_candle_data(market)
    return (d[0]['opening_price'] + ((d[1]['high_price'] - d[1]['low_price']) * 0.5))
def get_target_price_to_buy(market='KRW-BTC'):
    d = pyupbit.get_candle_data(market)
    return (d[0]['opening_price'] + ((d[1]['high_price'] - d[1]['low_price']) * 0.5))