Package: tradesimr 0.18.7
tradesimr: Execution and Simulation Engine for Trading Strategies
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.
Authors:
tradesimr_0.18.7.tar.gz
tradesimr_0.18.7.zip(r-4.7-x86_64)tradesimr_0.18.7.zip(r-4.7-arm64)tradesimr_0.18.7.zip(r-4.6-x86_64)tradesimr_0.18.7.zip(r-4.6-arm64)tradesimr_0.18.7.zip(r-4.5-x86_64)
tradesimr_0.18.7.tgz(r-4.6-x86_64)tradesimr_0.18.7.tgz(r-4.6-arm64)tradesimr_0.18.7.tgz(r-4.5-x86_64)tradesimr_0.18.7.tgz(r-4.5-arm64)
tradesimr_0.18.7.tar.gz(r-4.7-arm64)tradesimr_0.18.7.tar.gz(r-4.7-x86_64)tradesimr_0.18.7.tar.gz(r-4.6-arm64)tradesimr_0.18.7.tar.gz(r-4.6-x86_64)
tradesimr_0.18.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tradesimr/json (API)
| # Install 'tradesimr' in R: |
| install.packages('tradesimr', repos = c('https://oliverlds.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/oliverlds/tradesimr/issues
Last updated from:4ba2981c07. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 201 | ||
| linux-devel-x86_64 | OK | 213 | ||
| source / vignettes | OK | 182 | ||
| linux-release-arm64 | OK | 213 | ||
| linux-release-x86_64 | OK | 211 | ||
| macos-release-arm64 | OK | 183 | ||
| macos-release-x86_64 | OK | 362 | ||
| macos-oldrel-arm64 | OK | 165 | ||
| macos-oldrel-x86_64 | OK | 420 | ||
| windows-devel-arm64 | OK | 578 | ||
| windows-devel-x86_64 | OK | 441 | ||
| windows-release-arm64 | OK | 637 | ||
| windows-release-x86_64 | OK | 336 | ||
| windows-oldrel-x86_64 | OK | 185 | ||
| wasm-release | OK | 110 |
Exports:as_market_barsas_target_positionsPaperTraderPaperTradingPlatformsim_accountsim_agent_addsim_agent_command_schemasim_agent_dashboard_exportsim_agent_dashboard_opensim_agent_rankingssim_agent_removesim_agent_set_statussim_agents_stepsim_asset_addsim_asset_removesim_assetssim_backtestsim_bond_schedule_addsim_bond_schedulessim_calendar_expected_barssim_calendar_holidayssim_calendar_is_opensim_calendar_settlement_timestampsim_calendar_specsim_cancel_ordersim_cash_ledgersim_cross_asset_risksim_dashboard_exportsim_dashboard_opensim_eventssim_exchange_accountsim_exchange_account_statesim_exchange_accrue_carrysim_exchange_add_barssim_exchange_calendar_exceptionsim_exchange_calendarize_barssim_exchange_cancel_ordersim_exchange_cash_adjustsim_exchange_cash_balancessim_exchange_convert_cashsim_exchange_corporate_actionsim_exchange_dashboardsim_exchange_export_eventssim_exchange_future_rollsim_exchange_fx_ratesim_exchange_loadsim_exchange_newsim_exchange_new_eventssim_exchange_orderssim_exchange_place_ordersim_exchange_positionssim_exchange_process_commandssim_exchange_runsim_exchange_savesim_exchange_set_carry_ratessim_exchange_settlesim_exchange_stepsim_exchange_validate_cadencesim_exportsim_feed_configsim_feed_configuresim_feed_startsim_feed_statussim_feed_stepsim_feed_stopsim_feed_warmupsim_fillssim_heterogeneous_account_stepsim_heterogeneous_order_batch_schemasim_importsim_instrument_profilesim_instrument_profilessim_live_servicesim_live_service_runsim_live_state_dashboard_opensim_manifestsim_market_eventssim_market_model_calibratesim_market_model_calibrate_exchangesim_market_model_configsim_market_model_configuresim_market_model_statussim_metricssim_orderssim_portfolio_decision_policysim_portfolio_executionsim_portfolio_execution_qualitysim_portfolio_exportsim_portfolio_market_stepsim_portfolio_stepsim_portfolio_target_replaysim_portfolio_target_stepsim_portfolio_target_submitsim_portfolio_target_submit_batchsim_positionssim_read_accountsim_read_eventssim_read_manifestsim_read_tablesim_replaysim_replay_dashboard_exportsim_risksim_run_from_eventssim_schema_migratesim_schema_versionsim_schemassim_spot_stepsim_spot_target_submitsim_statesim_state_dashboard_exportsim_stepsim_strategy_listsim_strategy_registersim_strategy_unregistersim_strategy_validate_configsim_submit_ordersim_trading_calendarsTRADESIMR_ACCOUNT_SCHEMA_VERSIONTRADESIMR_SCHEMA_VERSIONvalidate_intentsvalidate_market_datavec_batch_run_simulationsvec_sim_gen_plotvec_sim_gen_summaryvec_sim_gen_summary_tablevec_sim_run_backtest
Dependencies:data.tableR6Rcpp