Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.txt | 2016-06-14 | 1.4 kB | |
Strategies.py | 2016-06-14 | 14.0 kB | |
Config.dat | 2016-06-14 | 1.1 kB | |
TechnicalAnalysis.py | 2016-06-14 | 2.8 kB | |
Trade.py | 2016-06-14 | 7.5 kB | |
Totals: 5 Items | 26.8 kB | 0 |
================= FxtsAPI Example ================= To run the example perform following steps: - Decompress archive to some directory. - Goto FXCM web pages (http://www.fxcm.com) and open demo trading account. - Edit Trade.py from the example (using any ASCII editor). In errcode=TradeSession.login(...) function specify login/password which you got when you opened demo trading account. - Open command prompt. In the command prompt Change working directory to directory where you decompressed the example and type: python Trade.py In command window (shell) you'll see messages about checking for updates and license, and after that login procedure and automated trading should start. Strategies given in the Strategies.py will not be profitable. They are put just as an example so do not use it for real trading. It is possible to have opened FXCM's Trading Station (the GUI) next to this API, both logged into the same account. In this way you can monitor what is going on while programmed strategy trades through this API. If you make actions in the GUI, changes have immediate effect in the API system. Happy (automated) trading! API Trader Team --------------------------------- General inquiries: apitrader@apitraderfx.com Developed 2006 by API Trader d.o.o. (http://www.apitraderfx.com)