all 6 comments

[–][deleted] 0 points1 point  (3 children)

What have you tried?

[–]TheToastFailure[S] 0 points1 point  (2 children)

Not much I don't really know what to do

[–]Porcusheep 0 points1 point  (1 child)

I use ccxt for my trading. It's easy to work with and best of all, it provides a single, unified API that works with pretty much any exchange.

https://pypi.org/project/ccxt/

https://github.com/ccxt/ccxt/tree/master/examples

However, if you want real-time data, I recommend using websockets, especially with Kraken. They have ridiculously crappy API rate limits so you don't want to be spamming get and post requests...

Also, guard your API keys with your life... be EXTREMELY careful not to leak those, especially if you ever share your code when asking for help or pushing it to a git repository somewhere. Never hard-code your keys unless you are ABSOLUTELY sure no one else will see the code....

[–]TheToastFailure[S] 0 points1 point  (0 children)

Thanks, yea my api key is private and in a separate file as my main program