Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How can I run my strategy to run with webhook for trading live

I am new to quant and starting the python. It is a little too much since coming from Node.js.

If I have my own strategies on Quantopian and wanna run with historical and real-time data, which I saved on Quantopian as well as connect FTP for realtime.

How can I achieve to trigger to webhook to send to signals when buy/sell signals start?

Sending Webhook is just web POST request along with

LONG ORDER

{ "request": "order", "order": "{{buy}}", "type": "{{long}}", "symbol": "{{ticker}}", "entry": "{{price}}", "notp": "true", "buystop": "{{buystoplevel}}", "sellstop": "{{buystoplevel}}"}

SHORT SELL ORDER

{ "request": "order", "order": "{{sell}}", "type": "{{short}}", "symbol": "{{ticker}}", "entry": "{{price}}", "notp": "true", "buystop": "{{buystoplevel}}", "sellstop": "{{buystoplevel}}"}

FLAT BUY ORDER

{ "request": "order", "order": "{{buy}}", "type": "{{flat}}", "symbol": "{{ticker}}"}

FLAT SELL ORDER

{ "request": "order", "order": "{{sell}}", "type": "{{flat}}", "symbol": "{{ticker}}"}

STOP LEVEL REQUEST at each candle

{ "request": "stoplevel", "buystop": "{{buystoplevel}}", "sellstoplevel": "{{buystoplevel}}"}|