Infront Desktop API for Python

Data and knowledge is the raw material of Financial Markets. Naturally, the financial industry is quickly merging their traditional techniques with Data Science, Artificial Intelligence, and other quantitative methods.

At Infront we strive to deliver quality tools for professionals which allow them to be at the cutting-edge of technology and ahead of the competition. With the Infront Professional terminal and its Desktop APIs, you count with all the tools necessary to let your knowledge and creativity maximize your work.

Using Infront’s Destop API for Python, you can conduct portfolio analyses, simulate extreme events and their effect on prices, create visualizations and indicators to better understand the market dynamics, and much more.

Python, as your daily companion with your Infront Professional terminal, provides you with over 114,000 open-source packages covering thousands of use cases.

Installation of the InfrontConnect Module via PyPi

Open the Command Prompt or Windows PowerShell as administrator and type:

pip install InfrontConnect

The installation will include InfrontConnect as well as its dependencies.

Remarks: If you have several Python environments in your machine, make sure that you specify the path. E.g.  C:\>C:\Users\YourUser\AppData\Local\Programs\PythonXX-XX\python.exe -m pip install InfrontConnect

Import the InfrontConnect module

To import the InfrontConnect module, add in your script:

from InfrontConnect import infront

Enter credentials

In your script, or console:

infront.InfrontConnect(user = "myuser", password = "mypassword")

The user and password is the one you use to login in the Infront terminal.

Upgrading the InfrontConnect module via PyPi

Open the Command Prompt or Windows PowerShell as administrator and type:

pip install InfrontConnect --upgrade

This command will update the InfrontConnect module as well as its dependencies.

If with the --upgrade command you obtain an error, remove the package and install it again:

pip uninstall InfrontConnect 

pip install InfrontConnect 

Documentation