Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 13:39:22 +0000



Post From: Programmatically set trade size in discretionary trading

[2017-06-19 17:03:44]
Jagui - Posts: 19 Invalid SC Account Name.
Hello, I would like to know if there is a way (any kind of way, from setting parameters to coding in c++) to accomplish a simple task.

I would like to:

1) on a stock chart, manually enter an order to open a position, with bracket orders automatically added by SC chart trader

2) override the trade size by invoking some code that, before sending the order to the broker, changes the order size according to some logic (e.g. calculating number of shares based on current volatility)

Is this possible?

Thank you.