Bloomberg: Custom Technical Studies Quick Start Guide
Bloomberg: Custom Technical Studies Quick Start Guide
Microsoft Visual Studio versions 2015, 2015 & 2017. Version 2019 is currently not
supported.
Page 4 of 8
Bloomberg
7. Begin typing your name in the User field and select it from the auto-complete list.
8. Check off Administrator.
9. Click OK.
10. Enter 4<GO> or click Apply to finish.
11. Click OK to close the confirmation popup. Note that STDY<GO> will not list the new
study until the first version is published.
Page 5 of 8
Bloomberg
6. Click the custom study’s name to add it to the right side of the panel.
7. Enter 1<GO> or click Update to refresh the chart with the custom study.
Page 6 of 8
Bloomberg
Assembly Versioning
Study Assembly Versioning
All Study assemblies are strongly named and the version of the assembly needs to be properly
managed to avoid errors at runtime. In order to make most efficient use of system resources,
the Bloomberg Study hosting environment may include multiple study instances in the same
.NET AppDomain during runtime.
For example, when a user selects multiple studies to run against the same Security in a
Bloomberg Chart, it’s more efficient to run them in the same AppDomain sharing the same input
data rather than run them separately with duplicates of the data. When multiple studies share
the same AppDomain, assembly versions must be properly managed to avoid ambiguity,
otherwise it may cause non-deterministic errors.
To avoid such runtime errors, the Bloomberg study publishing service has been upgraded to
detect ambiguous assemblies and force the publisher to increase assembly versions. Precisely,
the Bloomberg publishing service validates all Study assemblies on the server side during
publishing; if an assembly with the same Assembly identity, or Assembly full name (including
name, version and public key token) is found in the system a check is made to confirm binary
integrity. If a different binary content id determined, publishing will fail. To avoid conflict, the
study developer must increase the version of the conflicting assembly.
Page 7 of 8
Bloomberg
Changing the Default Properties of a Custom Study
1. Run STDY<GO>.
2. Select the custom study whose default properties need to be changed.
3. Enter 1<GO> or click Edit Personal Defaults.
4. Modify the default properties of the custom study.
5. Enter 1<GO> or click Update to save the new defaults.
6. Click OK to close the confirmation popup.
7. Add a new instance of the custom study to a G chart.
Page 8 of 8