Skip to content
All library documents

Diagnosing NaT Errors in BigQuant Simulated Trading

Article BigQuant

Summary

This support thread explains that NaT represents a missing or invalid date value and describes a simulated trading failure in BigQuant. The reported traceback shows NaT reaching a date lookup in the data portal, followed by a comparison error between an integer and NaTType. The thread does not identify the specific source of the invalid date, so the traceback alone is insufficient to establish a root cause.

The suggested investigation is to reproduce the run with the start and end dates set to the failing date, then inspect the resulting error and share the notebook or complete traceback for further diagnosis. The response also recommends replacing the legacy stockranker.v2 module with the newer training and prediction modules. This is platform troubleshooting guidance rather than a general trading method, and the proposed module change is a recommendation, not a demonstrated fix.

Key ideas

  • NaT represents a missing or invalid date value.
  • A NaT passed to date lookup can trigger downstream type comparison errors.
  • The traceback alone does not identify where the invalid date originated.
  • Reproducing the run on the failing date can help narrow the cause.
  • The response recommends replacing the unmaintained stockranker.v2 modules with newer training and prediction modules.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.