create_webhook_server#

API documentation for tradeexecutor.webhook.server.create_webhook_server Python function.

create_webhook_server(host, port, username, password, queue, store, metadata, execution_state)[source]#

Starts the webhook web server in a separate thread.

Parameters:
  • queue (Queue) – The command queue for commands posted in the webhook that offers async execution.

  • host (str) –

  • port (int) –

  • username (str) –

  • password (str) –

  • store (JSONFileStore) –

  • metadata (Metadata) –

  • execution_state (RunState) –

Return type:

WebhookServer