Hello,
I am working on a kind of screener based on PolygonIO realtime feed, and I try to determine the conditions for eligibility of trades during premarket and afterhours.
So far, I uses this list for the market hours
https://polygon.io/glossary/us/stocks/conditions-indicators
https://polygon.io/glossary/us/stocks/trade-conditions
In a nutshell, a trade is eligible to update the last price if it has no conditions, or all its conditions are in this list:
0,1,3,4,8,9,11,14,23,25,27,28,30,34,36,38
However, the trade conditions are still too cryptic for me currently to determine which are the conditions to use during premarket and afterhours.
I could see that condition 12 is mandatory because it actually specifies that the trade is not produced during market hours
But, by chance, while I was checking ticker JMIA on tradingview during premarket I saw that a price has been displayed that was not on my homemade screener.
I checked on polygonIO history and found only 1 trade matching that price around that time, and it had conditions 12 and 60.
So now, I wonder if I do not miss other conditions outside of market hours.
Does someone knows which conditions to take into account during premarket, afterhours ?
Note: For now, I am interested in updating the last price. Soon, I will also need the conditions for the accumulated volume, and then the OHLC prices. Knowing the conditions are not exactly the same.
Regards.
I am working on a kind of screener based on PolygonIO realtime feed, and I try to determine the conditions for eligibility of trades during premarket and afterhours.
So far, I uses this list for the market hours
https://polygon.io/glossary/us/stocks/conditions-indicators
https://polygon.io/glossary/us/stocks/trade-conditions
In a nutshell, a trade is eligible to update the last price if it has no conditions, or all its conditions are in this list:
0,1,3,4,8,9,11,14,23,25,27,28,30,34,36,38
However, the trade conditions are still too cryptic for me currently to determine which are the conditions to use during premarket and afterhours.
I could see that condition 12 is mandatory because it actually specifies that the trade is not produced during market hours
But, by chance, while I was checking ticker JMIA on tradingview during premarket I saw that a price has been displayed that was not on my homemade screener.
I checked on polygonIO history and found only 1 trade matching that price around that time, and it had conditions 12 and 60.
So now, I wonder if I do not miss other conditions outside of market hours.
Does someone knows which conditions to take into account during premarket, afterhours ?
Note: For now, I am interested in updating the last price. Soon, I will also need the conditions for the accumulated volume, and then the OHLC prices. Knowing the conditions are not exactly the same.
Regards.
