This is the official finterion plugin for the investing algorithm framework open source project.
Project description
Finterion Investing Algorithm Framework Plugin
This is the official plugin for the investing algorithm framework open source project.
Installation
You can install the plugin with pip.
pip install finterion-investing-algorithm-framework
Usage
In order to use the plugin you must register the following components in your investing algorithm framework application:
- FinterionOrderExecutor: This component is responsible for executing orders on the finterion platform.
- FinterionPortfolioProvider: This component is responsible for connecting the portfolio and syncing positions.
- FinterionPingHook: This component is responsible for pinging the finterion platform.
Note: You must provide the API key of your algorithm in order to use the plugin. You can find your API keys in the developer dashboard of your algorithm on the finterion platform.
Example
import logging.config
from dotenv import load_dotenv
from investing_algorithm_framework import create_app, DEFAULT_LOGGING_CONFIG
from finterion_investing_algorithm_framework import \
FinterionPortfolioProvider, FinterionOrderExecutor, FinterionPingAction
load_dotenv()
logging.config.dictConfig(DEFAULT_LOGGING_CONFIG)
app = create_app()
app.on_strategy_run(FinterionPingAction)
app.add_order_executor(FinterionOrderExecutor)
app.add_portfolio_provider(FinterionPortfolioProvider)
app.add_market(
market="Finterion",
api_key="<FINTERION_API_KEY>", # Or set the environment variable FINTERION_API_KEY
trading_symbol="EUR",
)
Documentation
You can find the official documentation at our documentation website
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 finterion_investing_algorithm_framework-0.22.0.tar.gz.
File metadata
- Download URL: finterion_investing_algorithm_framework-0.22.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
527edeabf2fa3313f9e3aadcfaa60099c71028762d00f48563900cffec1b6886
|
|
| MD5 |
7965abf23be0932feec5dd40dd90fab7
|
|
| BLAKE2b-256 |
e400b0276385f22c806deb334a041e30a8b69ade66eed5f461ab22530b40522d
|
File details
Details for the file finterion_investing_algorithm_framework-0.22.0-py3-none-any.whl.
File metadata
- Download URL: finterion_investing_algorithm_framework-0.22.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.3 Linux/6.11.0-1012-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
102e0ae66de72c3b8a502f4b8ce15d8d212b4ad933cf71c59be6296040eceacf
|
|
| MD5 |
05083987453b288c13db99ccd752d0be
|
|
| BLAKE2b-256 |
24c1c2fa5090027a6632a511e6b6154f92be763fce726ce855f27d96319ed90c
|