Skip to content

richard875/OutSmartNASQ-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Autotrader

Start the program | Repeat every 1 second

  • $ watch -n 1 bash main.sh

Steps

  1. Get Data
  2. Calculation
  3. Connect to trading platform
  4. Email / export

Notes

Time tracking

  • Time in New York (Wikipedia)
  • New York uses Eastern Standard Time (EST, UTC -5) and Eastern Daylight Time (EDT, UTC -4)
  • The project uses moment.js to avoid errors
  • All time within the project will be based on time zone of New York State

Holidays and market hours

  • Both NYSE and NASDAQ shares the same holidays and trading hours (9:30 am - 4:00 pm | Mon - Fri)

  • Pre / Post market is ignored (Data is still been calculated, but no trading will happen)

  • This project will use NASDAQ's data for halfdays and holidays


NYSE's data

Holiday 2021 2022 2023
New Years Day Friday, January 1 Monday, January 2 (New Year's holiday observed)
Martin Luther King, Jr. Day Monday, January 18 Monday, January 17 Monday, January 16
Washington's Birthday Monday, February 15 Monday, February 21 Monday, February 20
Good Friday Friday, April 2 Friday, April 15 Friday, April 7
Memorial Day Monday, May 31 Monday, May 30 Monday, May 29
Independence Day Monday, July 5 (July 4 holiday observed) Monday, July 4 Tuesday, July 4*
Labor Day Monday, September 6 Monday, September 5 Monday, September 4
Thanksgiving Day Thursday, November 25** Thursday, November 24** Thursday, November 23**
Christmas Day Friday, December 24 (Christmas holiday observed) Monday, December 26 (Christmas holiday observed) Monday, December 25

* Each market will close early at 1:00 p.m. (1:15 p.m. for eligible options) on Monday, July 3, 2023. Crossing Session orders will be accepted beginning at 1:00 p.m. for continuous executions until 1:30 p.m. on these dates, and NYSE American Equities, NYSE Arca Equities, NYSE Chicago, and NYSE National late trading sessions will close at 5:00 pm. All times are Eastern Time.

** Each market will close early at 1:00 p.m. (1:15 p.m. for eligible options) on Friday, November 26, 2021, Friday, November 25, 2022, and Friday, November 24, 2023 (the day after Thanksgiving). Crossing Session orders will be accepted beginning at 1:00 p.m. for continuous executions until 1:30 p.m. on these dates, and NYSE American Equities, NYSE Arca Equities, NYSE Chicago, and NYSE National late trading sessions will close at 5:00 pm. All times are Eastern Time.


Data fetch / export duration

Date fetch


Every hour (Pre market)
Every minute
Every 20 minutes
Every minute
Every hour (After hours)
(Market open) 9:30 am
10 am
3:30 pm
4 pm* (Market close)

* Algorithm finish on 3:58 pm (Running time and latency)


Data export


  • Data will export / emailed if there's a change of percentage at anytime
  • Otherwise data will be exported / emailed on:
    • 9:35 am (5 minutes after market open)
    • 4:05 pm (5 minutes after market close)

Email and export

  • Will only email and export if there's a data change or with duration
  • Data fetched pre / post market will be stored in data/json/marketClosed
  • Data fetched durind market will be stored in data/json/marketOpen
  • Only marketOpen data will be calculated

Last trades

About

This is to track OutSmartNASQ portfolio by Sentiment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published