RegisterLogin  
 Search
 
 
Thinking Stuff
Automated Trading Software
Automated trading is no longer just for the rich or nerdy. Our revolutionary software uses your trading rules, but none of your emotions. There's just one requirement - you know how to use a mouse.
  

You are here: Resources » Knowledge Base Normal layoutMedium LayoutLarge Layout Normal TextMedium TextLarge Text
 
Knowledge Base
NOTE: With the creation of the Thinking Stuff User Manual (available on the Download page), this Knowledge Base has become more of just an announcements area. So maybe not so interesting. Try the Blog instead.

Current Articles | Categories | Search

Articles from Oanda

Manual Order Shortcut

Manually entering the details for a new order is a bit of a hassle, especially when you just want to get that order placed NOW! NOW! NOW!

At the bare minimum, you have the entry price, the stop loss price, the number of units, and the currency.

Doing it through TS, you also need to enter the trading system and account to use.

It's a bit much. But, there is a way around it. You can use the Copy function provided by TS, which will open up the Orders Update window with all the same settings as the order being copied.

Click the Save And Close, or Send Order To Broker button, and you're done.

You'd probably want to change a couple of the settings before you send this new order off to the broker, but this shortcut gets you out of having to fill absolutely everything in absolutely every time you place an order manually through TS.

posted @ Tuesday, November 21, 2006 12:35 AM by Sharky

When The Day Starts

A trick with the dates is to be aware of the start time for that company's "Day".

With Gain Capital the start time is 10PM (GMT).

So what you might think of as the Daily bar for November 2nd, actually starts at 10PM on November 1st.

What it means is if anywhere in TS (backtesting, charts, view data, etc) you choose a "From" date of "01-Jan-06 00:00:00", the Daily bar starting at "31-Dec-2005 22:00:00" will not be included.

Similarly, choosing a "To" date of "31-Jan-2006 23:59:59" will include the Daily bar that starts at "31-Jan-2006 22:00:00".

Oanda's start of day is midnight GMT, so there is no such problem with their data.

posted @ Monday, November 20, 2006 11:41 PM by Sharky

How To Set Up Oanda Sub-Accounts In TS

Oanda's account structure is like this:
- Main Account
   - Sub-Account #1
   - Sub-Account #2

TS's account structure is like this:
- Account #1
- Account #2
- Account #3

So how do you set up Oanda sub-accounts in TS?

Firstly, set up your User in TS, using the Oanda username. Let's say the username is "Bob".

Now, each account or sub-account in Oanda has a different account number. You should create one TS account for each Oanda account or sub-account.

E.g. you have an Oanda account with username "Bob" and #123456789. That account has a sub-account #987654321.

In TS, create your Oanda user "Bob". Then create one TS account, with user "Bob" and account number #123456789. Then create another TS account, with user "Bob" and account number #987654321.

In summary, 1 Oanda account with 1 sub-account equals 2 accounts with the same User but different account numbers in TS.

posted @ Friday, November 10, 2006 1:52 AM by Sharky

"Real" and "Paper" Accounts

When you set up your trading accounts in TS, there is an option to mark it as a "Real" or "Paper" account.

This has caused some confusion with "Real" and "Demo" accounts.

Here's the difference: Think of account types of "Real" and "Paper" in TS as "exists with a broker" and "exists in my head for practice purposes".

So if the account exists with a broker, even if it's a Demo account, it is in fact "Real".

"Paper" accounts will not be used for auto-trading, nor for downloading price, transaction, and account information from the broker.

posted @ Friday, November 10, 2006 1:42 AM by Sharky

Duplicate Key Violates Unique Constraint

On the Command Centre, there are 2 places for downloading prices from Oanda.

One is the "Price Downloads" tab and the other is the "Special Price Downloads" tab.

The latter downloads only the prices needed by active trading systems and active alerts. In this way, you can be sure that your active trading systems and alerts are getting fresh data to work off when they need to do their calculations.

You then use the Price Downloads section to download as much data as you want, so you can use it for backtesting later on.

Doing both is fine, and recommended, but it may sometimes lead to an error being displayed:
Problem encountered while downloading special prices from Oanda:

ERROR: 23505: duplicate key violates unique constraint "pk_zoanda_usdjpy_30s"

at
ThinkingStuff.frmAutoTrading. bgwPriceOandaSpecial_RunWorkerCompleted (Object sender, RunWorkerCompletedEventArgs e)
This particular error was for USDJPY 30-Second bars.

The error comes about when both the Price Downloads and Special Price Downloads are downloading the same currency/interval at the same time. When they both start, neither thinks a particular bar has been entered into the database yet. One will do the insert before the other. The other will try to do the same insert, but now that bar is actually there.

The database doesn't allow a particular bar to be inserted more than once, so this error is shown.

Because the bar is already there, this is not a problem. Don't worry about it.

The regularity of this error will depend on how many currencies/intervals you are downloading. The more currencies/intervals you are downloading, the less likely both the Price Downloads and Special Price Downloads are going to be working on the same ones at the same time.

posted @ Tuesday, November 07, 2006 11:06 PM by Sharky

Oanda Interface

The code to utilise the Oanda API is done.

In order to use this software with Oanda, you still need to purchase the API from them. That's US$600 for the first 2 months, and then US$600 every month after that. They do give discounts of $50 for every $1 million worth of trades completed within that month, so if you trade a total of $12 million or more the API use becomes free. And, even if you didn't use it at all, the monthly fee should never be more than $400 (click here to see how).

But because it does cost, we recommend starting with Gain Capital's demo account for free, until you have a trading system that works. Up to you.

posted @ Friday, October 20, 2006 5:57 AM by Sharky

New Release: v0.7.0 - Oanda API

posted @ Friday, October 20, 2006 6:34 AM by Sharky

Previous Page | Next Page

 Print   

 
Categories
  

 
Archives
  

 
Quotes

"I have looked at you trading software for some time and I have found it very interesting."
- M.J. (Sweden)

  

 
Featured Articles
Download The Science of Getting Rich free!
  

 
Announcements
  

 
Blog
  

 
Popular Pages
  

 
Stats
Members Where Are They:
Visitor [5] : Home
Visitor [1] : Gain Capital Quirks
Visitor [1] : Road Map
Visitor [1] : Useful Free Stuff
Visitor [1] : Useful Blogs & Websites
Visitor [1] : Licence
Visitor [4] : How And Where To Download Historical Price Data
Visitor [1] : FAQ
Visitor [7] : Knowledge Base
Visitor [1] : Movies
Visitor [4] : Blog
  

Membership Membership:
Latest New User Latest: rinchendawa
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 294

 Copyright 2005-2007