Hi,
I would like to use the Portfolio Trader for short-term auto trading over a subset of instruments which can not be predefined in the instrument list section. That is I need to set the stocks for which I want to trade programmatically from a list that I create everyday prior to the open session and that list is different every day. Is there a way in the Portfolio Trader API that allows you to set programmatically the symbols list? I can execute this method, for example, before the market opens via the Portfolio Trader API by reading the symbols from an external file.
Thanks!
Portfolio trader and dynamic list of instruments
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Portfolio trader and dynamic list of instruments
Hello rst,
There is no way to set the symbol list programmatically, but it can be imported into Portfolio Trader from a text (csv) file.
When you start Portfolio Trader "Active Data Source" is specified in the bottom right corner of the application window.
By default it is Interactive Brokers. If your data provider is different - you need to add into Portfolio an instrument from your data feed, then it will be set as "Active Data Source" for the current Portfolio.
Then you can make a right click on the Instruments section under your Strategy in the Portfolio Tree to Import Instrument List.
There is no way to set the symbol list programmatically, but it can be imported into Portfolio Trader from a text (csv) file.
When you start Portfolio Trader "Active Data Source" is specified in the bottom right corner of the application window.
By default it is Interactive Brokers. If your data provider is different - you need to add into Portfolio an instrument from your data feed, then it will be set as "Active Data Source" for the current Portfolio.
Then you can make a right click on the Instruments section under your Strategy in the Portfolio Tree to Import Instrument List.
Re: Portfolio trader and dynamic list of instruments
Thank you Henry. Is it possible to request this feature for MC future releases?
- ABC
- Posts: 718
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 408 times
- Contact:
Re: Portfolio trader and dynamic list of instruments
rst,
depending on the number of possible symbols you could also create a portfolio with all symbols and then read the number of symbols "into your code" and only allow trading on the specific ones.
Regards,
ABC
depending on the number of possible symbols you could also create a portfolio with all symbols and then read the number of symbols "into your code" and only allow trading on the specific ones.
Regards,
ABC
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Portfolio trader and dynamic list of instruments
rst,Thank you Henry. Is it possible to request this feature for MC future releases?
You can submit a feature request to the Project Management of our web site: http://www.multicharts.com/pm/
All feature requests are forwarded to the management of the company and are evaluated in a timely manner. Please note that even though we value your opinion not all requests can be implemented due to the fact that some features do not fit into our current roadmap or there is no technical possibility to implement them within the current architecture.