Just finished up my News Trading Robot for the cTrader platform, It's been around for a year but it used to take the news data from dailyfx, but they stopped providing the data as CSV so it had to be rewritten.
Source can found @ https://github.com/joyider/nre
Providing the compiled cbot below:
Data is now taken from Forexfactory and downloaded using PythonNewsDownloader written by: exidez
The Robot will place one or two (depending on settings) pending orders (Buy and Sell), based on the next news event. Trading can also be turned off to just display upcoming news on the chart.
Settings:
Please report bugs and features and I'll try to fix and Implement!
Source can found @ https://github.com/joyider/nre
Providing the compiled cbot below:
Data is now taken from Forexfactory and downloaded using PythonNewsDownloader written by: exidez
The Robot will place one or two (depending on settings) pending orders (Buy and Sell), based on the next news event. Trading can also be turned off to just display upcoming news on the chart.
- ShowNewsOnly - Whether to trade or only display upcoming news on chart.
- Label - Label for current robot, needs to be different for robot running on multiple pairs.
- ShowLow - Show and trade on Low impact news.
- ShowMedium - Show and trade on Medium impact news.
- ShowHigh - Show and trade on High impact news.
- EventsToDisplay - Number of news to show on chart
- ShowPastNews - Show previous news events on chart as tine vertical line
- PastNewsLookback - Download and show historical news number in weeks. 1 is to prefer currently only data for 1 week(2018/02/02)
- Pips away - The number of pips away from the current market price where the pending buy and sell orders will be placed.
- Take Profit - Take Profit in pips for each order
- Stop Loss - Stop Loss in pips for each order
- Volume - trading volume
- Seconds before - Seconds Before News when robot will place Pending Orders
- Seconds timeout - Seconds After News when Pending Orders will be deleted
- One Cancels Other - If "Yes" then when one order will be filled, another order will be deleted
ChartView:
Settings:
Attached Image
Please report bugs and features and I'll try to fix and Implement!
Attached File(s)
NRE.zip
1,018 KB
|
644 downloads