Hi I'm very new to both the forum and python writing language. There is something I would like to ask you, dear group members and masters, and I hope I can express it correctly.
# LOAD BARS 5m
bars = exchange.fetch_ohlcv(symbol, timeframe="5m", since = None, limit = 100)
df = pd.DataFrame(bars, columns=["timestamp", "open", "high", "low", "close", "volume"])
in a dataset (100 rows) expressed in the figure above;
- the smallest value in the last 3 data?
- the smallest value in the last 50 data? within the last 50 data - excluding the most recent data
- the smallest value? in the last 50 data - excluding the 2 most recent data
- the smallest value? the smallest value in the last 50 data - excluding the 3 most recent data?
How can it be written in python???