Feature/connect or create logic for symbol profile (#153)
* Add connectOrCreate logic * Extend seed * Update changelog
This commit is contained in:
@@ -144,6 +144,12 @@ async function main() {
|
||||
id: '2bd26362-136e-411c-b578-334084b4cdcc',
|
||||
symbol: 'AMZN'
|
||||
},
|
||||
{
|
||||
countries: null,
|
||||
dataSource: DataSource.YAHOO,
|
||||
id: 'fdc42ea6-1321-44f5-9fb0-d7f1f2cf9b1e',
|
||||
symbol: 'BTCUSD'
|
||||
},
|
||||
{
|
||||
countries: [{ code: 'US', weight: 1 }],
|
||||
dataSource: DataSource.YAHOO,
|
||||
@@ -191,6 +197,7 @@ async function main() {
|
||||
id: 'a1c5d73a-8631-44e5-ac44-356827a5212c',
|
||||
quantity: 0.5614682,
|
||||
symbol: 'BTCUSD',
|
||||
symbolProfileId: 'fdc42ea6-1321-44f5-9fb0-d7f1f2cf9b1e',
|
||||
type: Type.BUY,
|
||||
unitPrice: 3562.089535970158,
|
||||
userId: userDemo.id
|
||||
|
Reference in New Issue
Block a user