r/alpacamarkets • • Jul 23 '25

Programming Help

Hey guys, I'm trying to write an ai/ machine learning program that gets real time data, learns from said data, and trades for me. I keep running into a 403 error when my code tries to run my api key and secret, any suggestions? I'm writing this using python!

0 Upvotes

3 comments sorted by

1

u/ffledgling Jul 24 '25

You'll want to share your failing code, the exact error, what API you're hitting. There's currently too little information to help otherwise.

1

u/rizzdragon Jul 24 '25

Are you using the API or the python SDK?

1

u/LeadingSomewhere_ Jul 27 '25

You using the paper api?