Hi @YanHan Does this work for you?
from datetime import datetimeimport lseg.data as ldld.open_session()instrument = '0700.HK' # Example: Tencent Holdings Ltdstart_date = '2023-01-01'end_date = '2023-12-31'data = ld.get_history( universe=[instrument], fields=['BID', 'ASK', 'OPEN', 'HIGH', 'LOW', 'CLOSE', 'VOLUME'], start=start_date, end=end_date, interval='daily')# Close the sessionld.close_session()# Display the dataprint(data)