I am developing an application where I have multiple accounts that will trade the same strategy. Whenever I receive an on_order_update callback, after 100ms I get the last order state, using order_history. Earlier I implemented using continuous polling of order_history. But considering the API limit, I moved it to a call-back mechanism from OMS.
Since all the user's sessions are running inside the same machine, there is a good chance that I could call order_history for all the users at the same time. I could face the API rate limit. I believe the API rate limit is based on IP rather than the api_key.
Any ideas on how to implement this architecture? In layman's terms, I could think of creating systems with different IPs. But I am a novice in networking concepts.