Difference between revisions of "Main Page"

From Pair Trading Lab WIKI
Jump to: navigation, search
Line 18: Line 18:
 
# Go to the [https://www.pairtradinglab.com Pair Trading Lab website] and login to your account
 
# Go to the [https://www.pairtradinglab.com Pair Trading Lab website] and login to your account
 
# Go to Menu -> PTL Trader -> Setup & Download (if you don't see this, you are not a Premium Member or your membership has expired) (see the screenshot)
 
# Go to Menu -> PTL Trader -> Setup & Download (if you don't see this, you are not a Premium Member or your membership has expired) (see the screenshot)
[[File:Ptltrader-setup.png]]
+
#:[[File:Ptltrader-setup.png]]
 
# If you don't have API access keys yes, you will see a button ''Generate PTL Trader keys for me now''. Press it, it will generate your keys and setup your PTL Trader access immediately
 
# If you don't have API access keys yes, you will see a button ''Generate PTL Trader keys for me now''. Press it, it will generate your keys and setup your PTL Trader access immediately
 
# When you already have API keys generated, you can see your '''Access Key''' already. In order to see your '''Secret Key''' press the link saying "click here to see my Secret Key".
 
# When you already have API keys generated, you can see your '''Access Key''' already. In order to see your '''Secret Key''' press the link saying "click here to see my Secret Key".

Revision as of 09:24, 10 May 2013

This wiki will contain manual and tutorials for users of Pair Trading Lab website and PTL Trader application.

Contents

PTL Trader Guide

Introduction

PTL Trader is a proprietary automated trading system solution for pair trading. See more informations here. You can use it to execute your pair trading strategy portfolios you have built using the Pair Trading Lab website Portfolio Manager.

Requirements

  1. Windows OS compatible with Java 7 is required
  2. 32-bit Java 7 (1.7) or newer is required. The installer checks this. 64-bit Java is not supported at this moment, but it will be at some point.
  3. PTL Trader requires Interactive Brokers TWS or IB Gateway, providing an API access. Server IB API version 66 or newer is required.

PTL Trader and Portfolio Manager are only available to Premium Members.

Installation & Setup

In order to use PTL Trader application, you must obtain PTL Trader API keys first. They are used to authenticate the application running at your side against our server, so the application is able to retrieve your portfolio and settings and send back your trading stats (unless confidential mode is used). There are two keys needed - the Access Key and the Secret Key

Steps to do:

  1. Go to the Pair Trading Lab website and login to your account
  2. Go to Menu -> PTL Trader -> Setup & Download (if you don't see this, you are not a Premium Member or your membership has expired) (see the screenshot)
    Error creating thumbnail: Unable to save thumbnail to destination
  3. If you don't have API access keys yes, you will see a button Generate PTL Trader keys for me now. Press it, it will generate your keys and setup your PTL Trader access immediately
  4. When you already have API keys generated, you can see your Access Key already. In order to see your Secret Key press the link saying "click here to see my Secret Key".
  5. Now, you can download the PTL Trader MSI installer by clicking the button Download PTL Trader. You download should start.
  6. Check software requirements above
  7. Run the installer to install the PTL Trader application. The installer checks the Java version, so it won't allow you to install if you don't have Java or if it is outdated
  8. Run PTL Trader from your start menu
  9. Go to the Settings tab and fill in your access keys. By pressing Connect button it should authenticate and connect tou our website and download your portfolios you created in Portfolio Manager
  10. Start IB Trading Workstation or IB gateway, enable socket-base API access in settings
  11. In PTL Trader settings, check the IB ABI Client Id and Port if matches what you need. Client Id can be 1 if PTL Trader is the only application connecting to your API. Default port numbers are 7496 for TWS connection and 4001 for IB Gateway connection.
  12. Press Connect. It should connect to your IB API now.
  13. You are ready now to setup your portfolios and account bindings.
Error creating thumbnail: Unable to save thumbnail to destination
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox