while True: data = fetch_latest_ohlcv("AAPL", interval="1min") features = engineer_features(data) prediction = model.predict(features)