Learn

Learn the platform.
Develop your strategies.

Set up a local development environment, explore sample strategies, understand the APIs, and prepare your code for hosted services. Read our articles and find opportunities to meet the team.

01 / Get set up

The local trading development environment

Titan is our installable trading development environment. It combines real Kraken market data, simulated execution, and the same APIs and trading UI as our hosted services in one package for learning, development, and testing.

Market data

A Kraken feed handler delivers real market data through the normalized API shared by Featuremine’s other feed handlers.

Simulated execution

An exchange simulator implements the production OMS API, so your strategies can submit orders and test their behavior with simulated execution.

Trading UI

Work with the same trading interface available to hosted-services clients while developing on your own machine.

Understand the services

Start developing locally

Get the installable trading development environment and sample collection. Learn the API, develop strategies, and test them with real market data and simulated execution.

Prerequisites and access

Access is provided after review. Once your request is approved, we will email access instructions.

System requirements

Minimum
OS
macOS 15 or later (Apple silicon only)
Processor
4 CPU cores or more (e.g. Apple M1)
Memory
1 GB RAM
Storage
SSD storage
Internet
Internet access for the live market data feed
Recommended
OS
macOS 15 or later (Apple silicon only)
Processor
8 CPU cores or more (e.g. Apple M4)
Memory
2 GB RAM
Storage
SSD storage
Internet
Internet access for the live market data feed

These requirements apply to a single instance of Titan. Please also consider the requirements for running your strategy.

Install and verify your environment

Once you have access, install the package and start the local components. Verify that the environment is ready before running a strategy.

Start Titan

Install and open Titan using the instructions in your access email.

  1. In Sessions, select Default and click Start if it is not already running.
  2. Wait for the session to start and inspect the reference data and incoming market data. The default profile has four currency pairs, one account, and one simulated trading venue.
  3. Keep the session running while you prepare and run the sample in the next section.

See Start Titan for setup details and Prepare the sample for the files and Python requirements.

02 / Learn from examples

Run and study sample strategies

Start with a working example. Run it locally, observe its behavior in the trading UI, and follow the code to understand how the components work together.

Trace how the strategy receives market data, makes decisions, and interacts with simulated execution. Compare what the code does with the activity you observe before making changes of your own.

Run the synchronous sample

The synchronous WebSocket sample chooses buys or sells at quoted prices for each eligible account, security, and venue. It sends immediate-or-cancel (IOC) orders of at most one unit, capped by the available quote quantity.

  1. Download Samples and open its folder in a terminal. Use Python 3.9 or later and a virtual environment, then install the requirements:
    python -m pip install -r requirements.txt
  2. In Titan, hover over the Default profile name and click Copy order-entry token.
  3. Run the sample with the complete token you copied:
    python ws-strategy-sync.py --token "<TOKEN>"
  4. Inspect Orders/Manager in Titan to review the logs generated by your orders. The sample prints Done once all orders have been either fully filled, canceled, or rejected.

Follow preparation, run instructions, and result checks in Samples for the full walkthrough.

03 / Understand the interfaces

Understand the API

Use the sample strategies as a starting point for understanding the market-data and order-management interfaces. Learn the concepts, then consult the reference for the details needed by your code.

Market data

Understand how a strategy subscribes to and consumes data through the normalized interface shared by the feed handlers.

Order management

Follow how a strategy submits orders and handles order updates through the API shared by the exchange simulator and production OMS.

How the APIs fit together

Your strategy uses the reference data and quotes to validate which securities can be traded in the environment and the current prices at which they are traded, then it places orders for the desired securities and finally handles the replies.

  1. Retrieve account, security, and venue identifiers through the REST reference data feed.
  2. Request bid and ask prices and quantities through the REST market data feed.
  3. Encode orders with the Cap’n Proto order schema and send them through the WebSocket gateway.
  4. Match replies to the order identifier until the order is filled, canceled, or rejected. A forwarding acknowledgement confirms submission, not execution.

Carnitas is our TCP-based protocol: use its order gateway and streaming market data feed as an alternative. The API reference covers authentication, formats, recovery, and errors.

04 / Build your own

Develop and test your strategies

Put the examples and API concepts to work. Implement your strategy, run it in the local environment, and inspect its behavior with real market data and simulated execution.

Start with a small change to a sample, check the result, and build from there. Use the trading UI and available diagnostics to investigate unexpected behavior. Account for the limits of simulated execution when interpreting your results.

Modify the sample

Compare the sample’s IOC orders with passive DAY orders that can remain open.

  1. Save a copy of ws-strategy-sync.py as my-strategy.py in the same Samples folder.
  2. Change timeInForce from ioc to day. Set buy limits 1% below the bid and sell limits 1% above the ask so they can rest; Titan cancels DAY orders that cross the market.
  3. Run your copy with the same token:
    python my-strategy.py --token "<TOKEN>"
  4. Compare the orders in Titan. The modified sample waits for terminal responses while passive DAY orders can remain open. Pressing Ctrl+C stops the sample without canceling those orders.

Follow Modify a sample for the exact edits and result checks. The order schema defines the fields.

05 / Prepare for production

Move to hosted services

Develop your strategy locally using Featuremine’s market-data and order-management APIs, then use the same interfaces to connect it to hosted services.

In production, the OMS connects to real trading venues, computes account positions, and supports market-access risk checks. The local environment uses an exchange simulator in its place, letting you develop against the same API with simulated execution.

Local tests help you learn the workflow and assess strategy behavior; they do not establish hosted performance or reliability. Discuss those requirements in a hosted demo and validate the fit through a scoped POC.

Connect to hosted services

Configure your strategy with the hosted connection details supplied by Featuremine.

  1. Set --host, --port, --market-port, and --reference-port to the supplied hostname and ports. Both WebSocket examples use one hostname for all three services.
  2. Supply your hosted order-entry token. Add --tls only when the provided endpoints use TLS; it switches all three services to WSS/HTTPS.
  3. Use compatible Cap’n Proto schemas and retrieve the accounts, securities, and venues from hosted reference data.

See Connection settings for the options and the WebSocket guide for authentication and schema compatibility.

06 / Read further

Read our articles

Explore published writing on trading technology, market data, and financial infrastructure. Choose the topics relevant to your work and bring your questions to the team.

Get new articles by email

Subscribe to receive Featuremine’s writing on trading technology, market data, and financial infrastructure.

07 / Connect with the team

Meet us at events

Find opportunities to meet the team at conferences and other industry events, and explore material from past sessions.

Past events and sessions

Explore past sessions on trading technology, integration, and operating trading systems.

Enhancing Efficiency and Scalability: Seamless Deployment and Support for Trading Operations

Discover how our high-performance trading platform and custom integration solutions can be seamlessly deployed into your infrastructure, enhancing operational efficiency and scalability. Learn about our end-to-end support services, including system operation, real-time performance monitoring, and maintenance, designed to ensure optimal functionality.

Date
View event details, Enhancing Efficiency and Scalability: Seamless Deployment and Support for Trading Operations
Learn | APIs, Strategy Development & Events | Featuremine