Getting Goldman Sachs Group Inc.’s view on how much a derivative should cost once required a trading account at the elite Wall Street firm. Soon anyone with a GitHub account will be able to do it.

Goldman later this month plans to release on GitHub, the popular developer-collaboration site, some of the code that its own traders and engineers use to price securities and analyze and manage risk. A few lines of code can spit out an analysis that once would have meant a chain of phone calls, emails and spreadsheets.

The bank also is offering $100,000 in annual funding for engineers to build new applications using the bank’s code. Goldman will own the resulting intellectual property, plus get an early look to invest in promising technology.

It is Goldman’s latest move to shed some of its trademark secrecy and share its once closely guarded technology. It is part of a broader shift at Wall Street firms to emulate Silicon Valley giants like Google and Facebook Inc., which have opened up their technology to a community of enthusiastic developers. By letting outsiders tinker with its code, Goldman hopes to crowdsource new uses for it and earn the loyalty of computer-driven “quant” traders who have taken the investing world by storm.

“We want to be to quantitative finance what Amazon is to computing power,” said Andy Phillips, a Goldman engineer. In its early days, Amazon.com Inc. realized it could sell its extra server capacity; last year, Amazon Web Services contributed three-quarters of the company’s profits.