Menu

#54 enable other applications to integrate

open
nobody
None
5
2010-04-09
2010-04-09
No

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"

Discussion

  • Steve Stratos

    Steve Stratos - 2010-04-10

    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.

     
  • David Crossley

    David Crossley - 2010-04-12

    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.

     
  • Steve Stratos

    Steve Stratos - 2010-04-14

    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.

     
MongoDB Logo MongoDB