# Backtesting framework

**URL:** <https://discourse.julialang.org/t/backtesting-framework/47351>\
**Category:** Finance and Economics\
**Tags:** package, finance\
**Created:** [September 27, 2020, 7:36am UTC](https://discourse.julialang.org/t/backtesting-framework/47351 "2020-09-27T07:36:41Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![FemtoTrader](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/femtotrader/32/309_2.png) [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Post date:** [January 18, 2025, 1:38pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/41 "2025-01-18T13:38:39Z")

</div>

If graphs are moving “too slowly” you can probably implement a WebSocket server, download historical executed orders prices and replay that data at “any” speed.  
An other approach could also be to implement a random walk and “play it” at any expected speed.  
See `random_cl` from [Test data · MarketData.jl](https://juliaquant.github.io/MarketData.jl/dev/test_data/)

---

<div class="post-metadata">

**Author:** ![defnlnotme](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/defnlnotme/32/216546_2.png) [@defnlnotme](https://discourse.julialang.org/u/defnlnotme)\
**Post date:** [May 13, 2025, 1:55pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/42 "2025-05-13T13:55:41Z")

</div>

I have put PingPong.jl back online at [GitHub - psydyllic/Planar.jl: Cryptocurrency trading bot and framework written in julia](https://github.com/psydyllic/Planar.jl)  
The sysimage build isn’t working because PackageCompiler currently hangs on julia 1.11  
main difference apart the naming refactor is that `ping!` and `pong!` functions are merged into `call!`  
All tests currently passing (except a few that flap…but they also flapped before…)  
All example strats are based on OnlineTechnicalIndicators now (before they used Indicators)  
I don’t have a backup of the github issues so I tried to remember the most important ones from memory.  
Note that I am not currently working on the improvements (unless support is offered), just plan to maintain the bot as is

---

<div class="post-metadata">

**Author:** ![FemtoTrader](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/femtotrader/32/309_2.png) [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Post date:** [June 27, 2025, 9:13pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/43 "2025-06-27T21:13:50Z")

</div>

I’m very pleased to know that OnlineTechnicalIndicators.jl is being used!

We probably also need something like

> **[StrateQueue](https://www.stratequeue.com/)**
>
> StrateQueue is an open-source Python library that bridges the gap between strategy development and production deployment.

> **[GitHub - StrateQueue/StrateQueue: The fastest way from backtest to live trading.](https://github.com/StrateQueue/StrateQueue)**
>
> The fastest way from backtest to live trading.

in Julia to decouple backtesting tools from strategy execution and monitoring

---

<div class="post-metadata">

**Author:** ![RealFishSam](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/realfishsam/32/217552_2.png) [@RealFishSam](https://discourse.julialang.org/u/RealFishSam)\
**Post date:** [July 2, 2025, 5:07pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/44 "2025-07-02T17:07:09Z")

</div>

Wow,

Pleased to have my library posted here. Open up an issue on GitHub with your favorite Julia backtester, and I’ll try to make it happen!

---

<div class="post-metadata">

**Author:** ![FemtoTrader](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/femtotrader/32/309_2.png) [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Post date:** [December 19, 2025, 10:34pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/45 "2025-12-19T22:34:39Z")

</div>

Hi,

Currently working on a Julia trading framework with Genie.jl as web interface.

This reactive trading system is a modular, Julia-based architecture that integrates reactive programming (Rocket.jl) with online statistics (OnlineStatsBase.jl). The system uses Fastback.jl as its account management and order execution engine, Binance.jl for exchange integration, OnlineTechnicalIndicators.jl for technical indicators, OnlinePortfolioAnalytics.jl for performance metrics, and Timestamps64.jl for precise time management.

Goal is to provide an interface for backtesting / paper trading and live trading Julia trading strategies..

Here is a work in progress

 ![Capture d’écran 2025-12-19 à 23.08.04](https://global.discourse-cdn.com/julialang/original/3X/1/6/1670a43a42c7a8dba09e8761d9003af6afc3cc0e.jpeg)

 ![Capture d’écran 2025-12-19 à 23.08.29](https://global.discourse-cdn.com/julialang/original/3X/b/b/bbe7adcff7ed9d5ae4a49467610b19a56944e0bb.jpeg)

 ![Capture d’écran 2025-12-19 à 23.08.49](https://global.discourse-cdn.com/julialang/original/3X/4/c/4c0e345575081287311c1a151a4646f2da9a02b5.png)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/d/b/db3c98c9f19420671db777319460e444c196c917.jpeg)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/5/15061ae1bf43d58d48c56ce27fc9400234606b08.png)

 ![Capture d’écran 2025-12-19 à 23.13.11](https://global.discourse-cdn.com/julialang/original/3X/f/b/fbca16f94ca3d95edb445628d6c6e905452fa4d6.jpeg)

 ![Capture d’écran 2025-12-19 à 23.14.46](https://global.discourse-cdn.com/julialang/original/3X/d/e/deaca793b55cc2a52100be2e397d5ae955229ad4.png)

 ![Capture d’écran 2025-12-19 à 23.15.12](https://global.discourse-cdn.com/julialang/original/3X/0/c/0c6ac8a40ce804de0abb4d0c4f47e65cb3f6b3a1.png)

Development was started using Kiro.dev but it’s essentially done now with Claude Code and Github Spec Kit (so it may not be as good as done “manually”.

```julia-auto
[deps]
Binance = "12345678-1234-5678-9012-123456789012"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Fastback = "2b92286b-cbc8-46f1-be48-a629b4baefca"
Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
LightweightCharts = "d6998af1-87ca-4e7f-83d4-864c79a249fa"
OnlinePortfolioAnalytics = "d39dbdee-9d7b-4a6f-a064-c0eaa0a6e939"
OnlineStatsBase = "925886fa-5bf2-5e8e-b522-a9147a512338"
OnlineTechnicalIndicators = "dc2d07fb-478f-4566-8417-81bb3e5a7af1"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Rocket = "df971d30-c9d6-4b37-b8ff-e965b2cb3a40"
SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce"
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
SearchLight = "340e8cb6-72eb-11e8-37ce-c97ebeb32050"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Timestamps64 = "bb4eac3f-01a0-4c2b-bd7e-ee6d71616039"

```

---

<div class="post-metadata">

**Author:** ![jlhouchin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlhouchin/32/6179_2.png) [@jlhouchin](https://discourse.julialang.org/u/jlhouchin)\
**Post date:** [January 2, 2026, 12:02pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/46 "2026-01-02T12:02:34Z")

</div>

Looks very interesting.

What is the current status of this project?  
How would a person get started on learning and using?

I have read the documents at [JuliaReactiveTradingFrameworkRequirements](https://github.com/femtotrader/JuliaReactiveTradingFrameworkRequirements/tree/main).

But I do not see a `import`able package. I am assuming that this will all be something I can run locally.

Thanks for any help moving forward.

Jimmie

---

<div class="post-metadata">

**Author:** ![FemtoTrader](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/femtotrader/32/309_2.png) [@FemtoTrader](https://discourse.julialang.org/u/FemtoTrader)\
**Post date:** [January 2, 2026, 12:35pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/47 "2026-01-02T12:35:34Z")

</div>

I’m doing it on my spare time. It’s not publishable currently. Backtesting seems to work (with order sizer and risk management) but not yet paper trading nor live trading. What I fear is that if/when I publish noone will help.

---

<div class="post-metadata">

**Author:** ![anon28281882](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon28281882](https://discourse.julialang.org/u/anon28281882)\
**Post date:** [January 13, 2026, 10:48pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/48 "2026-01-13T22:48:07Z")

</div>

> [@g-gundam](#):
>
> …and there’s more, but you can do a search for “technical analysis” if you want to go down that rabbit hole

Hey, are you still there? I rebuilt and significantly improved the system. As I mentioned, I lost my entire original codebase, so it took me more than a year to rewrite and enhance it. I believe it’s pretty neat — a bit like a blend of publicly described system solutions by Jump Trading and Citadel [I wrote it, but let’s be realistic, of course :-)]. Anyway, I believe that if you’re into Julia or Lisp, you might really like it.

I’m planning to significantly limit my activities on the public forum, so in case you may have any questions, please send me a direct message. Also, I’d like to add a brief disclaimer: I’m happy to cooperate on trading related subjects, but I’m interested only in simulations or paper trading, all in full compliance with the law.

---

<div class="post-metadata">

**Author:** ![defnlnotme](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/defnlnotme/32/216546_2.png) [@defnlnotme](https://discourse.julialang.org/u/defnlnotme)\
**Post date:** [June 17, 2026, 5:03pm UTC](https://discourse.julialang.org/t/backtesting-framework/47351/49 "2026-06-17T17:03:12Z")

</div>

Hello, updated Planar (1.7)  
Major change: removed python hard dependency, replaced with a server implementation of ccxt (which is spawned at runtime).  
Might add hummingbot gateway in the future as an additional option

[Previous page](https://discourse.julialang.org/t/backtesting-framework/47351.md?page=2)
