--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/mhl8rn0h7q0J.
To post to this group, send email to jbook...@googlegroups.com.
To unsubscribe from this group, send email to jbooktrader...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
Congratulations. I am happy to hear your successful story. I hope to hear more successful stories, either from you or other persons.
- Another idea not related to the above, and not even implying any change to JBT, would be to compile a sort of 'feared events' data set, or black swans if you like, including only days in which the market behaved weirdly, to backtest a strategy before launching. This is done often in safety systems engineering (which is more related to my background than futures trading!).
- It seems that the strategies work fine over a period of weeks following a certain market trend or market conditions. However, as JBT strategies are intraday, they do not take into account the overall trend of the last weeks. However, my experience is that they can be quite sensitive to it.For example, perhaps the platform could easily generate a file (from the logged data or from IB) with some daily values e.g. the open, close, max, min, volume, etc. so that strategies use this info when launched everyday e.g. to not enter (or control position sizing in the new version?). Maybe it goes a bit agains the JBT phylosophy, and maybe there are other ways to avoid entering in adverse periods, but I thought it was worth commenting...
Hi Eugene,this sounds great. You have done a tremendous job! By the way I have learned a lot about java programming while inspecting your code. Thank you! It's a pity that I had no time last year to follow up your idea with book trading but I will have more time this year. I have started to collect data for CL, GC and ZC this year. Unfortunately, IB does not allow more than 3 markets at the time. Some time ago you have offered your strategies for sale. I would be interested in it and sent you an e-mail in this regard.All the best to you,Alexander
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/pDroCu55r6QJ.
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/Uditd7bns3YJ.
Looking at the code, and this feature request. I think we can use IB API to get the historical data, since we all pay for it!
My suggestion is to create a new type of object, which lazy loads a 1yr security historical data for any security. Let's call it SecurityHistory (think of this like a macro marketbook, with no book data).
Next, we need to have a tier for HistoricalIndicators, which can get access to SecurityHistory. These HIstoricalIndicators can have state, for EMA calculations, etc. Then, any Strategy can create as many HistoricalIndicators it wants. I don't think this would break the existing object oriented model too much ;).
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
Regarding the GUI, I think I can do this with no GUI impact. This would simply be another type of indicator that a Strategy can get a reference too. This would keep things really simple for the initial impl, and reduce the risk of any impact to the existing trading code.
Is this one of the highest requested features?
Is this one of the highest requested features?
Not to my knowledge. Judson is obviously the one who is driving this requirement. I'd rather do other things. The two of you guys are welcome to work on this in a branch, if you'd like.
--
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/PFIuDNjnAKsJ.
I can't understand that your e-mails not even show up in my spam folder. I've never had that.
I have the fix for bug# 28, strategy rollover.Let me know if you want this in default branch, or if I should create a feature branch for review.
Release notes:- I didn't assume that closePosition() will be a success, so I check the currentPositions instead. This makes sure that we really did close that old contract before rolling it over.- Because of how I did the check, I added a timestamp to make sure I don't check too often when outside of trading hours.- We need to know how to recreate a contract, so for now I am using an optional override, this way we don't break existing Strategy code. I updated all checked in base classes to override this getNewContract() method.So, I think this was a reasonable balance of maintaining backward compatibility, yet encouraging this override for all future contracts.Let me know where you want it for review.
Are the offered strategies based on the same idea (thresholds of tension/force = balanceVelocity – factor * priceVelocity) or is there an entirely new approach?
Are the 5 Long strategies (or the 6 Short strategies) programmed as the same code with just different parameters?
The optimization period (often called the “In Sample” period) was Oct 1, 2010 to Jan 9, 2012, i.e. 15 months. What period is covered by the results shown on the paper "Best-Performing JBookTrader Strategies)? If that is the same period, could you provide a backtest covering just the year 2012 (the “Out of Sample” period) using the optimized parameters from the “In Sample” period?
Do you have an idea of the maximum draw down of your system while trading all strategies simultaneously? From a risk management perspective, this would be the figure to look at. Of course I could sum up all individual draw downs but the actual maximum draw down is probably much less.
I think the larger issue is the fact that JBT has no notion of
instantaneous draw-down.
Yes. Could be critical for heavy leverage or flash-crash like events -
although its hard to back test black-swans.
Your example with the two strategies A and B is not exactly what I meant. I talk about the cumulated drawdown of A and B at any given time. Suppose you run 5 strategies concurrently and suddenly all 5 go short at more or less the same time, and all lose money. Even when all strategies have a drawdown of less that 500 over a certain period of time, the cumulated drawdown could theoretically rise over 2000.
Right, I was really addressing a different point. With regards to the Max DD while running all the strategies, I have not analyzed it.
Secondly, in my case I optimized some sample strategies but they were really quiet during all the past year, weeks and months passed with 0 trades..