pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

`ib`: live & paper accounts together, infra refinements #367

Closed goodboy closed 2 years ago

goodboy commented 2 years ago

This is a first try at attempting to optimize for running a containerized paper gw alongside either another containerized live one or a local java app (tws or gw).

Currently it's just spawning two containers with docker compose and then hoping for the best in terms of being to use the vnc / data hacks since it seems both guis only show up in one of the two x11vnc instances 😂

Also included is some logic to try and do symbol search queries in any running paper account if detected instead of the live account in an effort to not disrupt the data feeds (via extra load) for the live account where possible.