Infront Connect

Infront Desktop API for Python and R

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.

Installation of the InfrontConnect Module via PyPi

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.

Step 1

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

 

Step 2

To import the InfrontConnect module, add in your script:

from InfrontConnect import infront

Step 3

Enter credentials in your script, or console:

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

The user and password is the one you use to log in to the Infront Professional Terminal.

Step 4

To upgrade 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

Infront Desktop API for R

Using Infront’s destop API for R, 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.

R, as your daily companion with your Infront Professional terminal, provides you with over 6,500 open-source packages covering thousands of use cases.

Installation of the InfrontConnect library (R)

In your console type:

install.packages("devtools")

devtools::install_bitbucket
("infrontdev/InfrontConnect")

The installation will include InfrontConnect as well as its dependencies.

Import the InfrontConnect library

To import the InfrontConnect library, add in your script:

library(InfrontConnect)

Enter credentials

In your script, or console:

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

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


 

Documentation & Examples

Retrieval of time series: GetHistory()

Frequently Asked Questions


Product image