All Projects → jaikumarm → docker-iqfeed

jaikumarm / docker-iqfeed

Licence: other
Dockerized IQFeed client with X11VNC for remote viewing

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to docker-iqfeed

supervisor-bundle
Easily update your @Supervisor configuration by using annotations in Symfony commands.
Stars: ✭ 35 (+25%)
Mutual labels:  supervisord
awesome-gnu-linux-gaming
A curated list of awesome GNU/Linux tips & tricks, games, tools, and resources - Mirrored from: https://gitlab.com/linuxcafefederation/awesome-gnu-linux-gaming.git
Stars: ✭ 135 (+382.14%)
Mutual labels:  wine
deepin-wine-qq-arch
Tencent QQ on Deepin Wine5(com.qq.im.deepin) For Archlinux
Stars: ✭ 274 (+878.57%)
Mutual labels:  wine
HomePage
Python Django开发管理后台+Bootstrap响应式网站
Stars: ✭ 32 (+14.29%)
Mutual labels:  supervisord
AreWeAntiCheatYet
A comprehensive and crowd-sourced list of games using anti-cheats and their compatibility with GNU/Linux or Wine.
Stars: ✭ 289 (+932.14%)
Mutual labels:  wine
IQFeed.CSharpApiClient
IQFeed.CSharpApiClient is fastest and the most well-designed C# DTN IQFeed socket API connector available
Stars: ✭ 103 (+267.86%)
Mutual labels:  iqfeed
Dxup
A d3d9 and d3d10 to d3d11 translation layer.
Stars: ✭ 231 (+725%)
Mutual labels:  wine
k8s-deployer
Deploy Kubernetes service and store retrieved information in the Consul K/V store
Stars: ✭ 23 (-17.86%)
Mutual labels:  supervisord
northstar-dedicated
Docker image for the Northstar dedicated server.
Stars: ✭ 89 (+217.86%)
Mutual labels:  wine
cemu-linux
Play with Cemu on Linux (with high performance)
Stars: ✭ 120 (+328.57%)
Mutual labels:  wine
wine-launcher
Wine Launcher - Running Windows games under Linux
Stars: ✭ 249 (+789.29%)
Mutual labels:  wine
nine
Gallium Nine Standalone
Stars: ✭ 50 (+78.57%)
Mutual labels:  wine
notepad-plus-plus
Unofficial snap repo for notepad-plus-plus snap
Stars: ✭ 51 (+82.14%)
Mutual labels:  wine
docker-tomcat-mysql
Docker image for tomcat+mysql, orchestrated with supervisord
Stars: ✭ 26 (-7.14%)
Mutual labels:  supervisord
zugbruecke
Calling routines in Windows DLLs from Python scripts running under Linux, MacOS or BSD
Stars: ✭ 82 (+192.86%)
Mutual labels:  wine
Winepak
Flatpak-ing Microsoft Windows applications with Wine
Stars: ✭ 242 (+764.29%)
Mutual labels:  wine
gtasa-savegame-editor
GUI tool to edit GTA San Andreas savegames.
Stars: ✭ 56 (+100%)
Mutual labels:  wine
BeamNG terrainMaterialCache
BeamNG.drive Black Terrain fix for Linux and Mac
Stars: ✭ 81 (+189.29%)
Mutual labels:  wine
OneLauncher
Launcher and Addon Manager for LOTRO and DDO
Stars: ✭ 21 (-25%)
Mutual labels:  wine
compact-wine
No description or website provided.
Stars: ✭ 87 (+210.71%)
Mutual labels:  wine

Dockerized IQFeed client with X11VNC for remote viewing

CircleCI

See CHANGELOG for a list of notable changes

Usage

Clone this repository and build the image:

git clone https://github.com/jaikumarm/iqfeed-docker.git
cd iqfeed-docker
docker build . -t iqfeed-docker

Run your image with docker run

docker run -e IQFEED_PRODUCT_ID=CHANGEME \
    -e IQFEED_LOGIN=CHANGEME \
    -e IQFEED_PASSWORD=CHANGEME \
    -p 5009 -p 9100 -p 9200 -p 9300 -p 9400 \
    -p 5901:5901 -p 8088:8080 \
    -v /var/log/iqfeed:/root/DTN/IQFeed \
    -d iqfeed-docker

OR you can directly run my image from dockerhub with docker run

docker run -e IQFEED_PRODUCT_ID=CHANGEME \
    -e IQFEED_LOGIN=CHANGEME \
    -e IQFEED_PASSWORD=CHANGEME \
    -p 5009:5010 -p 9101:9100 -p 9201:9200 -p 9301:9300 -p 9401:9400\
    -p 5901:5901 -p 8088:8088 \
    -v /var/log/iqfeed:/root/DTN/IQFeed \
    -d jaikumarm/iqfeed:v62025-w6

With docker-compose edit the docker-compose.yml with your iqfeed credentials, then run

docker-compose -f docker-compose.yml up -d iqfeed

In docker logs of the container and you should see

...
2020-03-03 05:52:11,281 INFO supervisord started with pid 1
...
2020-03-03 05:52:12,521 INFO pyiqfeed_admin_conn.<module>.64:  PyIQFeed admin conn started.
2020-03-03 05:52:12,524 INFO pyiqfeed_admin_conn.<module>.144:  iqfeed service not running.
2020-03-03 05:52:13,822 INFO success: iqfeed-proxy entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-03-03 05:52:13,822 INFO success: Xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-03-03 05:52:13,822 INFO success: wine-iqfeed-startup entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-03-03 05:52:13,822 INFO success: pyiqfeed-admin-conn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
..
2020-03-03 05:52:30,221 INFO pyiqfeed_admin_conn.<module>.136:  iqfeed service running.
...

If you see iqfeed service running. it means it all good.

You can also see a very chatty version of whats going on with iqfeed client if you tail tail -f /var/log/iqfeed/pyiqfeed-admin-conn.log.

SideNote: As of right now for some reason not known to me the iqfeed client will crash every few days or hours :( I have worked around it by building the docker container health check script that monitors for wine crashes in the wine.log file and will mark the conatainer as unhealthy. Once this is done the container can be restarted by an external service, most popular ways are either docker stacks or docker-autoheal. I use autoheal becasue its simpler and good enough for my usecase. See docker-compose.yml file for details.

docker-compose -f docker-compose.yml up -d autoheal

This is fairly a opinionated configuration based on my own needs, if you dont like it fork it!

Also some of the code is borrowed and/or inspired from in no particular order

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].