enable other applications to integrate
Brought to you by:
sstratos
Enable other applications to link directly to a relevant chart in Qtstalker.
For example the other application would send the command-line:
/usr/local/bin/qtstalker -session 0 -asset ASX:BHP
This is the reverse of suggestion "2984277: link to other apps via button control panel"
sure, i can add the -asset command line option to display a chart
I knew I should have used the ISO exchange name standards...:-(
ok, for this to work i will have to change the exchange name database with the new codes.
great suggestion.
Thanks, you added that CLI option yesterday. However, it cannot use both "-session" and "-asset".
Also i had hoped that it would enable us to interact with an already running Qtstalker instance, rather than just at startup.
fixed the multiple command line options bug.
i suppose it is possible to allow some IPC to a running instance, but to keep it simple it would have to be an easy hack such as each qtstalker instance can watch for a certain file that any app can write to e.g.
-session 0 -asset ASX:BHP
the file watcher would trigger a signal and the instance would parse the command and act accordingly. this would be one way communication.
if we start getting more elaborate using platform specific calls like fifo's and drift away from qt, then we risk losing portability.