Author Topic: Earnings baskets  (Read 4326 times)

17mako

  • Administrator
  • Newbie
  • *****
  • Posts: 3
    • View Profile
Earnings baskets
« on: December 13, 2016, 08:59:43 am »
Can you help me out.  I am trying to build a basket that shows all stocks with earnings after yesterdays close and before todays open.  What is the formula to do this?


wmariconti

  • Global Moderator
  • Newbie
  • *****
  • Posts: 9
    • View Profile
Re: Earnings baskets
« Reply #1 on: December 13, 2016, 03:05:45 pm »
There are several ways to define an Earnings basket.
The following includes all of them. There is some redundancy. AnyNewsTime should be the same as all of the other ORs combined, but we have found that it leaves some stocks out.
For the moment this code will get everything.

EarningsNewsEvent(News_Current, BeforeOpen, True, Any) OR EarningsNewsEvent(News_Current, MarketHours, True, Any) OR EarningsNewsEvent(News_Current, AfterClose, True, Any) OR EarningsNewsEvent(News_Current, AnyNewsTime, True, Any) OR EarningsNewsEvent(News_Current, ACBO, True, Any)