QuantNPC Webhook JSON Format

mail@pastecode.io avatar
unknown
plain_text
5 months ago
881 B
4
Indexable
If you would like QuantNPC trade signals sent to your server, please follow the instructions below.

1) Create an endpoint on your server that responds with status 200 when successfully received.
2) If your endpoint fails to process the request successfully, we will attempt to send the signal 3 times. Each request 5 seconds after the previous.
3) The following JSON format will be sent to your webhook url each time our model prints a new buy or sell signal. We'll never send multiple signals in the same request. Only one trade signal per response. 

{ 
  date: "2024-01-22", // yyyy-mm-dd 
  ticker: "BTC", 
  price: 65293.44, 
  buy: true, 
  sell: false, 
  short: false, 
  reason: 'Reason for trade generated by AI', 
  type: 'crypto' // it will either be crypto or stock
}

By using our webhooks integration, you agree to our: terms, privacy and disclaimer on QuantNPC.com
Leave a Comment