#ifndef __UseHistory_h_ #define __UseHistory_h_ // Normally this will return true after 6:30 am, and false before or at 6:30. // However, this can be overriden. For test purposes we can pretend that // the open has or has not passed. // // On the command line set "open_has_passed" to "YES" to force this to return // true. Set it to "NO" to force this to return false. Set it to AUTO or // leave it blank to check the actual time. // // Normally this is used with history data. Often we read historical data and // cache it in a local file. If we start on time, then we start from that data // and add to it as realtime data arrives. If we start late, then we start // with no history. We still add realtime data, and we may eventually have // something useful. bool openHasPassed(); #endif