Hi,
I've reviewed your project details and the PHP script you've provided and I'd like to offer my services to complete this project for you. I am self-employed and this is all I do, all day, every day. I've been programming for more than 25 years, and I've been doing freelance projects here since 2002 (site had a different name then). I don't do a lot of projects here as I spend much of time working with existing clients, and I only do projects that I know I can complete on time, on budget and meet every expectation. I provide support for everything I create, even after you've paid the bill, I won't just ignore you after you've paid like I've heard that many freelancers do.
There are some areas where your existing code can be optimized, however how much I can optimize will depend on the data being received and until I can see that information I can't say for sure. Having the script run on multiple IP addresses using different API users is not a problem, its actually quite easy to accomplish. Running the process every 2 seconds is something I can't guarantee as I don't know how long it takes for the API service to respond, how much data is returned or how long the database takes to process queries. However, to optimize the execution timing there are a number of different implementations I can use depending on your server configuration and access. We'll need to discuss to determine the best approach, but it won't affect the cost.
I hope to hear from you.
- John