Automated trading for international traders: wishlist :-)
Author: abegy
Creation Date: 5/2/2012 8:55 AM
profile picture

abegy

#1
To automate your trading, you need as you know to automate quotes download. WLD has a build in function in the Data Manager where you can schedule automatic update at a specific time.
This is good except that when you trade on several exchanges located on different GMT (for example Mexican and Singapore exchange), quotes are not available at the same time.

For this reason, a better feature would be to define by Dataset at what time you want to download quotes and why not, when to do not update during day off.

Moreover, if you use Quote Monitor, you need to monitor only during exchange hours your quotes. For this reason, it would be interesting to purge Quote monitor scan after them at a specific time depending on the exchange where you trade.

Why not to link Data Manager update and Quote Manager with Market Data Manager ?
Thanks a lot !
profile picture

Eugene

#2
Whenever I hear about an unnecessary, confusing, complicating option like "different update schedule", this picture comes to mind immediately:



Sorry, couldn't resist.

Automated trading, if you stress it, through the Strategy Monitor implies that this tool "knows" when to execute a Strategy, to request data updates.

Moreover, what is the connection between the essentially streaming Quotes window and static data updates in the Data Manager?
profile picture

abegy

#3
Except if i'm wrong, the Strategy Monitor can only update Data Provider but not Fundamentals Data, isn't it ?

Regarding the Quote monitor, we had a previous discussion on this forum. There is no way at this time to clean orders monitoring if the order is a day order.
Do not forget that if we use Quote Monitor, it is because the broker does't allow to pass all orders and have some restrictions.
profile picture

Eugene

#4
Although you're making the right assumption about fundamental data being updated via the Data Manager only, it's not a concern since fundamentals are not available/applicable on intraday bar scales. These quarterly and annual (for the most part) items are meant to be updated rather infrequently.
profile picture

abegy

#5
I come back to you regarding your last comment. In the Fundamentals Data Provider extension, you have the news extension.

If we want to trade news, we need to have it compatible with Intraday data. On this case, it means that the data provider extension must work "OnDemand".
profile picture

Eugene

#6
But Wealth-Lab is not positioned as a real-time platform for trading on news. None of our providers support news on an intraday basis. The fundamental items representing Google/Reuters historical news are daily.
profile picture

abegy

#7
Have you any plans for that (maybe with a RSS live reader) ?
profile picture

Eugene

#8
No, nothing like that on our radar.
profile picture

hankt

#9
The international version could use the following 2 enhancments:

1) A portfolio of positions per paper account to allow updates, ie. purchase or short price due to slippage, of what has actually happened on the day's trading from staged orders to drive alerts for the next run.

2) Logical stop alerts - if one has multiple stops, say a trail, volatility and a stop loss, all alerts are currently displayed rather than the logical application of a stop which is closest to last price or entry price. That logic is not too difficult - if a long position then the highest stop below previous close price is the next valid stop; if short, then the price is the lowest of the stops which are above previous close price.

Because both of the previous are missing, I currently have to ignore all alerts and manually keep positions and stops in a spreadsheet. For me Wealth-Lab (I've just paid for my 3rd year of use) has turned out to be a great development and testing platform, but not so much for automated trading and portfolio management.
profile picture

Cone

#10
1) I don't understand. Are you asking for account feedback for scripting?

2) This is already a feature for Auto Trading. For manual trading, your can easily consolidate stop and limit prices into a single order in your script.

profile picture

hankt

#11
On the first point, for those of us using any broker around the world, the strategy monitor not only creates orders for today's trades, but prior day's stops. However, as we don't have a portfolio with the linked broker like those in the US, the system makes estimates on where the orders were executes and bases future stops on those rather than actual. The difference can be a couple of spreads and substantially incorrect for a percent stop loss or ATR multiple volatility stop. For paper trading, as all of us paid members are doing with live strategies, we need a portfolio of holdings created by our strategy which the strategy monitor then works from to generate future alerts.

So, 2 days ago, the strategy monitor said to me "buy x shares on open" and thinks I lifted the offer to get filled. Actually, my market on open fill happend 2 spreads past the opening offer. Today, the alert monitor gives me my stops - which are now a full 1% off of where they should be due to the system not knowing where the buy order was executed 2 days ago.

I have a slippage built in to the strategy, and still need to update actual for when there was greater and when there was zero slippage.

For point 2, I have auto trading turned on vs. a paper account - the alerts still fill the alert window. However, none of the alerts get converted to stop orders in the "Orders" monitor, and all alerts disappear a few seconds after they are created. If I turn auto trading off, the alerts stay in the alert window of the strategy monitor.
profile picture

Cone

#12
1.
QUOTE:
the system makes estimates on where the orders were executes
I feel your pain, but this is no different from Fidelity WL Pro with the integrated broker. Even there scripts do not have access to actual account or trade infromation and operate in a hypothetical mode only. This was a design decision primarily motivated by customer's requests to trade discretionary positions more easily without the need to synch to a Position in a broker account that was not created by Wealth-Lab.

The only suggestion is to create a file with metadata from the actual trades. At least for EOD trading this is practical. Your script must check and synchronize with these data using Community.Components.EnterAtPrice(). New alerts will then have the correct data.

2.
QUOTE:
However, none of the alerts get converted to stop orders in the "Orders" monitor, and all alerts disappear a few seconds after they are created
That sounds like a problem. Kindly post a sample script, or suggest a public one for which you see the problem. Let me know the your Preferences (F12) > Trading > Trading options.
profile picture

hankt

#13
Cone, this is my exit section (all alerts are generated, not the most appropriate alerts and zero orders created from alerts. Entry orders are generated):


CODE:
Please log in to see this code.


Preferences (Trading):
Default Account: PaperAccount1
Disable Portfolio Sync (checked)

I tested a canned script (Turtle 3.1) and it does generate stop orders from alerts??
profile picture

hankt

#14
Holy cow.

After running the canned script my strategy is now producing entry orders (long and short) AND STOP ORDERS for the first time ever.
Because of the high level of comments in my stop signal messages I can tell that there are no duplicate stops (stop loss, trailing or volatility) in the orders window.

I have made no changes to my code or preferences. I'm now looking at the canned script to see what that script has changed about my Wealth-Lab settings.

Also note that the Alert Time is in GMT while the Date/Time in the Orders window now shows last run time in local reference - yesterday's run and every other had shown the Date/Time in the Orders window as GMT, just as in the Alert pane of the Strategy Monitor.

I'm pleased but stumped on how things are suddenly working as expected after years of just accepting the issues of multiple alerts, no stop orders and time always in GMT (an issue for anyone that lives in a non-daylight savings global time zone) as peccadillos.
profile picture

hankt

#15
Now,

1) position syncing for automated trading via a table of positions generated by orders PLUS
2) understanding of exchange traded lots (in many exchanges around the world you can't buy just any number of shares {sometimes 100, 400, 500, 1000 or 2000 shares} and the round lot rules are posted at each exchange web site) AND
3) currency normalization (I trade equities across many exchanges and settle/account monitor in one currency)

and we would be much closer to a whole product for paid global users!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).