https://www.amazon.com/Robert-Carver/e/B011AGFWW8what were the titles of your first 3 books?
https://www.amazon.com/Robert-Carver/e/B011AGFWW8what were the titles of your first 3 books?
Welcome back. You're not the only one who had these weird messages from Gateway. Myself included. In my case I got an additional message, saying that my Gateway version was too old and no longer supported. However, when I restarted Gateway and agreed to using SSL it ran fine (at least until now). So, for the time being, will I not change the Gateway version. Later Gateway versions have a modified logon/autologoff procedure which IBCalpha can't handle properly, so I would prefer not to use those.So I'm back. Was going well then bit of a mare when stocks sold off, so now back to a ~4% drawdown. IB gateway giving me a weird message about SSL connections, hope that won't break IBC.
FWIW, IB API team finally called me back and explained that the SSL layer requirement caused widespread havoc and was unexpected so they have been busy fielding calls. They still expect to give 2-3 months notice before deprecating gateway versions and the minimum version they still support is still 972. For those who have not seen Richard King's message you can either check the SSL layer or for headless servers amend the jts.ini file by setting UseSSL=true. After this you should be good to go and IBC still works beautifully!So I'm back. Was going well then bit of a mare when stocks sold off, so now back to a ~4% drawdown. IB gateway giving me a weird message about SSL connections, hope that won't break IBC. System mostly stable whilst I was away (okay it was down for ~10 days because of internet issues, but then has been okay). Working my way through a pile of non trading related admin, overdue gardening, pull requests, emails and issues.
Once all that crap is out of the way I plan to start writing the proposal for my new book (on futures trading strategies). Anything you gentlemen (and ladies? And other??) would like to see in book IV?
GAT
This is very useful information. Thank you for reporting.FWIW, IB API team finally called me back and explained that the SSL layer requirement caused widespread havoc and was unexpected so they have been busy fielding calls. They still expect to give 2-3 months notice before deprecating gateway versions and the minimum version they still support is still 972.
So I'm back. Was going well then bit of a mare when stocks sold off, so now back to a ~4% drawdown. IB gateway giving me a weird message about SSL connections, hope that won't break IBC. System mostly stable whilst I was away (okay it was down for ~10 days because of internet issues, but then has been okay). Working my way through a pile of non trading related admin, overdue gardening, pull requests, emails and issues.
Once all that crap is out of the way I plan to start writing the proposal for my new book (on futures trading strategies). Anything you gentlemen (and ladies? And other??) would like to see in book IV?
GAT
Hi Rob, as I've already mentioned I'm a big fan! Thank you for all your work!!!
I was testing the Handcrafting method vs what I'm currently using, and I think I've found a bug in candidates matrix method you used before. I know you don't use it anymore.
It's at the end of the function get_weights_using_candidate_method:
# return to original order
#natural_order_weights = [normalised_weights[idx] for idx in list(corr_order)] # I think this where the bug is
#I think this would fix it
natural_order_weights = np.zeros(len(corr_order))
for idx, corr_order_idx in enumerate(corr_order):
natural_order_weights[corr_order_idx] = normalised_weights[idx]
For the matrix
cmatrix = np.array([[1.0, 0.86, 0.56], [0.86, 1., 0.63], [0.56, 0.63, 1.]] )
I was getting [0.258, 0.396, 0.34], while I think the order is wrong, the right one would be
0.34, 0.258, 0.396].
Sorry if this was not the proper channel. Maybe I should have tried to ammend it in pysystemtrade.
Thanks,
Luis
@globalarbtrader I was thinking about a topic and wasn't sure whether you have already addressed it in one of your blog posts. It relates to the futures trading system from your book "Systematic Trading". This system calculates a forecast for an instrument and then translates this to a desired position size. In the book this translation is linear and symmetrical: the forecast can vary between -10 and +10 and the resulting position size varies between maximum short to maximum long. At forecast zero is the position size zero.
Intuitively this makes sense. However, looking at the forecast observations of multiple instruments over the last couple of years I notice that the forecast does not have a midpoint at zero, but has an offset. And the forecast range has a skew: the lower half of observations covers a different range than the upper half.
My question is: would it make sense to adapt the conversion from forecast value to position size from a symmetrical approach to the observed asymmetrical data?
What I would do in this approach is to determine the distribution of observed forecast values and determine the 1% percentile (most negative), 50% (midpoint), and 99% (most positive). And use this scale to translate from actual forecast to desired position size. A few times per year I would review the percentile points and adapt if necessary.