Skip to main content

This is the official finterion plugin for the investing algorithm framework open source project.

Project description

Finterion Investing Algorithm Framework Plugin

Finterion Logo

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


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file finterion_investing_algorithm_framework-0.23.0.tar.gz.

File metadata

File hashes

Hashes for finterion_investing_algorithm_framework-0.23.0.tar.gz
Algorithm Hash digest
SHA256 a0e3215d6bb8033b09f2a45da4cd32ff7343bb1044cb05eb77dd8b12d893b5bf
MD5 707100a4449f289b0b57a6a8aac035f6
BLAKE2b-256 ce7fcbdf018abb7fbe8e7843e1a11e74c29fdcd66df1e89bfe818bcef0df01c8

See more details on using hashes here.

File details

Details for the file finterion_investing_algorithm_framework-0.23.0-py3-none-any.whl.

File metadata

File hashes

Hashes for finterion_investing_algorithm_framework-0.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac48421e0efa5981ab8da49269d4ead1e11f2b56547643ba89b5f34e1a904504
MD5 ce3e9db908ea4565db4d6e5be6dcfd2b
BLAKE2b-256 09ae2f026b9facc1ee72e244b52cf5d65bcd0f8219da81c7a204045326ef6449

See more details on using hashes here.

Supported by

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