User rating: 0
Joined: Mon 11 May, 2015, 23:19 Posts: 12 Location: United Kingdom, London
|
Hi, I have a question regarding the submitOrder functionality.
I am writing a couple of slightly complex strategies and during the execution, I will want my strategies to be able to fire multiple orders at the server all at the same time. I have done some EA development on MetaTrader and I know that even If I can attach multiple strategies on the same account, they all share the trade context. so we got to manage the resource.
What is the best practice here in the JForex world ? What are the server limitations, if any ? Can I be running 2 / more strategies independently and they can truly be simultaneously sending orders to the server without causing issues or without requiring extra checks ?
I guess, I may have the choice between running multiple strategies or a single strategy executing multiple threads and each of the strategies / threads independently sending orders to the server. However, I am too new to able to decide the best course of action.
All help / pointers are hugely appreciated.
regards SKT
|
|