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
Config/roxygen2/version: 7.2.3
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2026-09-28 11:49:14 UTC; oliver
Author: Oliver Zhou [aut, cre]
Maintainer: Oliver Zhou <oliver.yxzhou@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-08 10:40:02 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-10-09 08:24:44 UTC; windows
Archs: x64
