T-40: M1.1c — Pass 1 exchanges: ISO MIC seed, source-code role classifier and reviewable seed-SQL generator
This commit is contained in:
parent
c36f89352c
commit
d0d2ebdfc8
2 changed files with 10 additions and 6 deletions
|
|
@ -214,7 +214,8 @@ async function expectPgErrorCode(operation: Promise<unknown>, expectedCode: stri
|
|||
async function seedListing(pool: Pool) {
|
||||
await pool.query(
|
||||
`INSERT INTO exchange (mic, operating_mic, name, country_iso, currency, timezone, calendar_code)
|
||||
VALUES ('XNYS', 'XNYS', 'New York Stock Exchange', 'US', 'USD', 'America/New_York', 'XNYS')`
|
||||
VALUES ('XNYS', 'XNYS', 'New York Stock Exchange', 'US', 'USD', 'America/New_York', 'XNYS')
|
||||
ON CONFLICT (mic) DO NOTHING`
|
||||
);
|
||||
const instrumentId = (
|
||||
await pool.query(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue