Skip to content

v0.8.3 — Reduce batch size to 4 periods per API call

Choose a tag to compare

@saidsurucu saidsurucu released this 09 Mar 19:48
· 14 commits to master since this release

Changes

  • Batch boyutu 5→4: _MAX_PERIODS_PER_CALL 5'ten 4'e düşürüldü
    • İş Yatırım MaliTablo API'si 5 dönemlik isteklerde bazen boş sonuç döndürüyordu
    • 4'lü batch'ler daha güvenilir çalışıyor
    • last_n=5 artık 2 batch (4+1), last_n=10 artık 3 batch (4+4+2)

Technical

  • _MAX_PERIODS_PER_CALL = 54
  • Hardcoded periods[:5]periods[:self._MAX_PERIODS_PER_CALL]
  • 53 test pass