WORMS Open Trading Interface Documentation v13.4.271.0 |
WORMS Open Trading Interface (WOTI) is a library that provides an API for interacting with the core business logic underlying the WTP client. The API provides a native .NET interface and COM interface for interacting directly with a WORM system.
Environment: All machines running WOTI applications must have the .NET 4.0 Framework (or greater) installed as well as version 12 of the Microsoft C runtime. The latest C runtime can be downloaded from the Microsoft website.
WORMS System: A v13.4 or later WORMS system must be available with an accessible user permissioned to use WOTI. A WOTI-enabled user must be set up by the WORMS administrator to define market data configuration.
WOTI and COM
WOTI makes a COM interface available that can be accessed by any application with COM interoperability. To make the COM interface available, you must register WOTI with windows. This can be done using the WOTI installer or the RegAsm utility, generally with the command line "regasm Woti.dll /codebase /tlb:Woti.tlb" executed in the directory where WOTI resides.
| Namespace | Description |
|---|---|
| Woti | The general Woti namespace. |
| Woti.IM | Provides an interface for interacting with the Worms Instant Messaging Protocol |
| Woti.ManagedOrders | Provides an interface for creating managed orders via the API. |
| Woti.News | Provides an interface for subscribing to latest headlines, reviewing cached historical news headlines and requesting cached news stories. |
| Woti.Orders | Provides an interface for interacting with the Worms order framework. Place orders, query order information, etc. |
| Woti.Positions | Equivalent to the WTP Position Grid. Provides an interface for inspecting the position information. |
| Woti.StaticData | Provides an interface to retrieve useful WORMS system data that remains static within a single Session. This data includes lists of current WORMS users, portfolios, accounts, and firms, permission information, and symbol construction utilities. |
| Woti.TradingRestrictions | |
| Woti.UserConfig | Provides access to WORMS user default settings. These settings can be used as guidance for client behavior when certain symbols, routes, and portfolios are in use. Also provides guidance on desired default quantities and price precisions for specific security types and/or symbols. |
| Woti.Waves | Equivalent to the WTP Wave Grid. View information on orders by wave. |
| Woti.WheatSeed | |
| Woti.Wmd | Tools for interacting with the cached market data. |