| Programmatic API Details |
Programmatic API to insert new event
http://calendar.forex-tsd.com/event.php?user=ACTIVE_USER_LOGIN&password=ACTIVE_USER_PASSWORD&calendar=CALENDAR_ID&ev_date=EVENT_DATE&ev_public=IS_PUBLIC&ev_name=EVENT_NAME
&ev_details=EVENT_DETAIL&ev_type=EVENT_TYPE_ID&ev_currency=EVENT_CURRENCY&ev_actual=EVENT_ACTUAL&ev_forecast=EVENT_FORECAST&ev_previous=EVENT_PREVIOUS&ev_period=EVENT_PERIOD
"user" and "password" is must parameters.
"calendar" is must parameter - ID of calendar
Examples: CALENDAR_ID = 1
CALENDAR_ID = 103
"ev_date" is optional parameter (NOW date by default)
Examples: EVENT_DATE = 20070405030900
EVENT_DATE = 20070425235959
"ev_public" is optional parameter (0 - private by default)
Examples: (private) IS_PUBLIC = 0
(public) IS_PUBLIC = 1
"ev_name" is must parameter - name of event
Examples: EVENT_NAME = test
EVENT_NAME = my_calendar
"ev_details" is optional parameter - detail of event
Examples: EVENT_DETAIL = test
EVENT_DETAIL = my_calendar
"ev_type" is optional parameter - id of type
Examples: EVENT_TYPE_ID = 2
EVENT_TYPE_ID = 34
"impact" is optional parameter
Examples: EVENT_IMPACT = high
EVENT_IMPACT = medium
EVENT_IMPACT = low
EVENT_IMPACT = actualpending
EVENT_IMPACT = preliminaryrelease
EVENT_IMPACT = revisedrelease
EVENT_IMPACT = revision
"ev_currency" is must parameter
Examples: EVENT_CURRENCY = USD
EVENT_CURRENCY = CAD
"ev_actual", "ev_forecast", "ev_previous" are optional parameters
"ev_period" is optional parameter
Examples: EVENT_PERIOD = day
EVENT_PERIOD = month
EVENT_PERIOD = year
Example of use: http://calendar.forex-tsd.com/event.php?user=s&password=d&calendar=1&ev_name=test%20ev&ev_currency=USD
http://calendar.forex-tsd.com/event.php?user=s&password=d&calendar=1&ev_name=test%20ev&ev_currency=USD&date=20070223124508
|
|