Hello,
I am looking for a platform to convert some custom strategies/indicators I have written in PineScript (TradingView) to a more scalable live trading with dynamic universe selection. I don't know enough Python to build/convert the entire thing from scratch, but recently became aware of the BlueShift visual builder. I was hoping that someone would be kind enough to answer some questions on the capabilities/limitations of BlueShift visual programming before I spent 20 hours learning that it might not be able to do what I'm trying to do.
Mainly, is visual programming capable of dynamic universe selection? If so, can you run indicators, custom indicators, attributes, or statistical tests as part of dynamic universe selection? (I.e. ADF test, "all stocks above X EMA," or stocks that meet a custom calc criteria, or stocks trading over X volume)
I noticed the data selection has 1min/1day bars. Is there a way to use a different timeframe (say 5 mins) with the visual builder?
In the alpha section, can you use a custom coded indicator, or a calculated series of custom variables, and plug it into the visual builder framework? (I.e. A calculation that trails a custom calculated variable in a series.)
I appreciate any insights you may be willing to share! Thank you
Hi Aaron, what you are looking for is right now NOT possible with the visual interface on blueshift (with Python interface - of course anything is possible!). The missing chunks are 1) dynamic universe selection (what we call pipeline APIs in blueshift) and 2) custom indicators (sort of).
The current state: You can create any indicator (signal function) on the visual interface as long as it is a (linear or boolean) function of existing indicators (the ones you see under the alpha section). You can create any trading logic as long as they declare a fixed list of assets (universe section) and the trading signal is not cross-dependent on assets (i.e. signal for asset A does not depend on asset B, with some exceptions like 2 assets pair trading which is supported).
The future state: Both dynamic asset selection (including cross-dependent signals, through pipelines APIs) and custom indicators are planned features. However, custom indicators may require short Python snippets (than pure visual interface) to reduce clutter. At present we do not have a solid ETA for these. We are testing out a major version upgrade and we will have a better idea once that goes live.
If you have more questions on the visual interface (or blueshift in general), please feel free to give us a shout.
Thanks for the response! The ability to use custom indicators with code snippets would open up options to those that may be code-friendly but not highly versed in Python. One could probably code, or convert code, for a custom indicator with much less Python/programming experience than is needed to build a full model. I hope it ends up on the roadmap with dynamic asset selection!
Can you please confirm if the custom time-frames are an available option in the visual builder? I.e. time-frames that are outside of the 1min/1day options (i.e. 5 minute bars)?
Thanks again!
Sure Aaron, both are planned features on blueshift - dynamic asset selection and custom function. We also have received multiple feature requests for custom time-frames. While we will continue to provide minute and daily timeframes natively, we will certainly look to add custom time frames through resampling functions. Really appreciate your feedback.