In DolphinDB, we can import historical data into a stream table in chronological order as “real-time data” so that the same script can be used both for backtesting and real-time trading. Regarding streaming in DolphinDB, please refer to DolphinDB Streaming Tutorial.
This article introduces the functions replay
and replayDS
and then demonstrates the process of data replaying.