Take the 2-minute tour ×
Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. It's 100% free, no registration required.

I am currently using CQG for spread trading and have a spread trading strategy in CQG chart. I am trying to automate my spread trading strategy in CQG, but CQG told me to look at CQG API samples to build my own system or get third party software.

The CQG trade system doesn't allow you to automate your strategy in CQG IC. So, I need automated trading software to execute my strategy. CQG API should allow you to build your own execution system. Could you tell me which example in CQG API sample helps to start building a spread trading system? For example, buy A instrument and sell B instrument when the spread price goes below lower bollinger band, and put OCO limit order for stop loss and target exit. Would it be hard to make that kind of system using CQG's API?

share|improve this question
1  
What is your question exactly? "Have anyone built an execution system with CQG API"? This doesn't look like a real question at the moment. –  Alexey Kalmykov Apr 4 '12 at 13:08
1  
Agreed, this one needs edits. For now the answer is either yes or no. What do you really want to know? –  Bob Jansen Apr 4 '12 at 17:25
    
Yes, I've been working with the CQG API for 1.5 years and designed a system in C# to execute orders and monitor positions. Ive made some prop entry/exit orders and batched orders across accounts which can't be done easily from the CQG IC. What do you want to know? –  Filip Apr 5 '12 at 3:37
2  
Has anyone with non-trivial rep ever heard of this thing? Is this a valid pro question? –  Tal Fishman Aug 3 '12 at 14:41
add comment

1 Answer

Based on the conditions you set forth this would be relatively simple in the CQG API. You can, for example, set up condition triggers in the IC. All you're really asking is for an API action following one of the triggers.

Pseudo code would be something like this:

Handles event trigger:
If (additional conditions) then
execute trade.

Are you just shopping for an API?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.