264c3c8374
* initial commit * Follow IDQH implementation * Expect a list of data handlers from LiveNodePacket * Return null if can not subscribe * refctor to add check for subscription * initialze null * Add tests * Check subscribe retuns null/not-null * cleanup * Read all required IDQH credentails to job * Use CDQH to handle all IDQH instances * constructor abstraction to call from setjob * use flag * remove redundant because derived will call initialize on it * abstract and initialize from setjob * handle null enumerators * get creds from data handlers * handle single data handler value from data-queue-handler * Fix to support a json array * Fix missed constructor call * change access modifier to access from Tests files * Add test to get brokerageFactory from dataQueueHandler * Fix init flag to handle all conditions * Add docs * initialize from setjob * Check if websocket open before using * change defination of initialzie to include tradier * clean up * change defination * fix wrong api key name * return empty enumerator * check websocket open before sending request * check connection before subscribing * fix to include more cases * check websocket open before sending request * Minor refactoring * reafctor and use IsConnected * remove unused * clean up * Fix test cases * reverse change * include config changes * connect to websocket from setjob * check websocket connection from setjob * clean up * include condition for IDQH that are not brokerage * Address review * Add market check condition before subscribe * Remove deprecated * Minor fix for deserializing data queue handler Co-authored-by: Martin-Molinero <martin@quantconnect.com>
Setup IQFeed
1. Sign up for IQFeed
2. Install IQFeed Client
3. Configuration
3.1. Docker for Windows
Edit Launcher/config.json
- Set
"environment"to"live-interactive-iqfeed" - Set
"iqfeed-host"to"host.docker.internal"
Edit run_docker_iqfeed.bat
- Set
"iqfeed_product_name" - Set
"iqfeed_version" - Set
"iqfeed_login"(optional) - Set
"iqfeed_password"(optional)
Start IQConnect and Lean docker image
Simply by running run_docker_iqfeed.bat this will automatically start IQConnect with your provided settings and start the Lean docker image.
3.2. Standard on Windows
Edit Launcher/config.json
- Set
"environment"to"live-interactive-iqfeed" - Set
"iqfeed-username" - Set
"iqfeed-password" - Set
"iqfeed-productName"