Selim Ozbas

Results comments of Selim Ozbas

You can use this code for supertrend get_atr = ATR(high_array, low_array, close_array, atr_period, atr_multiplier) previous_final_upperband = 0 previous_final_lowerband = 0 previous_close = 0 previous_supertrend = 0 supertrend = [] supertrendc...

Hi, I think the following code will solve your problem info = client.get_symbol_info(symbol=pair) f = [i["stepSize"] for i in info["filters"] if i["filterType"] == "LOT_SIZE"][0] qty = round(qty, f.index("1") - 1)

+1 and what is difference v1 and v3?

I know that is different sites. I mean api version. when I check the official binance docs, I see api v1, v2, v3