Skip to main content

ALGOBRA

This is an algorithmic trading engine used to backtest, model, and develop trading strategies on real time/historic stock data.

Installation

Run the following to install:

pip install algobra

Usage

from algobra import engine

# Systems check to see if your machine can utilitize native performance improvements.
engine.optimize()

# See engine information
print(engine.info())

Developing Algobra

To install algobra, along with the tools you need to develop and run tests, run the following in your virtualenv.

pip install -e .[dev]

Concepts

  • Trading System Development
  • Trading System Design
  • Trading System Environment
  • Time Series Analysis
  • Optimization
  • Performance Measurements
  • Risk Management
  • Trading Strategy Implementation
  • Execution

Configuring DB

mysql -u root -p

mysql> CREATE DATABASE securities_master;
mysql> USE securities_master;
mysql> CREATE USER ’sec_user’@’localhost’ IDENTIFIED BY ’password’;
mysql> GRANT ALL PRIVILEGES ON securities_master.* TO ’sec_user’@’localhost’;
mysql> FLUSH PRIVILEGES;

Reference schemas.sql for the commands to create needed tables

Release files for algobra 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for algobra 0.0.3
File Size Uploaded
algobra-0.0.3.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for algobra 0.0.3
File Interpreter ABI Platform
algobra-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / algobra-0.0.3.tar.gz

Download URL algobra-0.0.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfe73402f2b737398f23d5de7e3cbe67ef9f238becb4ee8fc462543a8677e0a7
BLAKE2b-256 checksum
How to use checksums
daf78e6c9efdaab1a31411404c2e6f37b1bae9b4f511b8a9759c42be24033887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.0

Release files / algobra-0.0.3-py3-none-any.whl

Download URL algobra-0.0.3-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
969104b8fea533374dc7ee64b4dc7ca8eea337037810787890f23320fb029054
BLAKE2b-256 checksum
How to use checksums
458f01d208245474a9c75f2d87a0f3362f25ecb7ce343482008915a07550776c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page