updated config files and starting work on utils lib
This commit is contained in:
parent
8e218cb802
commit
25d9f2dd85
20 changed files with 900 additions and 9 deletions
|
|
@ -1,3 +1,6 @@
|
|||
// Import standardized types
|
||||
import type { OHLCV, OHLCVWithMetadata } from '@stock-bot/types';
|
||||
|
||||
// Import specific functions for convenience functions
|
||||
import { calculateStrategyMetrics } from './performance-metrics';
|
||||
import { calculateRiskMetrics } from './risk-metrics';
|
||||
|
|
@ -22,7 +25,11 @@ import {
|
|||
* Organized into logical categories for easy use and maintenance.
|
||||
*/
|
||||
|
||||
// Core interfaces for financial data
|
||||
// Re-export standardized types
|
||||
export type { OHLCV, OHLCVWithMetadata } from '@stock-bot/types';
|
||||
|
||||
// Legacy interface for backward compatibility - prefer OHLCV from @stock-bot/types
|
||||
/** @deprecated Use OHLCV from @stock-bot/types instead */
|
||||
export interface OHLCVData {
|
||||
open: number;
|
||||
high: number;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"references": [
|
||||
{ "path": "../types" }
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue