aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/entities/ohlcv_external.ts
diff options
context:
space:
mode:
authorJake Ellowitz <jake.ellowitz@gmail.com>2018-11-20 11:11:51 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:24:48 +0800
commitdea89c4e221d5b22de97b27573719cd27ce250c7 (patch)
tree8bb98513d90e6759d57f20d2d458625d4b68dc80 /packages/pipeline/src/entities/ohlcv_external.ts
parentc6af5131b0b06433d6294260274e187ad61f4ef7 (diff)
downloaddexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar.gz
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar.bz2
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar.lz
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar.xz
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.tar.zst
dexon-0x-contracts-dea89c4e221d5b22de97b27573719cd27ce250c7.zip
metadata and trusted sources in same raw table
Diffstat (limited to 'packages/pipeline/src/entities/ohlcv_external.ts')
-rw-r--r--packages/pipeline/src/entities/ohlcv_external.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/pipeline/src/entities/ohlcv_external.ts b/packages/pipeline/src/entities/ohlcv_external.ts
index 3fbb4c499..95cd4f2f5 100644
--- a/packages/pipeline/src/entities/ohlcv_external.ts
+++ b/packages/pipeline/src/entities/ohlcv_external.ts
@@ -3,18 +3,18 @@ import { Column, Entity, PrimaryColumn } from 'typeorm';
@Entity({ name: 'ohlcv_external', schema: 'raw' })
export class OHLCVExternal {
@PrimaryColumn() public exchange!: string;
- @PrimaryColumn() public from_symbol!: string;
- @PrimaryColumn() public to_symbol!: string;
- @PrimaryColumn() public start_time!: number;
- @PrimaryColumn() public end_time!: number;
-
+ @PrimaryColumn() public fromSymbol!: string;
+ @PrimaryColumn() public toSymbol!: string;
+ @PrimaryColumn() public startTime!: number;
+ @PrimaryColumn() public endTime!: number;
+
@Column() public open!: number;
@Column() public close!: number;
@Column() public low!: number;
@Column() public high!: number;
- @Column() public volume_from!: number;
- @Column() public volume_to!: number;
+ @Column() public volumeFrom!: number;
+ @Column() public volumeTo!: number;
@PrimaryColumn() public source!: string;
- @PrimaryColumn() public observed_timestamp!: number;
-} \ No newline at end of file
+ @PrimaryColumn() public observedTimestamp!: number;
+}