Skip to main content

The bindings for the C++ backtesting engine.

Project description

# Building the Bindings

To build and make the bindings, ensure you have CMake installed. Then, follow the instructions below.

_Python configuration:_

`bash sudo apt-get update sudo apt-get install python3.11-dev python3.11 -m venv .venv source .venv/bin/activate pip install -r requirements.txt `

_Build commands:_

`bash mkdir build cd build cmake -S .. -B . make -j `

Then, run the tests: ./test/tw-test.

Finally, ensure that there exists a twb.cpython-39-x86_64-linux-gnu.so file in the build directory.

# The FlatBuffer Compiler

## Building

  1. Download CMake: https://cmake.org/download/

  2. Install CMake:

`bash tar -zxvf cmake-<version>.tar.gz cd cmake-<version> ./bootstrap make -j sudo make install cd .. sudo rm -r cmake-<version> `

  1. Test installation: cmake –version

  2. Install the FlatBuffers compiler (ensure the version matches the one in the CMakeLists.txt file):

`bash git clone https://github.com/google/flatbuffers.git cd flatbuffers git checkout <version> cmake -G "Unix Makefiles" make -j sudo make install cd .. sudo rm -r flatbuffers `

  1. Test installation: flatc –version

## Usage

flatc –language -o output-directory flatbuffer-file.fbs

_–language specifies the language to compile the schema for. E.g. –cpp, –js, –ts, –python, etc._

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fftwb-0.1.1.tar.gz (775.9 kB view details)

Uploaded Source

Built Distribution

fftwb-0.1.1-py3-none-any.whl (787.7 kB view details)

Uploaded Python 3

File details

Details for the file fftwb-0.1.1.tar.gz.

File metadata

  • Download URL: fftwb-0.1.1.tar.gz
  • Upload date:
  • Size: 775.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for fftwb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 514a02968704256b9e4fc0010a88a0834186fabda2ed3f21b0e4fa98a2126d78
MD5 16f98f198f2024a1dd9f45f5afc5cc9c
BLAKE2b-256 d6a6b27ad6a7c6756a80916a7bf0143bbd896b7c6fb384a00cc819c191e30364

See more details on using hashes here.

File details

Details for the file fftwb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fftwb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 787.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for fftwb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4d849b939135eb8077ffdb77ef99118c837a3f40b3c49bbf979b7c427ecd79
MD5 f575638b3d6db0201387c924bedb3ca0
BLAKE2b-256 765c41c97888d5a9c4d33cf3922443b210f678f97cc130a95bc459355843dfb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page