POST api/signal/receive
Request Information
URI Parameters
None.
Body Parameters
Signal| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
None. |
|
| side | string |
None. |
|
| symbol | string |
None. |
|
| price | decimal number |
None. |
|
| trail_point | decimal number |
None. |
|
| fixed_stop | decimal number |
None. |
|
| order_id | string |
None. |
|
| time | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"type": "sample string 1",
"side": "sample string 2",
"symbol": "sample string 3",
"price": 4.1,
"trail_point": 5.1,
"fixed_stop": 6.1,
"order_id": "sample string 7",
"time": 8
}
application/xml, text/xml
Sample:
<Signal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CtraderWebHook.Models"> <FixedStop>6.1</FixedStop> <OrderId>sample string 7</OrderId> <Price>4.1</Price> <Side>sample string 2</Side> <Symbol>sample string 3</Symbol> <Time>8</Time> <TrailPoints>5.1</TrailPoints> <Type>sample string 1</Type> </Signal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.