• Ask a question
  • Spaces
    • TT® Platform
    • Autospreader®
    • Autotrader™
    • Charting & Analytics
    • Options
    • ADL®
      • ADL Samples
    • RTD
    • APIs
      • TT .NET SDK
      • TT API & XT API
      • TT REST API
    • Cryptocurrencies
    • Topics
    • Questions
    • Articles
    • Ideas
    • Badges
  • Sign in
  • Home /
  • APIs /
  • TT .NET SDK /
avatar image
0
Question by sushantmandal · Nov 26, 2020 at 12:36 PM · TT.NET.SDK

Conditional Based Order Firing

Hi All,
While subscribing to TimeAndSales Subscription, based on a condition I would be getting quantity and I need to fire an order. I am looking for some inputs on achieving this. I am already subscribed to TimeAndSales and for firing an order I need TradeSubscription and PriceSubscription I believe. While continuing to subscribe for TimeAndSales Subscription, based on a condition can I call a function and there subscribe to TradeSubscription and PriceSubscription and then fire an order?

Comment
Add comment
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by swatijain · Nov 27, 2020 at 04:02 PM

@sushantmandal
you should be able to do anything you want based on your trigger. I would suggest you create/start the Trade and Price subscriptions before hand for better performance and then just trigger the order based on your condition.

You can also refer to our samples here :
https://github.com/tradingtechnologies/TT_Samples/tree/master/TT_NET_CLIENT_SIDE

Comment
Add comment · Share
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Community

Ask questions and share ideas about the TT® and X_TRADER® platforms.

First time here? See our Getting Started Guide and FAQs.

Follow

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

TT.NET SDK 4 Answers

Price of a product in real time with TT.NET SDK example 4 Answers

Can I subscribe to the same instrument via two applications with two different app keys? 1 Answer

Trade Subscription Product Filter 1 Answer

Site Order Key for each order 2 Answers

Trading Technologies Home - Legal - Privacy - Contact

© 2017 Trading Technologies International, Inc. All rights reserved.

Powered by AnswerHub

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • TT® Platform
  • Autospreader®
  • Autotrader™
  • Charting & Analytics
  • Options
  • ADL®
    • ADL Samples
  • RTD
  • APIs
    • TT .NET SDK
    • TT API & XT API
    • TT REST API
  • Cryptocurrencies
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges