Executing 3rd party signals

I am using RightEdge software for 4 years now. I have a new problem which I am not able to solve without developers' help.

I am planning to trade 3rd party signals using my RightEdge platform. I receive signals into my newly created plugin. I then want to do a proprietary calculations and send corresponding order to the market using RE, and track it as if it was the order generated by my plugin. The problem is that I dont know upfront what signals for what symbols I will receive from 3rd party software and, hence, my plugin is going to trade. it could be equity or equity options. From this forum I understood that it is not possible to add/remove symbols to the live system on the fly. This could be a good solution. On the other hand, tracking all equity symbols and all equity options is a crazy idea. There will be a couple of signals traded, and adding thousands stocks and stock options for this is not worth it.

So I would like to ask developers what alternative solutions do I have here. My plugin should receive a signal, make calculations and trade the signal. While position is open, Re needs to keep track of the symbol quote to calculate portfolio PnL. Once the position is closed, there is no need for the plugin to keep track of the symbol quote anymore.

There's a couple of things that might work. You could set up all the possible symbols in the watch list and select them when you run the system, but write a data plugin that doesn't actually subscribe to symbol data and send it to your system unless there is an active position for that symbol. The data plugin would need to have some communication with your system and/or the broker for this to work.

If trading quickly when a symbol comes in isn't important, you could stop the live system, add the required symbol, and then start it again before your system trades it. You could probably set up a way to do this automatically.

I think setting up all possible symbols is not an option, because as far as I understand I will have to add all strikes, all exp. dates of all options for all symbols. it is too much for such a simple software I am developing.

Starting/stopping the RE: can you please clarify how exactly I could do this programmatically? e.g. I receive a signal to buy some stock option to my strategy. Then strategy should stop live mode in RE and start it again. the state of the strategy will be lost by that moment. am I correct?

You would have to have a process running outside of RightEdge that would control shutting it down and restarting it. It could use command-line options when starting RightEdge to select a watchlist folder and a system, and to start live trading.

To shut down RightEdge I think you would have to use Windows APIs to find the RightEdge process and send a close message. RightEdge will pop up a confirmation that you want to exit while you're running a live system, so you would have to find that dialog and send a click to the OK button.

How about the following line of thought?Your plug-in translates/routes the incomming signal X to an existing 'dummy' equity , option,...in RE. It records the mapping X -> dummy.Your RE Logic trades this dummy equity, option,...Your plug-in translates/routes the outgoing trade of this 'dummy' equity , option from RE into a real outgoing trade using mapping X -> dummy.