Which IDE?

Hi,
I have tried installing two IDEs but so far got neither to connect correctly.

I am using a Win 10 laptop and a Win 7.
Testing with CMD window is fine but .. if I enter q next to the command prompt


it does not invoke q - I think I set the PATH and HOME etc.,correctly but maybe not.


I still have to enter an explicit path to the q.exe


currently these are set


QHOME C:\q

QLIC C:\q

i am user as per

TEMP C:\Users\GWM2\AppData\Local\temp

The cmd prompt defaults to

C:\Users\GWM2<font size=‘“2”’>

but 

C:\Users\GWM2\q does not work 

I have to go back to C:\ and enter C:\q\w64\q

which works

The full path to q.exe is C:\q\w64\q.exe


1. Installing Developer as per instructions, I get as far as


Connecting to Developer

“To connect to Developer, open a modern web browser and navigate to the URL output to the q console when you start Developer.” … But there is no URL generated , just the path to launcher.


q)til 6

0 1 2 3 4 5


q) C:\developer\launcher.q_

That gets me this:'\ [0] C:\developer\launcher.q_



q is installed

C:\q\w64\q.exe


2. qStudio

Install goes OK, try to set a server as per the instructions, but I get no connection to any server:

q)-p500

'-

[0] -p500

^

q)

Server localhost:5000 not connected

But I dble clicked on the file in C:\q\q.k and it opened in qStudio

But server still shows not connected or ##Server changed to ->null


Are there some checks I can do on environment settings that might be wrong?

What IDE is widely used that might be integrated with an automated install?

Eventually I want to automate searches for patterns in price tic data that I currently apply manually to candle charts. Existing tools for time and price patterns? i’d need to connect to TradeStation currently.


Thanks

Cheers,


Gary


Hello Gary,

  1. It seems that you have not set your path correctly. There must be an entry like C:\q\w64 in your path. So when you open your environment variable it should be like PATH=“..;..;C:\q\w64;..”

  2. Your QHOME set seems correct if you have installed q under C:\q

  3. You do not require to set QLIC if your license is under C:\q. That will simply use the default setting from QHOME.

  4. To be able to connect to your q process through a web browser either;

  • Start your q process with a -p <port-number> flag, i.e C:> q -p 50002
  • Or in your q process issue a \p <port-number> command, i.e q) \p 50002

Hi Kadir,
Thanks. Got the PATH set OK but still getting no joy with:

q)3+3

6

q)c:\developer\launcher.q_

'\

  [0]  c:\developer\launcher.q_

                   ^

q)C:\developer\launcher.q_

'\

  [0]  C:\developer\launcher.q_

                    ^

q)-p 5000

'-

  [0]  -p 5000

       ^

q)

q)C:\developer\developer-1.3.0-windows\analyst

'\

  [0]  C:\developer\developer-1.3.0-windows\analyst

Developer config is: 

@echo off 

 

REM 

REM Interactive installer variables 

REM 

set “DEVELOPER_HOME=C:\developer” 

set “DEVELOPER_DATA=C:\developer\data” 

set “DEVELOPER_PORT=8080” 

set “DEVELOPER_USE_TLS=no” 

set “KX_SSL_CERT_FILE=” 

set “KX_SSL_CA_CERT_FILE=” 

set “KX_SSL_KEY_FILE=” 

set “DEVELOPER_USE_AUTH=no” 

set “DEVELOPER_WORKSPACE_CD=yes” 

 

REM Uncomment the following variables if using TLS with kdb+ v3.5 or earlier 

REM set “SSL_CERT_FILE=” 

REM set “SSL_CA_CERT_FILE=” 

REM set “SSL_KEY_FILE=” 

 

REM 

REM Internal variables 

REM 

set PATH=%PATH%;C:\developer\ws\lib;C:\developer\ws\lib\odbc 

set DEVELOPER_PLUGIN_PATH=C:\developer\plugins 

Cheers,

Gary

Hello Gary,

You are doing 2 things wrong:

A) You first open the q process and try to launch the developer. Do not do this, instead follow the steps below:

  1. Open a command console, preferably as an administrator, and change directory to your developer/config folder.
  2. Run config.bat
  3. Run q C:\developer\launcer.q_
  4. Open a browser and navigate to the prompted address, most likely http://localhost:8088

B) To make q listen to a port you are issuing a -p 5000 command, this is wrong. You have to use the \p 5000 command in a q process -OR- start q with the -p flag like q -p 5000.

Hope this helps!

Regards.

PS both are working now, reran config etc, Thank you.  

Try QInsightPad
http://www.qinsightpad.com/

+1 for qPad

Thank you, guys, glad you still like qPad ;)

Oleg