Support Board
Date/Time: Wed, 27 Nov 2024 20:43:32 +0000
Post From: DTC Protocol - client side orders
[2023-07-06 12:32:36] |
User5044343 - Posts: 68 |
Sierra Chart has client side order types ( example: Order Types: Bid Ask Quantity Triggered Stop ). 1. How can I create these via DTC protocol ? ( I created regular orders using dtc but didn't see these order types in the header file - maybe they are available but not documented ). 2. If they can't be created using DTC - is a custom study the only way to go ( using code ) ? 3. If a custom study the only way to go - do you see any problems with a study connecting to a websocket server to listen to order that come from external means ? Current: Signal -> connect to dtc -> order sent to sierra Future: Signal -> Connect to a custom websocket server -> send order to websocket server, Custom study -> listen for order data via custom websocket-> onMessage read order and execute(send order to execute using ascil) |