http://www.algo-fx-blog.com/fx-api-complete-guide-for-python-users/