In short, like to use R/Python code
1) to login
2) get the portfolio for the current holding equities
3) get the price for every 1 minutes, for my personal few hundreds watch list
4) send an order, based on my matrix file with dimension of 10 rows and 6 columns.
In my guess, at lease 6 columns are required for symbol, BUY/SELL, price, share, etc.
and 10 is the number of orders.
Please note that most of the four are already working fine, with use of Excel/VB/DDE. Just need R/Python conversion.