Distributed fix engine sessions in separate jvm

https://groups.google.com/forum/#!topic/algo-trader/Wpb8WLm-Q5A

Hi John

Thank you for your explanation

My requirement is to want each session in one jvm as there is a time
to stop and start the trading session while I would like to continue
getting the quotes without stop to calculate the minute bar

And I would also like to consolidate feeds from different fix
providers and I think the current framework would be able to extend
this easily

Thank you algotrader team


-Timothy

 

Hi Timothy,
   what we were doing at work is we open fix(trough quickfix) sessions in separate java threads. This allows us to start/stop different sessions at any time. We were not using any special library for managing threads.

P.S I personally did not use quick fix. I just know how it works from my colleagues.



On 6 February 2012 22:00, Timo Yuen <kai...@gmail.com> wrote:
Hi

Can suggest the register API? 

Thanks

-Timothy

On 7 Feb, 2012, at 12:50 AM, Romeo8881 roma < rome...@gmail.com> wrote:

You can register sessions in separarate threads thus you will be able to start stop separate threads/fix sessions

On Feb 6, 2012 2:33 PM, "Timo Yuen" < kai...@gmail.com> wrote:
Hi John

Thank you for your explanation

My requirement is to want each session in one jvm as there is a time
to stop and start the trading session while I would like to continue
getting the quotes without stop to calculate the minute bar

And I would also like to consolidate feeds from different fix
providers and I think the current framework would be able to extend
this easily

Thank you algotrader team


-Timothy

On 6 Feb, 2012, at 8:27 PM, John Carse < john...@gmail.com> wrote:

> Timoy,
>
> The QuickFIX/J engine will handle both sessions in the same JVM. I don't know your requirements, however, on first glance, I don't quite understand why there would be a need for each session to have its own JVM.
>
> The framework "knows" to send tick/events to the strategies (MarketDataService) and the order/fill/transactions to the trading session (OrderService). In the current FIX framework, you configure each of the sessions separately (but in the same file) and they are manged by the QuickFIX/J engine.
>
> Regards,
>
> John



 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
OSZAR »