Replies: 4 comments 6 replies
-
Lots of questions there, but I can answer the first one, as it is easy. Either
|
Beta Was this translation helpful? Give feedback.
-
I will answer the second one.
It is only hinted at in the docs you linked to, but you need to do this before running the backtest:
True will do estimates, False will use fixed values from config. With 250 instruments, I hope you have a powerful machine (or a lot of patience). Some other things that might help you:
Rob's actual system (at least as of December 2021): Dynamic optimization: |
Beta Was this translation helpful? Give feedback.
-
No. 3: Yes, it's normal that daily pandl is recalculated each time. P&L values are not cached. See |
Beta Was this translation helpful? Give feedback.
-
@anggs1996 it would be really helpful if you could note any areas where the docs are missing or outdated. Please add any notes to the ticket here |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
I've spent the last couple of months reading AFTS and trying to set up PST. I've been trying to keep up with the updates implemented but have noticed that some segments of the document provided by Rob are outdated.
I believe that I have a decent understanding of the data implementation in PST (i.e. contract sampling, historical updates) and have already set these up. However, I would appreciate it if someone could answer a few of my questions regarding backtest and production:
Bad markets and duplicate/ignore instrument: Referring to this post. It seems that the 'old' method of determining highly corr instruments have been rescinded since the option is no longer available. Maybe I've missed something (I hope not), but can someone guide me on how I can update my list on my
private_config.yaml
? I have close to 250 instruments, manual steps to update this portion is not desirable.Fixed weights of instruments: Referencing to this link to the
config.yaml
in the provided rob_system. Based on my understanding (and from the doc), Rob periodically runs a dynamic estimates backtest system but typically deploys his strategy using fixed weights of instruments. Is there an easy way for me to do the same? (i.e. run my backtest via dynamic estimators, and update my fixed weights, scalar etc in the config file). I've tried to follow this portion of the backtesting document but the saved config file does not seem useful to recreate the weight estimate needed of the config yaml - all i got was a chunk of code that is a spit back from my initial yaml. Is there a way for me to recreate what rob did? And am i right in understanding that this will then be used by any one of these order/positions optimisors in creating an Live trading order?Saving of backtesting system: Referring to this portion of the doc on saving cache. I've managed to saved my 'trained' system as a pickle file using the below code. However, the system reruns the portfolio daily pandl everytime. Is this normal? I've used the .get_itemnames_for_stage for the below. Are there any other stages that is saved in the cache?
I recognise that I have covered quite a wide range of content. But would appreciate if someone could help me answer my queries!!
Beta Was this translation helpful? Give feedback.
All reactions