-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hello, I purchased an API key and tried to run an EventStudy but I cant even make it work with the example files.. I still get the error message:
Request Status Code: 500
Error: Argument 'txt' must be a JSON string, URL or file.
I started off with the key, which seems so work, since I can run the authentication an get TRUE:
estSetup$authentication(apiKey)
[1] TRUE
And then I proceeded with this code and the sample files you provided via getSP500ExampleFiles():
estType <- "arc"
dataFiles <- c("request_file" = "01_RequestFile.csv",
"firm_data" = "02_FirmData.csv",
"market_data" = "03_MarketData.csv")
resultPath <- "results"
estResult <- estSetup$performDefaultEventStudy(estType = estType,
dataFiles = dataFiles,
destDir = resultPath)
Is this a server problem or am I missing something still? I thought I'd try the example files in case I have a format error in my own files. But since I cant even get the example to run, I'm at a loss. Many thanks for your help!
Kind regards,