Package: tradesimr Title: Execution and Simulation Engine for Trading Strategies Version: 0.18.7 Authors@R: person(given = "Oliver", family = "Zhou", email = "oliver.yxzhou@gmail.com", role = c("aut", "cre")) Description: 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. Depends: R (>= 4.2.0) Imports: data.table, Rcpp, R6 LinkingTo: Rcpp Suggests: testthat, fst, ggplot2, jsonlite, lubridate, plumber, strategyr, zoo URL: https://github.com/OliverLDS/tradesimr BugReports: https://github.com/OliverLDS/tradesimr/issues License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) Config/roxygen2/version: 7.2.3 RoxygenNote: 7.2.3 Repository: https://oliverlds.r-universe.dev Date/Publication: 2026-09-28 11:14:14 UTC RemoteUrl: https://github.com/oliverlds/tradesimr RemoteRef: HEAD RemoteSha: 4ba2981c07cb320a0dcf1fe7047a0cdb89eb6aac NeedsCompilation: yes Packaged: 2026-10-09 17:00:17 UTC; root Author: Oliver Zhou [aut, cre] Maintainer: Oliver Zhou