ww58
- ago
I have a strategy which runs on a Q-Data after a market close. When it's run from a scheduler it's going on a loop.
CODE:
07/12/2023 00:36:43: SRCL:18 bars to 20230710 0000|Q-Data 07/12/2023 00:36:43: SRE:18 bars to 20230710 0000|Q-Data 07/12/2023 00:36:43: NextRun set to 07/12/2023 00:37 07/12/2023 00:36:43: Status = Idle 07/12/2023 00:37:00: Leaving Polling Thread 07/12/2023 00:37:00: Leaving Polling Thread 07/12/2023 00:37:01: Status = Processing 07/12/2023 00:37:01: Pass 1 - Requesting updates for 1018 symbols... 07/12/2023 00:37:08: Pass 1 - UpdateHistories returned 0 symbols 07/12/2023 00:37:18: Pass 2 - Requesting updates for 1018 symbols... 07/12/2023 00:37:24: Pass 2 - UpdateHistories returned 0 symbols 07/12/2023 00:37:34: Pass 3 - Requesting updates for 1018 symbols... 07/12/2023 00:37:41: Pass 3 - UpdateHistories returned 0 symbols ... 07/12/2023 00:40:36: Pass 14 - Requesting updates for 1018 symbols... 07/12/2023 00:40:43: Pass 14 - UpdateHistories returned 0 symbols ...

But when I run it by clicking "Run now" button it works as it should.
CODE:
07/12/2023 00:34:17: HSBC:18 bars to 20230710 0000|Q-Data 07/12/2023 00:34:17: SPG:18 bars to 20230710 0000|Q-Data 07/12/2023 00:34:17: Running Now 07/12/2023 00:34:17: Status = Idle 07/12/2023 00:34:17: Status = Processing 07/12/2023 00:34:17: Pass 1 - Requesting updates for 1018 symbols... 07/12/2023 00:34:24: Pass 1 - UpdateHistories returned 0 symbols 07/12/2023 00:34:24: Ran Strategy on JXN,AA........HSBC,SPG: 0 Signals, Run Time=512ms 07/12/2023 00:34:24: NextRun set to 07/13/2023 00:30 07/12/2023 00:34:24: Status = Completed 07/12/2023 00:34:24: Processed all Symbols 07/12/2023 00:34:25: Status = Deactivated 07/12/2023 00:34:25: Leaving Polling Thread 07/12/2023 00:34:34: Leaving Polling Thread

I suspect it's because it can't get quotes for the last trading day, even though it's been over an hour since the market close. In any case, it is strange that Run now works differently.
0
378
Solved
6 Replies

Reply

Bookmark

Sort
Cone8
 ( 4.34% )
- ago
#1
Q-Data requires after market processing and corrections. Don't count on it before 11:30 PM ET.
0
ww58
- ago
#2
Launched after that time:
CODE:
07/12/2023 10:00:52: DPZ:18 bars to 20230710 0000|Q-Data 07/12/2023 10:00:52: NextRun set to 07/12/2023 10:02 07/12/2023 10:00:52: Status = Idle 07/12/2023 10:02:00: Status = Processing 07/12/2023 10:02:00: Pass 1 - Requesting updates for 1018 symbols... 07/12/2023 10:04:36: Pass 1 - UpdateHistories returned 1010 symbols 07/12/2023 10:04:37: Ran Strategy on JXN,ZS....MNST,WEC: 0 Signals, Run Time=533ms 07/12/2023 10:04:47: Pass 2 - Requesting updates for 1 symbols... 07/12/2023 10:04:47: Pass 2 - UpdateHistories returned 0 symbols .. 07/12/2023 10:06:57: Pass 15 - Requesting updates for 1 symbols... 07/12/2023 10:06:57: Pass 15 - UpdateHistories returned 0 symbols
0
Cone8
 ( 4.34% )
- ago
#3
Ran 1000+ symbols in a 1/2 second. Pretty good!

Which symbol is failing? There's no end to the Passes for it?
0
ww58
- ago
#4
>Which symbol is failing?
ISEE

>There's no end to the Passes for it?
I waited until the 20 loop and turned it off
0
Glitch8
 ( 9.50% )
- ago
#5
It would have ended 10 seconds prior to the next interval run time.
0
Cone8
 ( 4.34% )
- ago
#6
For whatever reason (symbol change?) ISEE didn't trade yesterday.... here you go... https://finance.yahoo.com/news/astellas-completes-acquisition-iveric-bio-230000728.html

Just remove the symbol from your DataSet.
0
Best Answer

Reply

Bookmark

Sort