Guys,
how can AB trade live on intraday single instrument? Please help. I have not found relevant info, where to click, what to do, how to approach this.
I have seen people running exploration and placing trades and closing them manually for stocks. Placing the open orders in a list and looking for closes of the trades.
I have seen examples of doing this with a batch file. Update db, run afl, generate files with orders and running this batch daily.
How about single instrument intraday on the 1m?
I have the live data going on, I got the AFL that's been backtested. For now I have no clue how I will place the orders, but how can I first make AB watch the market with the formula?
If you are really trading only one symbol, you can consider adding your AFL to a chart of that symbol. Charts can auto-refresh with your real-time data feed. Each time the chart refreshes, you can determine whether it's time to enter or exit a trade.
Thanks for the reply.
How can the orders be automated in this case?
The system is a range breakout. After the minute the range is formed I'll compute 2 orders, long and short (limit orders) and I'd like to get them out of AB somehow to place them to the broker(cTrader).
I'm thinking to make a html call when the range completes (to a restful api that I have to write and can send the order to the broker where I have to be logged in).
Can't help to think that all solutions are 'hacky' and I have to 'sync' the backtest with the live data and maybe the chart indicators.
It depends entirely on which broker you use. If it's IBKR, then I suggest that you read about the IBController that @Tomasz has provided as a bridge between AFL and IBKR's TWS.