Closed waynelapierre closed 3 years ago
You can control this with the data that you input. You can just use the exchangeHoursOnly
function.
@kboudt can you close this issue?
Do you mean these two jump tests by default use all the prices/returns within a day?
They use the data you provide. The data should be cleaned. One of the cleaning steps is to filter out trades outside market hours, so this should never be a problem in these functions.
I understand what you said. It seems inconsistent that some functions like intradayJumpTest provide marketOpen and marketClose arguments while some do not.
They are typically only there when dealing with spot estimators and the like, and in some cases due to internal usage of functions that require the arguments set to function properly. You are more than welcome to implement any change you wish and make a pull request, then we can discuss the implementation details further.
@waynelapierre I agree with Emil. If you have more feature requests, it would be most beneficial for all users if you make a pull request. At the end it's an open source project and we provide support in our spare time.
Thanks for the various comments @waynelapierre . It's good to have the user feedback.
The package manual does not show marketOpen and marketClose arguments for the AJjumpTest and BNSjumpTest functions. How can I change the market open and close times for these two jump test functions?