15 个仓库
Specialized value objects for handling standardized monetary values and currency formatting.
Distinct from Value Objects: Focuses specifically on the financial monetary pattern rather than general domain value objects.
Explore 15 awesome GitHub repositories matching software engineering & architecture · Monetary. Refine with filters or upvote what's useful.
FinceptTerminal is a quantitative finance platform and financial engineering library designed for asset valuation, risk management, and fixed-income analytics. It provides a comprehensive suite for algorithmic trading and investment strategy automation, integrating specialized language model agents and node-based workflows to automate market research and alpha generation. The project distinguishes itself with a dedicated game theory analysis engine for calculating Nash equilibria and simulating strategic interactions in competitive markets. It also features a specialized credit risk modeling
Generates a standardized monetary value object and returns a formatted string.
Arrow 是一个 Python 日期和时间库,通过封装 Python 标准库,为创建和操作时间戳提供了简化的接口。它是一个用于管理日期对象、处理时区偏移以及执行相对日期计算的工具。 该库的特色在于能够将时间戳人性化地转换为多种语言的自然语言相对描述,并将人类可读的时间短语解析回精确的日期对象。它还具备一个专门的解析器,用于将 ISO 8601 字符串和自定义格式的文本转换为日期对象。 其广泛的功能包括用于日期偏移的时间算术、用于计算时间跨度的范围生成,以及用于将时间戳对齐到特定单位的边界舍入。它还涵盖了全球时区和夏令时转换,以及用于国际化日期格式的本地化翻译。
Translates custom alphanumeric tokens into date and time components for flexible string generation.
Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as a multi-channel commerce platform that manages product catalogs, orders, and customers via a strongly typed GraphQL API. The platform is distinguished by its highly extensible architecture, featuring a customizable administrative dashboard where developers can inject custom React components and entity views. It supports multi-channel commerce, allowing the isolation of products, currencies, and regional catalogs from a single unified backend. The engine covers a broad range o
Defines specific rounding rules and decimal precision for how monetary values are persisted.
LogicStack-LeetCode is a curated repository of solved algorithm problems and data structure implementations, primarily drawn from the LeetCode platform. Its core identity is a structured collection of solutions designed to support technical interview preparation and competitive programming practice, with each solution accompanied by complexity analyses to help engineers understand performance trade-offs. The repository distinguishes itself through its breadth of coverage across fundamental algorithmic patterns and data structures. It includes implementations for array manipulation, string pro
Implements fraction addition and subtraction as a LeetCode problem solution.
Tempus Dominus is a JavaScript date-time picker library designed to integrate with Bootstrap-based web projects, replacing manual text entry with an interactive calendar and clock interface. It functions as a form input enhancement that provides visual selection of single dates, times, or combined date-time values through a calendar and clock widget. The picker is built as a collection of independent UI components that manage their own state and rendering, with visual customization achieved entirely through CSS variables and class overrides without requiring JavaScript configuration. User int
Uses a configurable format string to drive locale-aware date and time display rendering.
Dinero.js is a TypeScript-first library for creating, calculating, and formatting monetary values. It provides immutable money objects that represent amounts in the smallest currency subdivision as integers, ensuring precision and preventing floating-point errors. The library enforces same-currency rules on arithmetic operations and validates currency codes against ISO 4217 definitions at creation time. The library distinguishes itself through a calculator plugin architecture that delegates arithmetic operations to interchangeable backends, supporting number, bigint, or custom precision libra
Adds or subtracts monetary values immutably, returning new objects without altering originals.
Pendulum is a Python datetime library used for creating, manipulating, and formatting date and time objects with native timezone awareness. It extends the native Python datetime class to maintain compatibility while providing a specialized engine for date arithmetic and timezone management. The library features a dedicated ISO 8601 and RFC 3339 parser that converts standardized strings into date objects without requiring manual format strings. It also includes a relative time generator for producing natural language descriptions of time differences and a timezone management tool that automati
Uses a mapping of custom tokens and locale-specific strings to translate date attributes into human-readable text.
这是一个 JavaScript 时间转换库,旨在将毫秒整数格式化为人类可读的持续时间,并将基于单位的字符串解析回总毫秒数。它作为一个用于管理机器可读持续时间与文本表示之间转换的工具。 该库提供双向映射,允许将原始数字转换为字符串,并将包含天、小时和分钟等单位的字符串解析回数字毫秒计数。它支持缩写和完整的书写时间格式。
Implements an iterative subtraction algorithm to break down milliseconds into a readable sequence of time units.
Beancount is a plain-text double-entry accounting system. It enforces zero-sum transactions, organizes accounts into a hierarchical five-type tree, and verifies balances at specific dates using precision-derived tolerances. Transactions are recorded in plain-text files with a strict syntax that supports currency-specific rounding, automatic interpolation of missing amounts, and comprehensive metadata including tags, links, and payee annotations. Beyond core bookkeeping, Beancount offers investment portfolio tracking with lot-based cost basis management, configurable booking strategies (FIFO,
Ledger rounds amounts, prices, and costs computed from balancing legs to a configurable number of decimals.
big.js 是一个用于 JavaScript 的任意精度十进制库,专为执行精确的十进制算术运算而设计。它提供了一套用于高精度加、减、乘、除的工具,以避免二进制浮点数表示中常见的舍入误差。 该库允许创建自定义数字构造函数,以便为不同类别的数字隔离精度设置和舍入规则。它支持可配置的全局精度以及特定的舍入行为(如截断或四舍五入到偶数),适用于除法和幂运算。 其能力范围涵盖基础算术、比较逻辑以及平方根和整数幂的计算。它还包括高精度格式化工具,可将数值转换为定点、指数或有效数字字符串。
Generates independent constructors to apply distinct precision and rounding rules to different number groups.
rippled is a peer-to-peer node implementation for the XRP Ledger. It serves as a distributed ledger consensus engine and a blockchain API gateway, allowing servers to validate transactions and maintain a shared, immutable sequence of ledger state. The project features a built-in decentralized exchange engine capable of executing atomic cross-currency payments and managing order books. It includes an on-chain asset management system for issuing and controlling fungible tokens and NFTs, as well as a Byzantine Fault Tolerant system for coordinating validators. The platform provides comprehensiv
Sets the number of decimal places used for exchange rate calculations to control trading precision.
Spacetime 是一个 JavaScript 时区库和日期操作框架,专为解析、格式化和管理全球时区日期而设计。它提供了一个用于本地化日期组件的国际化工具,并包含用于 TypeScript 环境的静态类型定义,以确保类型检查和自动补全。 该项目具有用于自定义日期逻辑的插件系统,允许将专用方法和行为注入日期对象。这种可扩展性使得能够通过基于原型的方法扩展来实现项目特定的时间需求。 该库涵盖了广泛的日期和时间操作,包括用于添加或减去时间单位的日历数学、日期比较实用程序,以及用于检索日历详细信息的组件提取。它处理全球时区管理,具有区域偏移、夏令时计算以及不同时区之间转换的功能。 该系统还提供针对 ISO 字符串、纪元和自然语言输入的解析和验证,以及使用区域语言设置和自定义模板将日期对象转换为人类可读文本的格式化工具。
Transforms date and time objects into readable strings using formatting tokens and predefined presets.
Awesome Print 是一个 Ruby 漂亮打印机和对象检查器,旨在通过缩进和 ANSI 颜色可视化数据结构。它作为交互式 shell 的格式化程序,以及用于分析内部对象状态的实用程序。 该项目具有一个用于定义特定对象类型的自定义格式化规则的插件系统,并支持通过主目录中的配置文件加载全局首选项。它可以返回格式化的 ASCII 字符串,而不是直接打印到控制台。 功能扩展到在 Web 模板中渲染格式化的对象结构,并将彩色对象表示写入系统日志。该工具与 REPL 环境集成,以自动格式化返回的值。
Transforms object states into formatted HTML for visualization within web views during debugging.
hledger is a plain text accounting tool and double-entry ledger manager that stores financial transactions in human-readable text files. It functions as a financial reporting engine for generating balance sheets and income statements, and as a multi-currency investment tracker for managing commodity lots and capital gains. The project distinguishes itself by providing multi-interface data access, allowing users to interact with their financial data via a command line interface, a terminal user interface, and a web server. It features a market-price valuation system to calculate the current va
Adjusts decimal display based on defined commodity precision and rounding rules.
This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking library and a multi-calendar date engine designed to replace the legacy Date object. The system is distinguished by its support for multiple calendar systems beyond the ISO standard and its use of IANA-based time zone resolution. It provides a framework for managing daylight saving transitions and UTC offsets while maintaining nanosecond precision for global timestamps. The API covers broad functional areas including complex date and time arithmetic, locale-aware formatting,
Produces unambiguous RFC 9557 string representations of dates with configurable calendar annotations.