Candlestick high 1d

How to place the order above the candlestick high the previous day? Python

Please check the market data for the acceptable maximum price (filterType = PRICE_FILTER), determine the number, and then place the order.