Introducing lemon.markets Spaces
Hi there! My name is Marius, and I am part of a (still) small, but highly motivated team that is building lemon.markets, an easy-to-use API that lets you develop your own brokerage product at the stock market. In this blog post, I want to introduce you to the concept of Spaces. Read on if you want to learn more about the specific Space functionalities and why we think that the concept facilitates and improves the developer experience for our users.
When we launched our first prototype last year, a line of feedback that we most frequently received from our users was the wish to be able to test multiple different strategies simultaneously. While we offered the possibility to create different strategies and attach an access token to them, we noticed that this approach was not thought through to the end.
Well, simply because one bad strategy could affect the overall balance and therefore also all the other, potentially well-performing strategies. While time progressed and our users started building different projects, it became clear that this API structure really worsened their product experience. After a while, one prototype user told me:
So, I had these 3 really solid trading strategies. They were rather standard and made automated investment decisions based on quantitative analysis of previous historical stock prices using different buy/sell rules. Things were going great! And then I wanted to spice it up a little and went full experimental mode. Didn’t go so well, and my automated strategy bought way too many wrong stocks at the wrong time. Actually, it went so badly that the profits I made from my other 3 solid strategies were completely gone as well.
This story made us think. Even more when other users mentioned similar problems that led to losses on their side. Obviously, you cannot always control everything and stock prices going up and down is part of the game, but what bothered us was that there was no way to actually limit your risk. So, we discussed it internally when we designed the new API structure and came up with (well, you probably guessed it): Spaces.
If you look at the graphic below, you will hopefully understand how our new API is structured:
You as a user have one total balance. Speaking in lemon.markets API terms, this is called your “state”. Think of your state as a place where your unused money is stored. In our closed beta, we transfer €100,000 of paper money into it. In the future, you will be able to transfer real money from a bank account of your choice to an additional “real money state”.
However, once you want to actually build something, you will need to create a new space and deposit a certain amount of money into it. Let’s say you create Space 1 and deposit €5,000: your total balance would then be €95,000 (meaning you have €95,000 left to deposit to new spaces) and you would be able to use the €5,000 in that space for whatever you like. Once you’ve created a space, you can start building. We automatically create a default client for you with which you can then request an access token, but you can also create customised clients on your own. However, these are all technical details that go beyond the scope of this blog post, but we’re nevertheless excited that you will get to try them out soon!
This is how your Dashboard will look like in action. You can find all of your Spaces in there.
So: why are Spaces a good idea again?
Well, first of all it is a feature that directly emerged from the feedback our community gave us and which hopefully solves a direct problem for them. We strongly believe that a great product can only be developed in close collaboration with the users, especially when it’s such a customer-centric one as lemon.markets.
With Spaces, we are offering you more flexibility for your trading product. A Space allows you to build a specific trading use case, as you have the chance to deposit a specific amount of money into it and then use it only for your specific project. This:
- leads to a better overview, as you can monitor each project in isolation and rigorously monitor its development, and
- limits your overall risk, as only the Space the project is built in (and the money in there obviously) will be affected.
We hope you got a good glimpse of what we are trying to do with lemon.markets: giving you the freedom to build any brokerage product you want. Building a reliable infrastructure for that takes time, and we do not want to rush things and then end up with a mediocre product experience. Therefore, we are carefully rolling out our closed beta right now, onboarding small batches of users from time to time to receive valuable, personal feedback by developers that have an intrinsic motivation to help shape lemon.markets (and who are forgiving/patient when some things are not yet working perfectly and stay loyal nevertheless 😉).
We are super excited to show lemon.markets to the public very soon 🍋 🎉
Have a good day,
Marius from lemon.markets
You might also be interested in
10 mistakes when it comes to (automated) trading & how to avoid them
Hi! My name is Joanne and I’m part of the lemon.markets team in Berlin. We’re building a brokerage API to enable developers to curate their own stock market experience. Along with that, we hope to foster an environment where users can find and share their knowledge on the intersection between algorithm development and the stock market, among other things. We want to contribute to this conversation as well, and that’s why we’ve gathered a list of ten mistakes that those beginning in automated trading (and, to be fair, sometimes even seasoned pros) might make. But, most importantly, we’ve also listed how you can avoid them.
Integrating lemon.markets into your Telegram bot (Part 2 of 2)
Hi! I’m Joanne and I’m part of the team at lemon.markets. We’re a Berlin-based start-up powering programmatic trading via APIs. Our goal is to provide the tools to allow developers to design their own brokerage experience at the stock market. There’s about a hundred and one use-cases for our product, one of them being to create your own frontend interface to place trades. You could start from scratch or you could use a preexisting service, like Telegram. In this article, I’ll be extending the project presented in our previous article. We’ll be adding various conversation states that communicate with the lemon.markets endpoints.
Setting up your own Telegram bot to trade with the lemon.markets API (Part 1 of 2)
Hi! My name is Joanne and I’m part of the team at lemon.markets. I’ve been working on a fun use-case for our product for the past few weeks and I’m very excited to share it with you! There’s hundreds of use-cases for our product, from automated trading strategies to portfolio visualisation dashboards. Today, I’ll show you how you can connect the lemon.markets API to the Telegram API. Why? So you can have a personalised butler — ahem, bot — that can place trades with a few very simple messages.
Find more resources to get started easily
Check out our documentation to find out more about our API structure, different endpoints and specific use cases.
Join lemon.markets community
Join our Slack channel to actively participate in our community, ask questions to other users and stay up to date at all times.
Interested in building lemon.markets with us?
We are always looking for great additions to our team that help us build a brokerage infrastructure for the 21st century.