feat: merge datetime fields in DataFrame output, hide MinuteBar internal fields

- K-line: daily+ periods output 'date' only, minute periods output 'datetime'
- Transactions (tick-by-tick): combine date param + hour/minute into 'datetime'
- XdxrRecord, HistoricalFundFlow: year/month/day merged to 'date'
- MinuteBar: rename unknown_1 to _unknown_1 (hidden from DataFrame)
- MinuteBar: add datetime column computed from bar index (A-share 240-bar pattern)
- get_minute_time_data: use history endpoint only (current-day endpoint broken in pytdx too)
- Update all examples to reflect new DataFrame column names
This commit is contained in:
Justin Gu
2026-05-22 04:19:07 +08:00
parent 0d7f7aead1
commit 02701952ca
49 changed files with 1242 additions and 663 deletions
+1 -1
View File
@@ -3,6 +3,6 @@
"first": {
"price": 0.01,
"vol": 48,
"unknown_1": 54
"_unknown_1": 54
}
}