add_cors_headers# API documentation for tradeexecutor.webhook.events.add_cors_headers Python function. add_cors_headers(event)[source]# Add CORS headers. Trade executors run in a separate domain from the frontend, so these are needed. See https://stackoverflow.com/a/47167858/315168.