Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Optimizing Local Order Book Functionality for Efficient Market-Making in Cryptocurrency Trading Using Python
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Optimering av En Lokal Orderboks Funktioner i Python för Effektiv Market-Making Inom Kryptovalutahandel (Swedish)
Abstract [en]

Cryptocurrency market-making plays a crucial role in ensuring liquidity and price stability on Centralized Exchanges (CEXs). One of the core tools in market-making is the local order book, which tracks buy and sell orders to facilitate efficient trading. This project addressed the limitations of an existing local order book system used by Caesari, a market maker, with the goal of enhancing its performance and functionality. The primary problem identified was that the existing local order book system, while functional, lacked key features needed for more efficient market-making. This made the problem an ideal candidate for a Bachelor’s thesis project, as it involved improving a real-world system by adding critical functionalities. To solve the problem, the project focused on analyzing the existing implementation, exploring alternative solutions, and optimizing the system’s code to improve its overall performance. Several approaches were tested and compared based on their theoretical and empirical performance, with an emphasis on optimizing processing speed. The project successfully enhanced the functionality of the local order book and the improved end product provided Caesari with a more reliable solution for market-making, supporting the company in offering better liquidity and more stable pricing, thus contributing to a more efficient cryptocurrency trading environment. Future work could further refine these enhancements and explore additional optimizations to address the speed limitations and extra functionalities.

Abstract [sv]

Marketmaking av kryptovalutor spelar en avgörande roll för att säkerställa likviditet och prisstabilitet på centraliserade börser. Ett av kärnverktygen i marketmaking är den lokala orderboken, som spårar köp- och säljordrar för att underlätta effektiv handel. Detta projekt undersökte begränsningarna hos ett befintligt system för lokal orderbok som används av marketmakern Caesari, med målet att förbättra dess prestanda och funktionalitet. Det primära problemet som identifierades var att det befintliga lokala orderboksystemet, även om det var funktionellt, saknade nyckelfunktioner som behövs för mer effektiv marketmaking. Detta gjorde problemet till en idealisk kandidat för ett kandidatuppsatsprojekt, eftersom det innebar att förbättra ett verkligt system genom att lägga till viktiga funktioner. För att lösa problemet fokuserade projektet på att analysera den befintliga implementationen, utforska alternativa lösningar och optimera systemets kod för att förbättra dess övergripande prestanda. Flera tillvägagångssätt testades och jämfördes utifrån deras teoretiska och empiriska prestanda, med tonvikt på att optimera bearbetningshastigheten av ordrar. Projektet förbättrade framgångsrikt funktionaliteten i den lokala orderboken och den förbättrade slutprodukten gav Caesari en mer tillförlitlig lösning för marketmaking, vilket stödde företaget i att erbjuda bättre likviditet och stabilare prissättning, som i sin tur bidrar till en effektivare handelsmiljö för kryptovalutor. Framtida arbeten kan ytterligare förfina dessa förbättringar och utforska vidare optimeringar för att hantera hastighetsbegränsningar och extra funktionaliteter.

Place, publisher, year, edition, pages
2025. , p. 63
Series
TRITA-EECS-EX ; 2025:20
Keywords [en]
Local Order Book, Market Making, Cryptocurrency, Python, Optimization
Keywords [sv]
Lokal Orderbok, Market Making, Kryptovaluta, Python, Optimering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-361689OAI: oai:DiVA.org:kth-361689DiVA, id: diva2:1947321
External cooperation
Caesari
Supervisors
Examiners
Available from: 2025-03-31 Created: 2025-03-25 Last updated: 2025-03-31Bibliographically approved

Open Access in DiVA

fulltext(891 kB)111 downloads
File information
File name FULLTEXT02.pdfFile size 891 kBChecksum SHA-512
7b4b8e6fff73c5c4027f9f32a5e5d016870330d1df46c729a60b2a11fbb5135e17bcfc90fe2e4d728234330ab6929201986bd6dc766950d534b0dc8b4243f534
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 113 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 386 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf