Q/Kdb: using web browser to display kdb tables

Start your q session with:
q -p 5001
This will make q shell to be a web server listening on port 5001. In a web browser go to
http://localhost:5001
The page will show all tables that you have in your environment!
If you are using rlwrap you can modify your ~/.bash_aliases file to put:
alias q32=’rlwrap -rc -l /home/iv7/hgdev/bitbucket.org/iv7/qlib/.rlwrap/.`date +%Y%m%d`.$RANDOM.log ~/q/q/l32/q -p 5001′
~/q/q/l32/q is where my q/kdb folder resides.
Now you can start q/kdb shell with:
q32
It will be a web server.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s