An if statement executes a segment of code only if its condition is true. A standard if statement consists of 3 segments: if, elif and else. An if statement doesn't necessarily has elif and else part.
LEAN can backtest local crypto data reliably, but this project uses Binance USD-M futures/perpetual OHLCV as the price source. The adapter therefore stores the futures bars in LEAN crypto minute ...