Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
FAQ

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile
T4 WebTrader

Admins
T4 Admin Guide

Developers
API 4.0 Guide
API 4.0 Reference
FIX API




Search the wiki
»
A single Limit order can be submitted using the SubmitNewOrder method on the AccountList object:

' Submit an order.
moOrder = moAccounts.SubmitNewOrder( _
oAccount, _
oMarket, _
BuySell.Buy, _
PriceType.Limit, _
TimeType.Normal, _
1, _
CDbl(6534))

The parameters for the SubmitNewOrder method are described here.

penPriceTypeSet to PriceType.Limit for a limit order.
penTimeTypeSet to TimeType.Normal for a limit order that will exist for the current trading day only.
piVolumeSet to the order volume you want.
pdblLimitPriceSet to the limit price you want. Be sure that you are using the correct overloaded SubmitNewOrder method and providing either a display price as a double or a tick price as an integer.

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

141 W. Jackson Blvd., Suite 211A, Chicago, IL 60604

© 2009-2012 Cunningham Trading Systems Inc. All rights reserved.