Installation
Trading Strategy Engine ships as a licensed binary library for Windows and Ubuntu. After purchase, a one-time download link is issued for your platform variant.
What the package contains
The product is delivered as a dynamic object and is loaded as a dynamic object:
tse_export.dll on Windows, libtse_export.so on Linux. It arrives
accompanied by the C headers under include/tse/, with tse/tse.h as
the umbrella header; the C++ wrapper, which is one header plus one translation unit
(tse.hpp and tse.cpp); and the Python module tse.py,
a single ctypes wrapper.
Everything the library carries of its own is linked into it statically, so nothing of the engine has to be shipped beside it.
Which file is opened at run time
Three sources are consulted, in order. An explicit path argument decides it outright. When
none is given, the TSE_EXPORT_LIB environment variable is consulted. Failing that,
the platform's default file name is looked up on the loader path.
The default name is platform-specific and may carry the build's version segment:
libtse_export[.MAJOR.MINOR].so on Linux,
tse_export[.MAJOR.MINOR].dll on Windows.
tse.default_lib_filename() returns it.
import tse
account = tse.Account("MyAccount", tse.StorageRegime.Mem,
lib_path="/path/to/libtse_export.so")
From C or C++, include the umbrella header, compile your program together with
tse.cpp and link -ltse_export.
g++ -std=c++20 -I tse -I tse/include main.cpp tse/tse.cpp \
-L tse -ltse_export -Wl,-rpath,tse -o app
Windows (x64)
- Download the Windows package from your account.
- Place
tse_export.dllon the loader path, or pointTSE_EXPORT_LIBat it, or pass its path explicitly. - Link it from C or C++, or load it from Python through
tse.py.
Ubuntu 22.04 LTS
- Download the Ubuntu package from your account.
- Place
libtse_export.soon the loader path, or pointTSE_EXPORT_LIBat it, or pass its path explicitly. - Link it from C or C++, or load it from Python through
tse.py.
License validation
To validate its license, the product must reach the internet at least once every 7 days.
Version 5.1