Skip to content

The simplest solution

Bohuslav Svancara edited this page May 25, 2015 · 31 revisions

Setup

  • Create a folder SignalsToCollective2 on your hard disk C:
  • We need two files from the "Simplest" folder of this repository: signals_to_c2.xml and signals_to_c2.xsl.

You can download all files from this repository using the "Download ZIP" button from the main page and extract those files to the C:\SignalsToCollective2 folder or you can right-click following links and use "Save link as...":

Link #1: signals_to_c2.xml

Link #2: signals_to_c2.xsl

(Save both files to the C:\SignalsToCollective2 folder. Make sure that saved files have XML and XSL extensions.)

  • Start your Internet Explorer or Firefox and enter the following text to the address bar:

file://C:/SignalsToCollective2/signals_to_c2.xml

  • You should see this page:

signal_sender_example

  • Try to click on signals links. You should see this:

signal_sender_example2

OK. It works as expected.

Usage

Your signals data are in the signals_to_c2.xml file. You need to edit it using a "plain text" editor like Notepad, PsPad, Sublime and similar. WordPad or Word can't be used!

Open the signals_to_c2.xml file in Notepad. The easiest way is to right click the file and use Open with -> Notepad:

Open with notepad

You can also start Notepad at first and open the file from it. Just be aware that Notepad does not show XML files by default. You need to select "All files" in the Open dialog:

Open from Notepad

You will see this:

Xml in Notepad

or this (in PsPad):

Xml in PsPad

or this (in Sublime):

Xml in Sublime

Great!

You need to finish a setup now:

  • enter your Collective2 trading system ID instead of 11111111 in this line: <systemid>11111111</systemid>

(How Do I Find My System ID?)

  • enter your Collective2 Data Services Password instead of YOUR_C2DS_PASSWORD in this line: <password>YOUR_C2DS_PASSWORD</password>

(What Is The C2 Data Services (C2DS) Password?)

For example, if your trading system ID is 123456789 and your C2DS pasword is grhx_1234, the desired result is:

<systemid>123456789</systemid>

<password>grhx_1234</password>

OK.

You can enter your trading signals now.

Each signal is on its own line which starts by <signal and ends with />

See current lines as examples.

Save the file and enter file://C:/SignalsToCollective2/signals_to_c2.xml in your browser address bar.

You will see a page with your signals. You can send signals to your Collective2 trading system from it. Just click on links.

You will see something like this (errors are intentional):

signals sent

Happy trading!

Clone this wiki locally