Skip to main content

Allowed Imports

Python Environment

Pre-installed Packages and Versions:

  • Python Version: 3.10
  • pandas==2.2.2
  • numpy==1.26.4
  • pandas-ta==0.3.14b0

Allowed Imports in Strategy Code

You can import the following standard libraries and approved packages in your strategy scripts:

import datetime
import pandas as pd
import numpy as np
from eventManager import Strategy, runEvents
  • pandas-ta is used internally for indicator calculations but cannot be imported directly in user scripts.

Import Restrictions

  • No external packages beyond the approved list can be installed or imported.
  • Network calls or external API usage is not allowed inside strategy scripts.
  • The core strategy must remain self-contained for performance and security.