tickers-halts
v1.0.0
Published
Fetch all current trading halts and all listed stock tickers (NYSE, NASDAQ, AMEX).
Downloads
8
Maintainers
Readme
��#� �t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�
�
�
�
�F�e�t�c�h� �a�l�l� �c�u�r�r�e�n�t� �t�r�a�d�i�n�g� �h�a�l�t�s� �a�n�d� �a�l�l� �l�i�s�t�e�d� �s�t�o�c�k� �t�i�c�k�e�r�s� �(�N�Y�S�E�,� �N�A�S�D�A�Q�,� �A�M�E�X�)�.�
�
�
�
�
�
�#�#� �U�s�a�g�e�
�
�n�p�m� �i� �t�i�c�k�e�r�s�-�h�a�l�t�s�
�
�
�
�
�
�#�#�#� �F�e�t�c�h� �a�l�l� �c�u�r�r�e�n�t� �t�r�a�d�i�n�g� �h�a�l�t�s�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�g�e�t�H�a�l�t�e�d�A�l�l�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �h�a�l�t�s� �=� �g�e�t�H�a�l�t�e�d�A�l�l�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�
�
�
�
�
�
�#�#�#� �F�e�t�c�h� �o�n�l�y� �t�i�c�k�e�r�s� �h�a�l�t�e�d� �t�o�d�a�y� �(�c�u�r�r�e�n�t�l�y� �h�a�l�t�e�d� �a�n�d� �a�l�r�e�a�d�y� �r�e�s�u�m�e�d� �t�i�c�k�e�r�s�)�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�g�e�t�H�a�l�t�e�d�T�o�d�a�y�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �h�a�l�t�s� �=� �g�e�t�H�a�l�t�e�d�T�o�d�a�y�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�
�
�
�
�
�
�#�#�#� �F�e�t�c�h� �o�n�l�y� �t�i�c�k�e�r�s� �h�a�l�t�e�d� �t�o�d�a�y� �a�n�d� �n�o�t� �r�e�s�u�m�e�d� �y�e�t�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�g�e�t�H�a�l�t�e�d�N�o�w�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �h�a�l�t�s� �=� �g�e�t�H�a�l�t�e�d�N�o�w�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�
�
�
�
�
�
�#�#�#� �F�e�t�c�h� �a�n� �a�r�r�a�y� �o�f� �o�b�j�e�c�t�s� �c�o�n�t�a�i�n�i�n�g� �a�l�l� �l�i�s�t�e�d� �t�i�c�k�e�r�s�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�g�e�t�T�i�c�k�e�r�s�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s� � � � � � � �=� �g�e�t�T�i�c�k�e�r�s�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s�A�m�e�x� � � �=� �g�e�t�T�i�c�k�e�r�s�(�'�A�M�E�X�'�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s�N�y�s�e� � � �=� �g�e�t�T�i�c�k�e�r�s�(�'�N�Y�S�E�'�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s�N�a�s�d�a�q� �=� �g�e�t�T�i�c�k�e�r�s�(�'�N�A�S�D�A�Q�'�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�
�
�
�
�#�#�#� �F�e�t�c�h� �a�l�l� �l�i�s�t�e�d� �t�i�c�k�e�r�s� �a�n�d� �s�a�v�e� �i�t� �t�o� �t�x�t� �f�i�l�e�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�s�a�v�e�T�i�c�k�e�r�s�T�o�T�x�t�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s� �=� �s�a�v�e�T�i�c�k�e�r�s�T�o�T�x�t�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�
�
�
�
�#�#�#� �F�e�t�c�h� �a�l�l� �l�i�s�t�e�d� �t�i�c�k�e�r�s� �a�n�d� �s�a�v�e� �i�t� �t�o� �c�s�v� �f�i�l�e�:�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�c�o�n�s�t� �{�s�a�v�e�T�i�c�k�e�r�s�T�o�C�s�v�}� �=� �r�e�q�u�i�r�e�(�'�t�i�c�k�e�r�s�-�a�n�d�-�h�a�l�t�s�'�)�;�
�
�c�o�n�s�t� �t�i�c�k�e�r�s� �=� �s�a�v�e�T�i�c�k�e�r�s�T�o�C�s�v�(�)�.�t�h�e�n�(�r�e�s�p�o�n�s�e� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�p�o�n�s�e�)�)�;�
�
�
��
�