Compare commits
3 Commits
0565df369b
...
f050e2f5ea
Author | SHA1 | Date |
---|---|---|
Maximilian Schneider | f050e2f5ea | |
Nicholas Clarke | 93b12dd9f1 | |
Nicholas Clarke | d369d41185 |
|
@ -37,4 +37,10 @@ export default class PerpEvent {
|
|||
|
||||
@Column()
|
||||
quantity: number;
|
||||
|
||||
@Column()
|
||||
makerClientOrderId: string;
|
||||
|
||||
@Column()
|
||||
takerClientOrderId: string;
|
||||
}
|
||||
|
|
|
@ -54,6 +54,15 @@ export class CreatePerpEvent1627606236070 implements MigrationInterface {
|
|||
name: 'quantity',
|
||||
type: 'decimal',
|
||||
},
|
||||
|
||||
{
|
||||
name: 'makerClientOrderId',
|
||||
type: 'text',
|
||||
},
|
||||
{
|
||||
name: 'takerClientOrderId',
|
||||
type: 'text',
|
||||
},
|
||||
],
|
||||
}),
|
||||
true
|
||||
|
|
|
@ -46,6 +46,8 @@ function formatFillEvents(address, fillEvents) {
|
|||
takerOrderId: fillEvent.takerOrderId.toString(),
|
||||
price: fillEvent.price,
|
||||
quantity: fillEvent.quantity,
|
||||
makerClientOrderId: fillEvent.makerClientOrderId.toString(),
|
||||
takerClientOrderId: fillEvent.takerClientOrderId.toString(),
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue