API Wrapper v3.1 - Breaking Change

To address issues with file ingestion, we will be releasing v3.1 of our Python API wrapper (p123api) on 8/25.

This update introduces a breaking change to three operations:

  • data_series_upload
  • stock_factor_upload
  • strategy_transaction_import

What changes: The data parameter expects str | IO[bytes] instead of str | IO[str]. If you pass a file stream to these methods, you must now open the file in binary mode (e.g., open('file.csv', 'rb')).