This repository has been archived by the owner on May 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Streaming data? #14
Comments
I don't quite understand what you're trying to ask |
I am basically trying to get the user principals. This is needed to get access to the info needed for real-time data. see this page: https://developer.tdameritrade.com/user-principal/apis/get/userprincipals-0 I need data to be able to get real-time data. My question is how do I add it to your TDAmerica.jl ? |
I resolved real-time streaming. |
Do you want to make a PR? |
I'm going to do some testing then I may upload it for you if you like. I'm still learning the ins and outs of Julia. I'm still working on some error correction.. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Hello,
I'm trying to get the user preferences for streaming, but I'm pretty new to Julia. I need access to streaming data.
where would I add this:
I also have this to use it:
TD_auth()
Retrieve user info and preferences for real-time operations
fields = "streamerSubscriptionKeys,streamerConnectionInfo,preferences,surrogateIds"
principals = get_user_principals(fields)
Access the retrieved information
streamerSubscriptionKeys = principals["streamerSubscriptionKeys"]
streamerConnectionInfo = principals["streamerConnectionInfo"]
preferences = principals["preferences"]
surrogateIds = principals["surrogateIds"]
Print or further process the retrieved information
println("Streamer Subscription Keys: $streamerSubscriptionKeys")
println("Streamer Connection Info: $streamerConnectionInfo")
println("Preferences: $preferences")
println("Surrogate IDs: $surrogateIds")
The text was updated successfully, but these errors were encountered: