some orders to thinkorswim order fired twice, three times or fourtimes on yesterday 4/14
.
can you please take a look at it?
.
can you please take a look at it?
Rename
Please give us some context.
1. Which trading tool were you using?
2. Does the strategy create multiple positions?
3. I assume Auto-Trade, but please confirm that. (It's really surprising that the same order could be duplicated during Auto-Trade.)
Also, I notice that your exit sizes were a share less that the entry. Are you using % of equity sizing? In any case, consider if the Trading > Portfolio Synch Preferences are right for you. If the script is only trading one position per symbol per account, then Portfolio Synch is the way to go.
1. Which trading tool were you using?
2. Does the strategy create multiple positions?
3. I assume Auto-Trade, but please confirm that. (It's really surprising that the same order could be duplicated during Auto-Trade.)
Also, I notice that your exit sizes were a share less that the entry. Are you using % of equity sizing? In any case, consider if the Trading > Portfolio Synch Preferences are right for you. If the script is only trading one position per symbol per account, then Portfolio Synch is the way to go.
fixed size 1000$
single position
wealthlab 7 build 52
I use auto trade
please only focus on 4/14. I don't have position before 4/13
single position
wealthlab 7 build 52
I use auto trade
please only focus on 4/14. I don't have position before 4/13
It crashed when I try to save the current workspace. I have restarted the software
can't save workspace error:
System.TypeInitializationException: The type initializer for '
' threw an exception.
---> System.MissingMethodException: Method not found: 'System.String WealthLab.Core.Tokenizer.AppendToken(System.Object)'.
at
.
.
(RuntimeTypeHandle )
at
..cctor()
--- End of inner exception stack trace ---
at WealthLab.Candlesticks.cwCandlesticks.get_WorkspaceString()
at RepositoryTest.SetExporter(Object , RepositoryTest )
at WealthLab7.WorkspaceManager.StopDatabase(MainWindow i, Tokenizer caller)
at WealthLab7.WorkspaceManager.SortDatabase(String first, Boolean iscust)
at WealthLab7.WorkspaceManager.SaveWorkspace()
at WealthLab7.MainWindow.PrintList(Object )
at WealthLab7.MainWindow.VisitAnnotation(Object res, RoutedEventArgs selection)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Hi replyxfl,
It looks like you might have a Candlesticks extension window open? It looks like that is causing the issue. It seems there's a problem in the Candlesticks extension for WL7 when saving a Workspace. It works fine in WL8, but for now can you try to close the Candlesticks extension window before saving the Workspace and see if that helps?
It looks like you might have a Candlesticks extension window open? It looks like that is causing the issue. It seems there's a problem in the Candlesticks extension for WL7 when saving a Workspace. It works fine in WL8, but for now can you try to close the Candlesticks extension window before saving the Workspace and see if that helps?
QUOTE:Yes, thank you. Let's look at the trades for just one symbol:
please only focus on 4/14. I don't have position before 4/13
SH
4/14/2022 10:30:09
4/14/2022 10:30:22
4/14/2022 10:30:35
4/14/2022 10:30:50
These Market orders are 13 - 15 seconds apart. That's not possible with Auto-Trade unless you're using tick or second intervals - and that's not possible in the Strategy Monitor. I'm still looking for context. Are you using n-Second Streaming charts? What Provider? (TDA only supports 1-minute intervals, historically)
I am using 60 minutes, polling. Now I have just changed to streaming data. I wonder if you polling has a bug of race condition. After order is fired, but beore the order is updated, another order is fired.
Re: Streaming
As we try to stress in the Help guide, the 'Streaming Bars' selection is the way to go. Broker Streaming services tend to provide conflated data, so the resulting bars often have slightly different OHLC/V values than a historical chart. Streaming Bars will produce bars identical to an historical chart.
Strategy Monitor, 60 minute bars, polling. Thanks.
As a follow up, how many symbols are in your DataSet? Ideally, please post your DataSet symbols so that I can try to duplicate it with close to the same conditions. Sometimes, behavior may depend on the symbols used.
As we try to stress in the Help guide, the 'Streaming Bars' selection is the way to go. Broker Streaming services tend to provide conflated data, so the resulting bars often have slightly different OHLC/V values than a historical chart. Streaming Bars will produce bars identical to an historical chart.
Strategy Monitor, 60 minute bars, polling. Thanks.
As a follow up, how many symbols are in your DataSet? Ideally, please post your DataSet symbols so that I can try to duplicate it with close to the same conditions. Sometimes, behavior may depend on the symbols used.
streaming bar is grayed out, streaming data is ok. I am using streaming data now. Before I was using polling. the symbols are EUM PSQ RWM SH SJB
QUOTE:Right you are. That's a bug and we'll get that fixed ASAP. Thanks.
streaming bar is grayed out,
Edit -
Actually I think it's okay. You can confirm.. Once you selected Streaming for 60-Minute bars (or any intraday scale starting at 1-Minute), the Streaming Bars selection will be available for TD Ameritrade. If it's not, please attach a screenshot!
grayed out
Good try!
The Broker is Ameritade, but which Streaming Provider is selected?
The Broker is Ameritade, but which Streaming Provider is selected?
streaming provider is td ameritrade
The curious thing about your image is that the label "Use Streaming Bars" is not greyed-out, but I can see the option is greyed out. I'd sure like to see the whole image - ALL of the settings - to try to duplicate that.
From my perspective, the only way you could even possibly have that disabled with Streaming: TD Ameritade is:
1. the Scale is Daily or higher (which it is not)
Or,
2. you're using an old version of the TD Provider (before TD build 16). The current version is build 21.
From my perspective, the only way you could even possibly have that disabled with Streaming: TD Ameritade is:
1. the Scale is Daily or higher (which it is not)
Or,
2. you're using an old version of the TD Provider (before TD build 16). The current version is build 21.
why saying symbols not processed after switch to streaming
I am using build 52
I am using build 52
Symbols aren't processed when there's no data for the bar. Of course this is unlikely to be the case. It would be helpful to know more - like which historical providers you have check in the Data Manager and their order top to bottom, and also when you initialized the Strategy Monitor.
What build of the TDA Provider have you installed?
Aside - don't let this distract you from answer the questions above -
there is a problem with TDA 60-minute historical bars closing at 4pm when the market filter is selected. You'll notice that charts are missing the 3:30 to 4pm bar. In general, Wealth-Lab needs to solve and standardize hourly bars for all providers. It's an open bug.
What build of the TDA Provider have you installed?
Aside - don't let this distract you from answer the questions above -
there is a problem with TDA 60-minute historical bars closing at 4pm when the market filter is selected. You'll notice that charts are missing the 3:30 to 4pm bar. In general, Wealth-Lab needs to solve and standardize hourly bars for all providers. It's an open bug.
how to check What build of the TDA Provider have you installed?
You can do version check in the Home Page tool (it's in the Tools menu).
I am having older version 14, I am downloading new version now. Can you please provide alert that new extension available to download for my installed extension?
The Home Page tool loads when you start WL, notifying you about newer version availability.
I have installed the new td client, but can't stream, do I need to create new key?
That shouldn´t be required, but you may need to log in again to refresh the token. Do it in the Data Manager > Historical Providers > TD Ameritrade Settings page.
it doesn't work for streaming. historic is fine.
QUOTE:I'm going to revise this to say, "you MUST log in to refresh or create the token!".
you may need to log in again to refresh the token.
Click the button right below the red message "Expired or not yet Created" to log in and create the token for your Consumer Key in Wealth-Lab.
I clicked login button, but nothing happens
the error message is the same as my previous post: expired or yet created. I think there is a bug for your new version of TD client
There's no bug. (It works for everyone else.)
Do you have a pop up blocker active? Wealth-Lab needs to open a browser dialog to serve the TD Ameritrade OAuth login screen.
Do you have a pop up blocker active? Wealth-Lab needs to open a browser dialog to serve the TD Ameritrade OAuth login screen.
Let us know if you want to schedule a Zoom call, maybe we can spot something if we see this happening.
I found the error message. Looks like your code has a bug
You’ll need to upgrade to the latest versions of both WL (I think this is WL7) and the TD extension. Let’s see your Home Page screenshot which will let us see which build you are running.
after installing build 53, it is working. I wonder if you can provide compatibility check when install new version of sw such as td client to save us a lot of time
Good idea, we'll do that!
from you: there is a problem with TDA 60-minute historical bars closing at 4pm when the market filter is selected. You'll notice that charts are missing the 3:30 to 4pm bar. In general, Wealth-Lab needs to solve and standardize hourly bars for all providers. It's an open bug..
When are you going to fix this? it is very critical
When are you going to fix this? it is very critical
Let’s start working on this for Build 5!
There, that's looking better ...
great, do I need to upgrade to WL8?
If you want this change then yes, and wait until Build 5, target release date tomorrow.
Your Response
Post
Edit Post
Login is required