Hi everyone,
I am starting to use IB rest api with R. I am having a bit of issues accessing the data. I have connected through the local https://localhost:5000 and have logged in successfully.
Now I am trying to pull my "FYI" data. Using this link,
"https://localhost:5000/v1/portal/fyi/unreadnumber". I am receiving an error. Below is my code.
Here are is the get started link that tries to guide you through setting up.
https://interactivebrokers.github.io/cpwebapi/
Here is the link to the end point connections.
https://interactivebrokers.com/api/doc.html
Thank you.
I am starting to use IB rest api with R. I am having a bit of issues accessing the data. I have connected through the local https://localhost:5000 and have logged in successfully.
Now I am trying to pull my "FYI" data. Using this link,
"https://localhost:5000/v1/portal/fyi/unreadnumber". I am receiving an error. Below is my code.
Code:
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
GET("https://localhost:5000/v1/portal/fyi/unreadnumber")
Error in curl::curl_fetch_memory(url, handle = handle) :
SSL: certificate subject name 'Client Portal Web API' does not match target host name 'localhost'
Here are is the get started link that tries to guide you through setting up.
https://interactivebrokers.github.io/cpwebapi/
Here is the link to the end point connections.
https://interactivebrokers.com/api/doc.html
Thank you.