R script to submit orders to IB TWS from textfile, using IBrokers package
$100-300 USD
Cancelled
Posted over 11 years ago
$100-300 USD
Paid on delivery
I am looking for a person who could write a script with the following functionality:
1. Read a textfile containing current positions
2. Read a textfile containing pairs of stocks and new entry orders to submit
3. If no prior positions exist for the new orders: Submit short-sell order for the stock to be shorted.
4. If short order is filled, submit long order for the stock to be longed.
5. Update textfile containing current positions
The script is most easily implemented with IBrokers R package. I can provide testing environment. Documentation has to be good so the script can be expanded in the future. The script will be scheduled to run every 2 minutes.