... treat Python code using this API as regular FXTS session.
The API has been developed in time when automated trading was not available to retail traders or access to API was too "expensive" (deposit on account bigger than $100k).
Today FXCM API is open to all FXCM traders and more can be found at:
https://github.com/FXCMAPI
https://www.fxcm.com/trading-services/api-trading