Commit e03dde7
committed
Log KIS API responses and handle zero current price fallback
- Add debug logging of full KIS API responses for better traceability.
- Introduce fallback to `base` price when `last` (current price) is zero; log warnings accordingly.
- Update overseas stock price handling logic to use corrected current price values.
- Add `repro_kis_price.py` script for debugging and testing KIS API price retrieval.1 parent 6526496 commit e03dde7
2 files changed
+47
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
988 | 991 | | |
989 | 992 | | |
990 | 993 | | |
| |||
1005 | 1008 | | |
1006 | 1009 | | |
1007 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1008 | 1021 | | |
1009 | 1022 | | |
1010 | 1023 | | |
1011 | 1024 | | |
1012 | 1025 | | |
1013 | 1026 | | |
1014 | 1027 | | |
1015 | | - | |
| 1028 | + | |
1016 | 1029 | | |
1017 | 1030 | | |
1018 | 1031 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments