The System API provides general data on the full eToro SystemThe Insights method provides an insight on the trends inside the eToro systemWhat type of insight we wish to seeComma delimited string containing instrument ids which will be explicitly returnedThe daily price change method shows the daily price change of the instruments in the system. The order of the response regarding the daily changeThe current page. If omitted the default will be the first pageThe number of results in each page. If omitted, the page size will default to 20The response will contain an array of items which consist of the instrument ID and the daily price change percentage[
{
"instrumentId": 4037,
"dailyPriceChange": -12.58
},
{
"instrumentId": 4180,
"dailyPriceChange": -10.07
}
]The Market Events method returns information on significant market events. Minimum date for events. In case it is omitted it will be 10 daysMaximum date for events. In case it is missing the current timestamp will be usedThe current page. If omitted the default will by 1The pagesize. If omitted the default page size will be 10The returned object contains the total number of market events in the requested interval, and an array of events according to the requested paging.
<br><br>
The following describes each item:
<br><br>
<table class="response-row">
<tr>
<td class="response-col1">EventId</td><td class="response-col2">integer</td><td class="response-col3">The unique identifier of the event</td>
</tr>
<tr>
<td class="response-col1">EventDesc</td><td class="response-col2">string</td><td class="response-col3">Description of the event type</td>
</tr>
<tr>
<td class="response-col1">Occurred</td><td class="response-col2">datetime</td><td class="response-col3">Timestamp of the event</td>
</tr>
<tr>
<td class="response-col1">InstrumentId</td><td class="response-col2">int</td><td class="response-col3">The instrument ID of the event. A full list of instruments can be obtained from the <a href="https://api-portal.etoro.com/docs/services/5784e8446361c811ccfdf536/operations/5784f6ee6361c811ccfdf53b">Metadata/Instruments API</a></td>
</tr>
<tr>
<td class="response-col1">ChangePct</td><td class="response-col2">number</td><td class="response-col3">The change percent of the event</td>
</tr>
<tr>
<td class="response-col1">IntervalDesc</td><td class="response-col2">string</td><td class="response-col3">The interval which the event refers to</td>
</tr>
<tr>
<td class="response-col1">ChangeDesc</td><td class="response-col2">string</td><td class="response-col3">Change description, possible values may by percent change, dollar change, pip change</td>
</tr>
<tr>
<td class="response-col1">PrevRate</td><td class="response-col2">number</td><td class="response-col3">The baseline rate of which the event was calculated</td>
</tr>
<tr>
<td class="response-col1">CurrRate</td><td class="response-col2">number</td><td class="response-col3">The rate which triggered the event</td>
</tr>
<tr>
<td class="response-col1">DirectionDesc</td><td class="response-col2">string</td><td class="response-col3">The direction of a streak event, can be up or down</td>
</tr>
<tr>
<td class="response-col1">Duration</td><td class="response-col2">integer</td><td class="response-col3">The duration in days for a streak event</td>
</tr>
</table{
"totalItems": 157,
"items": [
{
"changePct": 1.52,
"intervalDesc": "Daily",
"changeDesc": "PercentChange",
"prevRate": 17.61,
"currRate": 17.88,
"eventId": 5671,
"eventDesc": "RateChange",
"occurred": "2017-08-28T21:08:30.38Z",
"instrumentId": 63
},
{
"changePct": 17.46,
"changeDesc": "PercentChange",
"prevRate": 0,
"currRate": 0,
"eventId": 5618,
"eventDesc": "Streak",
"occurred": "2017-08-25T13:02:56.513Z",
"instrumentId": 4188,
"directionDesc": "Up",
"duration": 4
},
}The auto-complete method allows you to create an "auto-complete" like widget with both users and instruments in the systemThe search term you will be executingThe number of instruments in the result setThe number of users in the result set