A 28-year-old arrested on suspicion of bombing the bus carrying the Borussia Dortmund football team last week was motivated by financial greed, prosecutors said.
A Dortmund player and a policeman were injured in the triple blasts as the bus was heading to the team's stadium for a Champions League match against AS Monaco.
The German-Russian citizen was arrested on Friday in Germany.
Prosecutors said the suspect, identified only as Sergej W in keeping with German privacy law, was arrested by a police tactical response team in the early hours in or near the southwestern city of Tuebingen.
The man faces charges of attempted murder, causing an explosion and serious bodily harm.
Prosecutors said they planned to make a statement later, but revealed that the suspect had taken out a loan and bought a large number of so-called put options for shares of Borussia Dortmund, betting on a drop in the share price.
"A significant share price drop could have been expected if a player had been seriously injured or even killed as a result of the attack," they said.
Ralf Jaeger, the top security official in North Rhine-Westphalia state, said the suspect had hoped to earn millions.
"The man appears to have wanted to commit murder out of greed," said Mr Jaeger.
Prosecutors said they were able to trace the computer used to purchase the put options to the luxury hotel in Dortmund where the team had been staying.
They said the suspect had also booked a room there and placed three explosives, packed with shrapnel, along the route the bus would take to reach the stadium.
"The explosive devices were detonated at the optimum time," prosecutors said, noting that the team bus was equipped only with security glass and not reinforced glass.
Several windows on the bus were shattered in the blasts, injuring defender Marc Bartra. A police officer accompanying the bus also suffered trauma from the blast.
Investigators found notes at the scene claiming responsibility on behalf of Islamic extremists, but quickly doubted their authenticity.
The notes demanded that Germany withdraw reconnaissance jets assisting the fight against Islamic State group and close the US Ramstein Air Base in Germany.
But experts said the letter's mix of correct, complicated German and obvious mistakes suggested it was a red herring, as were two subsequent claims pointing to left-wing and right-wing extremists.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules here