* chore: replace Order type with existing OrderSubmissionBody['orderSubmission'] * chore: drop WithMarket from Order, Trade and Fill types * chore: fix order list mock
4 lines
116 B
TypeScript
4 lines
116 B
TypeScript
export const toNanoSeconds = (date: Date | string) => {
|
|
return new Date(date).getTime().toString() + '000000';
|
|
};
|