Depending on how you are trying to place the order, the solution may be one of the following.
A user is unable to place orders primarily due to one of the following reasons:
- The order is being rejected by the broker
- Check rejection reason column (on orders tab) & make necessary changes
- The trading account has login issues
- If you see login errors, go to menu (Settings -> Trading Account) & correct your credentials
- AutoTrader Web is giving some error (not the broker)
- Amibroker & Metatrader errors solution is given below
- Check Activity Logs (Menu: AutoTrader -> Activity) for any errors
- If you are using any other means, then send complete details along with screenshots to the support team
Solution
Those who are using the APIs directly (without at-desktop client)
- Your request is missing the authentication header, which contains API key. So you need to add API key in the HTTP header, many samples are available in API docs (See HTTP Tab)
- The other mistake is passing invalid request parameters or missing the mandatory request parameters. Best way find out is to compare with the sample requests available in API docs (See HTTP Tab)
Those who are using at-desktop client
These are users who are using Excel, AmiBroker or MetaTrader library or any other user connecting to AutoTrader web via CSV files using at-desktop application.
Check the at-desktop logs for any errors
Make sure both at-desktop and your strategy software are using exactly same communication path
A mismatch in the commands.csv file path which is used for communication can results in orders not reaching the Desktop client. See below examples:
Remember the default path contains your windows username.
Important: In rare cases, the default path showed on the client might not exists on your system. In that case change it to point to your home directory (C:\Users\<windows_user>\autotrader). This needs to be changed on both at-desktop & AmiBroker or Excel. The path must match on both sides.
AmiBroker
Note: The <user> in the path is actually your windows user name, so it will be different for you. Check C:\Users path and find your current user folder.
Admin
MetaTrader
The default path is:
C:\Users\<windows_user>\AppData\Roaming\MetaQuotes\Terminal\Common\Files\autotrader
Make sure there are no errors in your charting software
If you are using AmiBroker then please check following two tabs in log window
Make sure you have used our API functions in your code
Please take a look at the client setup documentation and make you have done necessary changes in your code to use our API functions.
You can even debug your trading strategy to find out how it behaves when there is a signal.