Re: PHP trading API
Ug, I absolutely hate it when someone answers a question by saying "I see you're asking about PHP, but let me tell you something completely irrelevant, like a different programming language"
To answer your question, no broker that I've found has a PHP API, but don't fret...plenty of brokers can utilize PHP just fine. TD Ameritrade as mentioned above does, as well as Just2Trade and Lightspeed. All of these use sockets (and streaming) or urls to do all of their interaction, which php does just fine, and can be written with just a few lines of code. Google "php sockets" and learn how to use sockets. After that, connecting to the above systems is fairly easy, and they provide ample socket "message" examples (just no PHP information)
Don't even attempt PHP with interactive brokers, haha |