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
Download CMake: https://cmake.org/download/
Install CMake:
`bash tar -zxvf cmake-<version>.tar.gz cd cmake-<version> ./bootstrap make -j sudo make install cd .. sudo rm -r cmake-<version> `
Test installation: cmake –version
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 `
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514a02968704256b9e4fc0010a88a0834186fabda2ed3f21b0e4fa98a2126d78 |
|
MD5 | 16f98f198f2024a1dd9f45f5afc5cc9c |
|
BLAKE2b-256 | d6a6b27ad6a7c6756a80916a7bf0143bbd896b7c6fb384a00cc819c191e30364 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b4d849b939135eb8077ffdb77ef99118c837a3f40b3c49bbf979b7c427ecd79 |
|
MD5 | f575638b3d6db0201387c924bedb3ca0 |
|
BLAKE2b-256 | 765c41c97888d5a9c4d33cf3922443b210f678f97cc130a95bc459355843dfb1 |