Page 1 of 1

Accessing Neural Net value from QScript?

Posted: Mon Jun 27, 2016 6:14 pm
by hjelmstade
Is there anyway to access a Neural Net value from QScript?

I've looked through all the help files and have not found anything.

I may have a potential work around which I listed below but before I do that, I wanted to make sure I'm not missing anything as it is going to be a pain and is not ideal.

Potential Workaround
-As you can have the Neural Net output to a text file, I believe I can open the text file from QScript and then parse the values to grab the last bars Neural Net value. Then close the file and open it again once there is a new bar to get the new value.

Re: Accessing Neural Net value from QScript?

Posted: Tue Jun 28, 2016 6:33 pm
by earik
The NN interface into QScript is one of those things that's been on the to-do list for years and never quite made it. :oops: The text file workaround method you described is the only way to do it at this point.

Regards,

Earik

Re: Accessing Neural Net value from QScript?

Posted: Tue Jun 28, 2016 6:56 pm
by hjelmstade
No problem Earik. I got something working in Hive that has similar enough output to the NN for me to move forward.

I still plan on implementing a NN as well though so will share the code for that workaround when I've finished.

Thanks!