Strategizer is a Python framework for executing and evaluating financial trading strategies with customizable signal generation.
Project description
Strategizer
Strategizer is a Python-based framework for executing various financial trading strategies. This package provides a simple interface to apply multiple strategies, evaluate their performance, and integrate them with machine learning models for more advanced use cases.
Features
- Pre-built trading strategies: Random, Buy Close Sell Open, SMA Crossover, and more.
- Flexible architecture to add your own custom strategies.
- Data handling using pandas and numpy.
- Integration with popular technical analysis libraries like
taand machine learning libraries likesklearn.
License
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to https://unlicense.org
Installation
- Clone the repository:
git clone https://github.com/nathanschmidt89/strategizer.git cd strategizer
Usage/Examples
Example: Running a Strategy
import pandas as pd
import numpy as np
from strategizer.main import StrategyExecutor, random_strategy
# Create sample data
data = pd.DataFrame({
'Date': pd.date_range(start='2023-01-01', periods=100),
'Close': np.random.randn(100).cumsum()
})
data.set_index('Date', inplace=True)
# Initialize the executor
executor = StrategyExecutor(data)
# Run a strategy
result = executor.execute_strategy(random_strategy)
print(result)
Authors
Nathan Schmidt is a programmer with years of experience in software development. Specializing in innovative programming solutions, Nathan has a commitment to open-source development and community collaboration. Known for his passion for clean code and efficiency, Nathan continues to contribute to the field of software engineering with a focus on impactful, real-world applications.
Support
For support, email nathan.schmidt.ns89@gmail.com or raise a Github issue.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strategizer-0.0.2.tar.gz.
File metadata
- Download URL: strategizer-0.0.2.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97b60b433625afdb61e52311e3e1357ff3197cbb54e6dd0fef5c6dd1478d9824
|
|
| MD5 |
e6f675f0537c29b0e7b9a0472ab72a22
|
|
| BLAKE2b-256 |
2b088891a06a722757efb874ca07fb851278532324763d3ad148172ac9c637d8
|
File details
Details for the file strategizer-0.0.2-py3-none-any.whl.
File metadata
- Download URL: strategizer-0.0.2-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddeba9264ddcde115b0b96ac85755ce30a2952bedd86b6187dff6395b2c85f43
|
|
| MD5 |
51a604b7a624afb92c1653b36753308d
|
|
| BLAKE2b-256 |
33df1ca35bcfeff9d44727a5d7f9f8772af9c9b280c8dafdb0bc431c50ad3f46
|