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.

Last updated