Quote from james2hunt:
Swing has full drag/drop not sure why you need that ? I've used it in a previous projects for JTrees e.t.c
So I have the back testing coded but have run into problems thread wise. Mainly with the persistent layer and Entity Manager. Should have that working this week. Note there are at least 2 threads per symbol you are trading + the UI thread and broker interface thread. Then there are listener threads that run for error handling.
It failed running 20 symbols at once with a second delay on each candle. Runs fine in real time with 20 symbols but the test facade cuts out the broker delay.
Currently my approach is to persist at the thread level so each thread has a session context.
James
![]()
You might find that network latency is a much bigger problem.
1 thread may do just as well.