Function create_test_ohlcv_df

Source
pub fn create_test_ohlcv_df() -> DataFrame
Expand description

Creates a test OHLCV DataFrame for testing indicator functions

This function generates a DataFrame with OHLCV data suitable for testing technical indicators. The data follows a simple pattern with some randomness to simulate realistic price movements.

§Returns

  • DataFrame - A DataFrame with columns “open”, “high”, “low”, “close”, “volume”