Skip to content

Instantly share code, notes, and snippets.

@yhilpisch
Last active September 24, 2018 19:15
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save yhilpisch/b41d0e935128a65a611e87bcf3bff665 to your computer and use it in GitHub Desktop.
Save yhilpisch/b41d0e935128a65a611e87bcf3bff665 to your computer and use it in GitHub Desktop.

Algorithmic Trading with ML & DL

Dr. Yves J. Hilpisch | The Python Quants GmbH

Workshop at ODSC London on 20. September 2018

See http://odsc.com/london.

Links

Link to Slides

http://hilpisch.com/odsc_ldn_2018.pdf

Short Link to Gist

http://bit.ly/odsc_ldn_2018

Python

You should have installed either Anaconda or Miniconda.

If you do not have a Python installation/environment with the core scientific packages, do on the shell do:

conda create -n odsc python=3.6 jupyter pandas nomkl scikit-learn matplotlib
conda activate odsc

In any case do the following to install the fxcmpy package:

pip install --upgrade pip
pip install fxcmpy

FXCM

You should open a demo account under

https://www.fxcm.com/uk/forex-trading-demo/

The documentation for fxcmpy is found under

http://fxcmpy.tpq.io

You should generate a token in your account under Token Management.

Create your working folder where you put in all subsequently created files.

Then create a configuration file with name fxcm.cfg and the following content:

[FXCM]
log_level = error
log_file = 'fxcm.log'
access_token = YOUR_FXCM_API_TOKEN
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
rm fxcm_*
gist -u b41d0e935128a65a611e87bcf3bff665 *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment