Charting

Swift

Metal

Date: Summer 2023

Information:

Description

I developed a specialized charting program for my personal projects, leveraging Swift for its core functionality and Metal acceleration for rendering. This combination allows the application to achieve remarkable real-time performance, capable of rendering over a million candles easily.

Reason for development

In pursuit of advanced market and strategy analysis, I found myself needing to develop complex indicators beyond the capabilities of traditional trading platforms. Despite their utility, these platforms proved limited in computing the calculations required by my indicators.

What I learned

  • Metal practise
  • Render pipelines
  • Dealing with large amounts of data 
  • Optimizing code in terms of runtime and space efficiency 

Resources