data fixes; indicator=>workspace sync
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
type SnapshotMessage,
|
||||
type PatchMessage,
|
||||
} from '../workspace/index.js';
|
||||
import { resolutionToSeconds } from '../types/ohlc.js';
|
||||
|
||||
/**
|
||||
* Safe JSON stringifier that handles BigInt values
|
||||
@@ -486,7 +487,7 @@ export class WebSocketHandler {
|
||||
}
|
||||
const history = await ohlcService.fetchOHLC(
|
||||
payload.symbol,
|
||||
payload.resolution,
|
||||
resolutionToSeconds(payload.resolution),
|
||||
payload.from_time,
|
||||
payload.to_time,
|
||||
payload.countback
|
||||
|
||||
Reference in New Issue
Block a user