Chapter 1: Quantitative Investment Overview and Environment Setup¶
This chapter is currently maintained in Chinese first.
- Chinese chapter: 第 1 章:量化投资概述与环境搭建
- Textbook home: Chinese textbook index
- Time semantics note:
bar.timestampis a UTC nanosecond timestamp.bar.timestamp_isois a UTC ISO 8601 string.self.now,self.to_local_time(...), andself.format_time(...)are the recommended display-layer helpers for local timezone rendering.- A Beijing market close such as
2023-01-03 15:00:00+08:00may therefore appear as2023-01-03T07:00:00Zin structured fields. This is expected and represents the same instant. - Practice links:
- Primary example: examples/textbook/ch01_quickstart.py
- Extended example: examples/01_quickstart.py
- Guide: Quickstart Guide