Skip to content

tradesimr

0.18.7Package record

Execution and Simulation Engine for Trading Strategies

0packages depend
134downloads / year
82.9%test coverage
13/13flavors OK

Overview

About

An R-native trading simulation package with a C++ execution core that turns strategy intentions and explicit orders into simulated trades, positions, cash, profit and loss, risk, and performance outputs under configurable execution, margin, funding, and cost assumptions. The package provides historical replay, incremental exchange stepping, durable event tables, append-only agent command logs, registered assets, per-agent shared-cash cross-margin live accounts, AI agent competitors, scheduled live-feed stepping, strategy-backed AI agents with diagnostics, calibrated and coordinated multi-asset market simulation with static covariance, AR-GARCH, factor, and regime models, durable per-feed simulation state, profile-aware heterogeneous inventory and margin execution with atomic mixed-profile order groups, optional portfolio-margin enforcement through a multi-asset C++ step kernel, local live-service APIs, import/export helpers, separate replay, live-state, and agent dashboard exports, and installed local orchestration scripts. It is designed to consume signals, order intents, or target exposure decisions from compatible strategy packages and market data from compatible adapters.

Changes in 0.18.7

CRAN Resubmission

  • Restored all graphics parameters immediately after the legacy vec_sim_gen_plot() plotting helper exits, including error paths.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-10-09
Advisories

none known

Documentation

In release 0.18.7
READMEYes · 557 wordsVignettesNoNEWSYes · 100% structured · mentions 0.18.7Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
128 (2 internal)includes a package overview page
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
93%
Return-value docs
95%
Help pages citing references
0%

Downloads

134
CRAN downloads in the past year
Rank #25,470 · ~0/day · ~11/mo
tradesimr
Daily download trend is not available in this view yet.
13430 days
13490 days
1341 year
Compare downloads with other packages →

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-09-28
Responsiveness
not measured
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/oliverlds/tradesimr on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing tradesimr adds 3 packages (2 with compiled code, 7.6 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB, R6 63 KB.

Depends (1)
R >= 4.2.0
Imports (3)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.18.7 (2026)
Releases (1)
  • 0.18.7Latest
    first seen 2026-10-08 · current release ·
    4 days in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-03 21:57 to 2026-10-08 06:53 UTC, in 20 readings.
  • R
    R 4.6.0 released · 2026-04-24
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First seen
2026-10-08
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2.0
Download size
284 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tradesimr")
Zhou, O. (2026). tradesimr: Execution and Simulation Engine for Trading Strategies (Version 0.18.7) [Computer software]. https://doi.org/10.32614/CRAN.package.tradesimr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tradesimr version 0.18.7 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy