-
Notifications
You must be signed in to change notification settings - Fork 0
The simplest solution
- Create a folder
SignalsToCollective2
on your hard disk C: - We need two files from the "Simplest" folder of this repository:
signals_to_c2.xml
andsignals_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:
- Try to click on signals links. You should see this:
OK. It works as expected.
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:
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:
You will see this:
or this (in PsPad):
or this (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>
- 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):
Happy trading!