ATS
  • Overview
  • Getting Started
    • Quickstart
    • Sample Trading Configs
  • Basics
    • Definitions & Terminology
    • What is Market Making
    • Plots
    • Trading Report
    • Architecture
    • Exchange Configs
    • Strategy Configs
    • Canonical Namespaces
  • APIs
    • Create Trading Job
    • List Trading Jobs
    • Run Trading Job
    • Stop Trading Job
    • Get Plot Topic List
    • Plot Topics
    • Realtime Logs
  • Customizations
    • Adding a New Exchange
    • Adding a Strategy
    • Adding an Indicator
    • Custom Fee Structures
    • Adding a New Plot
Powered by GitBook
On this page
  • Request Structure
  • Response Structure
  1. APIs

Create Trading Job

This API can be used to create a trading job by combining strategy configuration and exchange configuration.

URL: /trading_job/create Method: POST

Request Structure

{
    "exchange": {
        "config": {...},
        "namespace": "exchanges:<your exchange name>"
    },
    "strategy": {
        "config": {...},
        "namespace": "strategies:<your strategy name>"
    }
}

Please refer Exchange Configs and Strategy Configs for more information about the config property of exchange and strategy.

Please refer Canonical Namespaces section to understand more about namespace convensions.

Response Structure

{
    "job_id": "<Unique trading job ID>"
}

The returned job ID is used for running, stopping and checking status of the trading job.

PreviousCanonical NamespacesNextList Trading Jobs

Last updated 7 months ago