{"_id":"@barfinex/detector-plugin-trade-journal","_rev":"6-0b95b0d158025646ef80894852de4278","name":"@barfinex/detector-plugin-trade-journal","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.0","keywords":["barfinex","detector","plugin","trade","journal","trade-journal","trading","logging","nestjs","nestjs-module","typescript","backtesting","analytics"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/detector-plugin-trade-journal@1.0.0","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"dist":{"shasum":"909d5c88894876382eada4213b5fb6ee7e9dea6d","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.0.tgz","fileCount":18,"integrity":"sha512-tH2Wmf4dUCkeu3i4B88ePLU54ZzUQzOUJ/8ACq3RBekd1WZ6/oof5uK0CLqUT0T0Dh25FQVJ7kq5DxgbJrKpOQ==","signatures":[{"sig":"MEUCIQDFiAMs24ndc28GgMeajqBh18VXu9LfqC2Zp1pSOdhPfAIgJktY7feZGhk3M78Bmiynhe0toL1hFi0hTfZ8nYLLNAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37659},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"428a4d059f4a689e2b3dfa55603584a8a1788e3f","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist","release":"semantic-release"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"repository":{"url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git","type":"git"},"_npmVersion":"10.9.4","description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"rxjs":"^7.8.1","typeorm":"^0.3.27","@nestjs/core":"^10.0.0","@barfinex/key":"^1.0.0","@nestjs/common":"^10.0.0","@barfinex/types":"^1.0.14","@barfinex/utils":"^1.0.1","@nestjs/swagger":"^7.4.2","@nestjs/typeorm":"^10.0.2","@barfinex/orders":"^1.0.0","@barfinex/detector":"^1.0.0","@barfinex/connectors":"^1.0.0","@barfinex/plugin-driver":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.0","typescript":"^5.6.0","@types/node":"^20.11.30","semantic-release":"^24.0.0","@semantic-release/git":"^10.0.0","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/detector-plugin-trade-journal_1.0.0_1761299663958_0.2351737553814246","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.1","keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/detector-plugin-trade-journal@1.0.1","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"dist":{"shasum":"941f44b77f13217260dcb7e14836529399299fac","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.1.tgz","fileCount":18,"integrity":"sha512-vDeb2E39YCoxNod3cK4ukSr1kVWJgLHhPDSy1hk+pn1NF/KmCMFZR/XT/VgNVAX2MMffA8tbwXymrJCNwq70nA==","signatures":[{"sig":"MEUCIA6odwaOFIU9al+IzRWyW5hXHMyzi5AWAhJmpb8/QttRAiEA0xuFITqcxF+nuuKYG+sn3a1696QHVBjTp7fy+lfFnX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38009},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"cfd773f816762b739b17e976d3e9903a236cd944","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","build:npm":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"repository":{"url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git","type":"git"},"_npmVersion":"10.9.4","description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"rxjs":"^7.8.1","typeorm":"^0.3.27","@barfinex/key":"^1.0.1","@barfinex/types":"^1.0.22","@barfinex/utils":"^1.0.6","@barfinex/orders":"^1.0.1","@barfinex/detector":"^1.0.1","@barfinex/connectors":"^1.0.1","@barfinex/plugin-driver":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","typescript":"^5.6.3","@types/node":"^20.11.30","semantic-release":"^24.1.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.4.2","@nestjs/typeorm":"^10.0.2","reflect-metadata":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/detector-plugin-trade-journal_1.0.1_1761680115851_0.042440083780402205","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.2","keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/detector-plugin-trade-journal@1.0.2","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"dist":{"shasum":"0d35e33ce2fe149c5a9cfbc26b5ab6b19cf087b7","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.2.tgz","fileCount":34,"integrity":"sha512-yT1ClP/Gj3K9KBbqjZ94ZA56Sqvx4rRNmrKTS4gRtkIs5Cjo69itQ7PDTEbzB/a+98iYGDn+ybC6n9yFI6oVsA==","signatures":[{"sig":"MEUCIQDu/8krrdUr0CJcsnG1UBg4zoMeJqfZ52Y7lH4STT7XHwIgOIPSbuy8LNHefjUq3fI5rXw3NmTLsltrmYbjNyhzwsQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58525},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e1cde73a0e76ca5ebc5efe4cc837347d398b8ea8","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","prebuild":"node ../../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild":"node ../../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../../tools/hygiene/clean-compiled-in-src.js","postbuild:npm":"node ../../../tools/hygiene/verify-no-compiled-in-src.js"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"buildDate":"2026-03-26T15:00:00","repository":{"url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git","type":"git"},"_npmVersion":"10.8.2","description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"rxjs":"^7.8.1","typeorm":"^0.3.20","@barfinex/key":"latest","@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/orders":"latest","@barfinex/detector":"latest","@barfinex/connectors":"latest","@barfinex/plugin-driver":"latest"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","typescript":"^5.6.3","@types/node":"^20.11.30","semantic-release":"^24.1.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0","@nestjs/typeorm":"^10.0.0","reflect-metadata":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/detector-plugin-trade-journal_1.0.2_1774512910449_0.7728280636410076","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.3","keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/detector-plugin-trade-journal@1.0.3","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"dist":{"shasum":"f7c9d8009bd7edae2f3e059a641896907d67954c","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.3.tgz","fileCount":34,"integrity":"sha512-+R81DD9DdPCfkAFJqImxJpyCfwJ5FDkNCQlRon6Jz2D8i17gFJms0OldwIz3y5plk8Jq2Nh/v1ASvJ5RKNEx7w==","signatures":[{"sig":"MEUCIQDdohQMCaLIaknI0XF+rK7pqOzHcT1fAfW4cOR/KeBEeQIgCBltaQvu+/Ft2uCQ+WFtI+nzFDumR/Ne08j2q7q80uI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58525},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"44b91e818f5417a9a95f216a121370737cffcddf","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","prebuild":"node ../../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild":"node ../../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../../tools/hygiene/clean-compiled-in-src.js","postbuild:npm":"node ../../../tools/hygiene/verify-no-compiled-in-src.js"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"buildDate":"2026-03-26T16:00:00","repository":{"url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git","type":"git"},"_npmVersion":"10.8.2","description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"rxjs":"^7.8.1","typeorm":"^0.3.20","@barfinex/key":"latest","@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/orders":"latest","@barfinex/detector":"latest","@barfinex/connectors":"latest","@barfinex/plugin-driver":"latest"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","typescript":"^5.6.3","@types/node":"^20.11.30","semantic-release":"^24.1.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0","@nestjs/typeorm":"^10.0.0","reflect-metadata":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/detector-plugin-trade-journal_1.0.3_1774512927981_0.010350762135852287","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.4","keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/detector-plugin-trade-journal@1.0.4","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"dist":{"shasum":"c503c667e843ff60e47c76000f853493234a0c9f","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.4.tgz","fileCount":34,"integrity":"sha512-6I3F9ctwZHA+Mc9hwxVC9HTafRQ0Gt4pOuJ3t1cuuRaiz/CcHT1az+7XyUVALfQtFwagKLjAVDcGrBm216dOUQ==","signatures":[{"sig":"MEYCIQCFu2DgVOVuO8PsI2xrf/pXN1WXpUFeXAZEnqBmUL95dgIhANZOxoIv/2c/CkJNV9b/jkQcCpbD9pHs2wC+JAohztpg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58525},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"33f06e3eaba499eff0415cc1a6e8eb2e4a0b4332","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","prebuild":"node ../../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild":"node ../../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../../tools/hygiene/clean-compiled-in-src.js","postbuild:npm":"node ../../../tools/hygiene/verify-no-compiled-in-src.js"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"buildDate":"2026-03-26T17:00:00","repository":{"url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git","type":"git"},"_npmVersion":"10.8.2","description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"rxjs":"^7.8.1","typeorm":"^0.3.20","@barfinex/key":"latest","@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/orders":"latest","@barfinex/detector":"latest","@barfinex/connectors":"latest","@barfinex/plugin-driver":"latest"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","typescript":"^5.6.3","@types/node":"^20.11.30","semantic-release":"^24.1.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"@nestjs/core":"^10.0.0","@nestjs/common":"^10.0.0","@nestjs/swagger":"^7.0.0","@nestjs/typeorm":"^10.0.0","reflect-metadata":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/detector-plugin-trade-journal_1.0.4_1774513448827_0.017214402972961063","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@barfinex/detector-plugin-trade-journal","version":"1.0.5","private":false,"description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","author":{"name":"Barfinex"},"license":"MIT","homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","repository":{"type":"git","url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git"},"bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"sideEffects":false,"scripts":{"clean":"rimraf dist tsconfig.tsbuildinfo","prebuild":"node ../../../tools/hygiene/clean-compiled-in-src.js","build":"tsc -p tsconfig.app.json","postbuild":"node ../../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild:npm":"node ../../../tools/hygiene/verify-no-compiled-in-src.js","rebuild":"npm run clean && npm run build","release":"semantic-release"},"keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"dependencies":{"@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/connectors":"latest","@barfinex/orders":"latest","@barfinex/key":"latest","@barfinex/plugin-driver":"latest","@barfinex/detector":"latest","rxjs":"^7.8.1","typeorm":"^0.3.20"},"peerDependencies":{"@nestjs/common":"^10.0.0","@nestjs/core":"^10.0.0","@nestjs/swagger":"^7.0.0","@nestjs/typeorm":"^10.0.0","reflect-metadata":"^0.2.1"},"devDependencies":{"typescript":"^5.6.3","rimraf":"^5.0.5","semantic-release":"^24.1.0","@semantic-release/npm":"^12.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0","@types/node":"^20.11.30"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"release":{"branches":["main"]},"buildDate":"2026-03-26T17:00:00","_id":"@barfinex/detector-plugin-trade-journal@1.0.5","gitHead":"ffe9a3ddb61c13eb342801cd23d430885d1c1ede","_nodeVersion":"20.20.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-gEjIlxCZwI2hnQbp1MQl8IQ/DVVkA4Db2kl/99S+3asC+RuDKQ00I/8aMPFvOG/pMpRtsx08xcfaTnxgIt+wJQ==","shasum":"501210bc1a7cb3d8b06f7c6b42be9a5f4d06d383","tarball":"https://registry.npmjs.org/@barfinex/detector-plugin-trade-journal/-/detector-plugin-trade-journal-1.0.5.tgz","fileCount":34,"unpackedSize":58525,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDio/Lnt2Kz6UrE81VWQCt3RWogCyoTUOWMRK28YxW6gAIhAMatlBNA1m9CCdi7Ux1ZxgkQqs3u9w1pC1JYwqm6JT7Q"}]},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"directories":{},"maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detector-plugin-trade-journal_1.0.5_1774513926580_0.4414767257434018"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-24T09:54:23.859Z","modified":"2026-03-26T08:32:06.859Z","1.0.0":"2025-10-24T09:54:24.206Z","1.0.1":"2025-10-28T19:35:16.040Z","1.0.2":"2026-03-26T08:15:10.610Z","1.0.3":"2026-03-26T08:15:28.126Z","1.0.4":"2026-03-26T08:24:09.000Z","1.0.5":"2026-03-26T08:32:06.723Z"},"bugs":{"url":"https://github.com/barfinex/detector-plugin-trade-journal/issues"},"author":{"name":"Barfinex"},"license":"MIT","homepage":"https://github.com/barfinex/detector-plugin-trade-journal#readme","keywords":["barfinex","detector","plugin","trade-journal","trading","journal","nestjs","typescript","analytics"],"repository":{"type":"git","url":"git+https://github.com/barfinex/detector-plugin-trade-journal.git"},"description":"Detector plugin Trade Journal for the Barfinex ecosystem. Provides trade logging, journaling, and lifecycle hooks for managing trading activity inside detectors.","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"readme":"# @barfinex/detector-plugin-trade-journal\n\n**Trade journal plugin** for the [Barfinex](https://barfinex.com) Detector — record and query trades (manual or detector-driven) with metadata, filters, and a persistent store.\n\nKeep a structured log of executions for analysis, compliance, or strategy tuning. The plugin implements detector lifecycle hooks and exposes a CRUD API so Studio or other services can create and query journal entries.\n\n---\n\n## What it does\n\n- **Trade CRUD** — create, find (with filters), get one, update, remove journal entries via service or controller.\n- **Detector plugin** — implements `PluginHook.onInit` / `onStart` and integrates with `@barfinex/plugin-driver`; registers with Provider for Studio plugin API.\n- **Metadata** — strategy name, symbol, timeframe, side, prices, risk/reward, tags, and timestamps stored in `TradeJournalEntity`.\n- **Filtering** — query by symbol, strategy, date range, and other fields for reports and dashboards.\n\n---\n\n## Installation\n\n```sh\nnpm install @barfinex/detector-plugin-trade-journal\n```\n\nor\n\n```sh\nyarn add @barfinex/detector-plugin-trade-journal\n```\n\n---\n\n## What's included\n\n| Export | Purpose |\n|--------|--------|\n| `TradeJournalModule` | NestJS module (includes entity and service). |\n| `TradeJournalService` | CRUD and plugin hooks; extends `DetectorPluginService`. |\n| `TradeJournalEntity` | TypeORM entity for persistent trade records. |\n\n---\n\n## Documentation\n\n- **Detector (host for this plugin)** — [Installation detector](https://barfinex.com/docs/installation-detector) — config and plugin list (e.g. `trade-journal`).\n- **Barfinex overview** — [First Steps](https://barfinex.com/docs/first-steps), [Architecture](https://barfinex.com/docs/architecture), [Glossary](https://barfinex.com/docs/glossary).\n- **APIs** — [Detector API reference](https://barfinex.com/docs/detector-api), [Provider API reference](https://barfinex.com/docs/provider-api), [Building with the API](https://barfinex.com/docs/frontend-api).\n- **Troubleshooting** — [Typical problems and solutions](https://barfinex.com/docs/troubleshooting).\n\n---\n\n## Contributing\n\nIdeas for metrics and export features welcome. Open an issue or PR. Community: [Telegram](https://t.me/barfinex) · [GitHub](https://github.com/barfinex).\n\n---\n\n## License\n\nLicensed under the [Apache License 2.0](LICENSE) with additional terms. Attribution to **Barfin Network Limited** and a link to [https://barfinex.com](https://barfinex.com) are required. Commercial use requires explicit permission. See [LICENSE](LICENSE) and the [Barfinex site](https://barfinex.com) for details.\n","readmeFilename":"README.md"}