TT CORE SDK 2.0.1.1
TT CORE SDK documentation
Loading...
Searching...
No Matches
ttsdk::Order Class Referenceabstract

an interface to interact with the order. More...

#include <order.h>

Inheritance diagram for ttsdk::Order:
Collaboration diagram for ttsdk::Order:

Public Member Functions

 Order ()
 
 ~Order ()
 
virtual const charGetOrderId () const noexcept=0
 
virtual double GetEpiq () const noexcept=0
 
virtual void Subscribe (IOrderEventHandler &listener) noexcept=0
 
virtual void Unsubscribe () noexcept=0
 
virtual ExecutionReportPtr GetCurrentState () const noexcept=0
 
virtual InstrumentPtr GetInstrument () const noexcept=0
 
virtual void SendNew (const OrderProfile &profile) noexcept=0
 
virtual void SendChange (const OrderProfile &profile) noexcept=0
 
virtual void SendChange (const OrderPrcQtyProfile &profile) noexcept=0
 
virtual void SendCancel (const OrderProfile &profile) noexcept=0
 
virtual void SetParent (SDKAlgoPtr parent=nullptr) noexcept=0
 
virtual bool IsAppsSDKAlgoOrder () noexcept=0
 Method which indicates if this order is a SDK Algo order that is/was being managed by this application instance.
 
virtual bool SubscribeExportValues () noexcept=0
 
virtual bool UnSubscribeExportValues () noexcept=0
 
virtual bool IsAlgoOrder () noexcept=0
 
virtual OrderPtr GetPreviousOrder () const noexcept=0
 Method which returns the previous order for the use case when TTINT replaces an existing order with a new order. This will return an empty pointer if the order is not created via this special use case.
 
- Public Member Functions inherited from ttsdk::shared_base
 shared_base ()
 
virtual ~shared_base ()
 
int dec_ref () const
 
void inc_ref () const
 
virtual void del_ref () const
 

Detailed Description

an interface to interact with the order.

Definition at line 196 of file order.h.

Constructor & Destructor Documentation

◆ Order()

ttsdk::Order::Order ( )
inlineexplicit

Definition at line 199 of file order.h.

◆ ~Order()

ttsdk::Order::~Order ( )
inline

Definition at line 200 of file order.h.

Member Function Documentation

◆ GetCurrentState()

virtual ExecutionReportPtr ttsdk::Order::GetCurrentState ( ) const
pure virtualnoexcept

◆ GetEpiq()

virtual double ttsdk::Order::GetEpiq ( ) const
pure virtualnoexcept

◆ GetInstrument()

virtual InstrumentPtr ttsdk::Order::GetInstrument ( ) const
pure virtualnoexcept

◆ GetOrderId()

virtual const char * ttsdk::Order::GetOrderId ( ) const
pure virtualnoexcept

◆ GetPreviousOrder()

virtual OrderPtr ttsdk::Order::GetPreviousOrder ( ) const
pure virtualnoexcept

Method which returns the previous order for the use case when TTINT replaces an existing order with a new order. This will return an empty pointer if the order is not created via this special use case.


◆ IsAlgoOrder()

virtual bool ttsdk::Order::IsAlgoOrder ( )
pure virtualnoexcept

◆ IsAppsSDKAlgoOrder()

virtual bool ttsdk::Order::IsAppsSDKAlgoOrder ( )
pure virtualnoexcept

Method which indicates if this order is a SDK Algo order that is/was being managed by this application instance.

◆ SendCancel()

virtual void ttsdk::Order::SendCancel ( const OrderProfile & profile)
pure virtualnoexcept

◆ SendChange() [1/2]

virtual void ttsdk::Order::SendChange ( const OrderPrcQtyProfile & profile)
pure virtualnoexcept

◆ SendChange() [2/2]

virtual void ttsdk::Order::SendChange ( const OrderProfile & profile)
pure virtualnoexcept

◆ SendNew()

virtual void ttsdk::Order::SendNew ( const OrderProfile & profile)
pure virtualnoexcept

◆ SetParent()

virtual void ttsdk::Order::SetParent ( SDKAlgoPtr parent = nullptr)
pure virtualnoexcept

◆ Subscribe()

virtual void ttsdk::Order::Subscribe ( IOrderEventHandler & listener)
pure virtualnoexcept

◆ SubscribeExportValues()

virtual bool ttsdk::Order::SubscribeExportValues ( )
pure virtualnoexcept

BETA FEATURE - This is part of the beta support of Algos in the CORE SDK and is subject to change based on user feedback. Please make note of this if you choose to use it.

◆ Unsubscribe()

virtual void ttsdk::Order::Unsubscribe ( )
pure virtualnoexcept

◆ UnSubscribeExportValues()

virtual bool ttsdk::Order::UnSubscribeExportValues ( )
pure virtualnoexcept

The documentation for this class was generated from the following file: