📈Payloads Fields & Descriptions

Payload Fields Description

Name
Data Type
Examples
Required
Comments

password

String

"password1"

Yes

To safeguard your trade signals transmitted to a CandeFi webhook, a password is necessary for authentication. Maintain its secrecy and refrain from disclosing it to anyone.

asset_type

String

"options",

"stocks"

Yes

Signal asset type, currently supports Stocks and Options

asset_name

String

"AAPL",

"QQQ"

Yes

This is the name of the asset

action

String

"CALL",

"PUT",

"CLOSE",

"BUY",

"SELL"

Yes

CALL: Open an Option Call Trade

PUT: Open an Option Put Trade

CLOSE: Exit Option or Stocks Trade

BUY: Open a Stock Trade SELL: Exit Stock Trade

order_type

String

"LMT",

"MKT" "STP"

No

You can also use:

  • LMT for a limit order

  • MKT for a market order

  • STP for a stop order

If not specified, the default order type is MARKET ORDER.

enforce

String

"DAY", "GTC"

No

Time-In-Force (TIF) Options:

  • DAY: Orders placed with a DAY TIF will expire at the end of the trading day if they are not filled.

GTC: Orders placed with a GTC TIF will remain open for 90 days if they are not filled. If not specified, the default TIF is DAY.

expiration_date

Date

"2024-05-12"

No

Options Expiration Date

strike_price

Float

187.5,

190

No

Options Strike Price

price

Float

1.58,

2

No

Stock Price or Option Premium.

stop_price

Float

1.35,

1

No

Options Stop Price

quantity

Integer

10

No

Stocks or Options Quantity

Last updated