Skip This Ad >>
 
Register
Forgotten your password?
Forex-TSD - Powered by vBulletin
Loading search...
Advanced search
  • Home
  • Forums
    • Free sections
    • Exclusive sections
    • All sections
  • More Recent
    • Latest Threads
    • Today's Posts
  • Brokers Center
    • Find your broker
    • Open a Demo Account
    • Contact a Broker
    • Brokers support
  • Calendar
  • Register
    • Create new account
  • Quick Links
    • View Forum Leaders
    • Hottest Threads / Posts
    • Thanks / Like Statistics
  • Advertising
  • Blog
  • Premium Forum
Pay Per Download
  • Free access to all exclusive talks
  • Look for the files you need
  • Select the file and download
Elite Membership
  • Elite Trading System
  • Propietary Indecators
  • Elite Expert Advisors
Advanced Membership
  • All Elite benefits, plus:
  • - MT5 cutting-edge indicators.
  • - MT4 to MT5 Conversions
  • - 24/5 Trading Support!


  • Home
  • Calendar

» Forex-Tsd Calendar :: CSV API

  Calendars | Options | XML API | RSS API | CSV API | Programmatic API   

CSV API
  CSV API Details
There is 2 CSV sources:

1) CSV source of types (this chanel show ID of used types for specific calendar)
http://calendar.forex-tsd.com/type.php?csv=1&calendar=ID_OF_CALENDAR

Example of use: http://calendar.forex-tsd.com/type.php?csv=1&calendar=1

CSV row: type ID, type name, calendar ID

2) CSV source of events
http://calendar.forex-tsd.com/calendar.php?csv=1&date=START_DATE_IN_FORMAT_YEARMONTHDAY&calendar[]=ID_OF_CALENDAR1
&calendar[]=ID_OF_CALENDAR2&user=USER_LOGIN&key=USER_API_KEY&type[]=EVENT_TYPE_ID1
&type[]=EVENT_TYPE_ID2&impact[]=IMPACT_STRING1&impact[]=IMPACT_STRING2&gmt=HOURS

"csv=1" is mandatory parameter


"date" is optional parameter (NOW date by default)
Examples: START_DATE_IN_FORMAT_YEARMONTHDAY = 2070425
START_DATE_IN_FORMAT_YEARMONTHDAY = 2070405


"calendar" is mandatory parameter
Examples: ID_OF_CALENDAR1 = 1
ID_OF_CALENDAR1 = 103


"user" and "key" is optional parameters to see private events

"type" is optional parameter
Examples: EVENT_TYPE_ID1 = 189
EVENT_TYPE_ID2 = 103


"impact" is optional parameter
Examples: IMPACT_STRING = high
IMPACT_STRING = medium
IMPACT_STRING = low
IMPACT_STRING = actualpending
IMPACT_STRING = preliminaryrelease
IMPACT_STRING = revisedrelease
IMPACT_STRING = revision

"gmt" is optional parameter
Examples: HOURS = 5
HOURS = -12


Example of use: http://calendar.forex-tsd.com/calendar.php?csv=1&date=20070313&calendar[]=1&user=test&key=4758gh467546&type[]=1&impact[]=low&gmt=1
http://calendar.forex-tsd.com/calendar.php?csv=1&date=20070303&calendar[]=1&user=test&key=4758gh467546&impact[]=low&gmt=1
http://calendar.forex-tsd.com/calendar.php?csv=1&date=20070315&calendar[]=1&user=test&key=4758gh467546&gmt=1
http://calendar.forex-tsd.com/calendar.php?csv=1&date=20070315&calendar[]=1&user=test&key=4758gh467546
http://calendar.forex-tsd.com/calendar.php?csv=1&calendar[]=1



CSV row: event date, event name, event impact ID

event impact ID: 1 = high
2 = medium
3 = low
4 = actual pending
5 = preliminary release
6 = revised release
7 = revision




Forums
  • Free sections
  • Exclusive sections
  • All sections
Brokers Center
  • Find your broker
  • Open a Demo Account
  • Contact a Broker
  • Brokers support
Calendar Social Networking
Premium Forum
  • Elite Membership
  • Advanced Membership
All times are GMT. The time now is 02:32 PM.
Terms and Conditions | PRIVACY POLICY | CONTACT US | FAQ
Powered by vBulletin® Version 4.1.11
Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO
Image resizer by SevenSkins
Copyright 2005-2013 Forex-TSD
Digital Point modules: Sphinx-based search

Pay per download

All Elite and Advanced content is now reachable for FREE!
  • Search through thousands exclusive files
  • Choose and pay for the files you need
  • Professional quality made indicators
  • Working guarantee and dedicated support
or