Lucky.jl
Lucky is a reactive and async trading framework in Julia designed to rapidly design, deploy, and monitor trading strategies and portfolios.
Install / Use
/learn @oliviermilla/Lucky.jlREADME
Lucky
Lucky is a trading framework for Julia designed to
- rapidly test and deploy trading statregies with next to zero code change between the two.
- run fast by leveraging Julia's multiple dispatch paradigm and Rocket.jl as its asynchronous and reactive core.
- being super simple to start with although remaining modular to tailor and extend to different needs.
- accomodate different kind of strategies, data or experiements (market making, random process simulation, etc.) leveraging Julia's powerful math libraries ecosystem.
Example code
A documented and working example is available in the examples folder here.
Integrations
Lucky.jl is designed to be extendable to any API data source (brokers, exchanges, etc.) and/or data types.
At the day of writing, the libray integrates the following integrations:
| Library | Type | Comments | |--------------------------------------------------------------|-------------------------------------------------------------------|------------------------------------------------| | MarketData.jl | Historical financial time series from Yahoo, FRED, ONS. | :heavy_check_mark:| | TimeSeries.jl | Lightweight framework for working with time series data in Julia. | :heavy_check_mark: | | InteractiveBrokers.jl | Pure Julia API to Interactive Brokers | :heavy_check_mark: (partial) | | Random | Standard Julia Random Library | :heavy_check_mark: |
The library is in development. Contact if you'd like to help.
What's with the name ?
As proven by science :

Trade safely!
Related Skills
tmux
353.3kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
diffs
353.3kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
blogwatcher
353.3kMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
product
Cloud-agnostic Kubernetes infrastructure with Terraform & Helm for homelabs, edge, and production clusters.
