nassim-react

Component Trees

Container Components

Dashboard

Dashboard {
	MarketData: [
			...{
				marketIndex: String,
				chart: {},
				textData: String
			}
	],
	CustomDataSelections: [
		...{
			name: 'MostActive',
			memberStocks: [
				...{
					symbol: String,
					chart: {}
				}
			] 
		},
		{
			name: 'MyPortfolio',
			MemberStocks: [
				{
					symbol: Account.Portfolio[i].symbol,

				}
			]
		}
	]
}

Account

Account {
	email: String,
	password: String,
	Portfolio {
		[
			... {
				symbol: String,
				name: String,
				quantity: Number,
				price: Number,
				totalValue: Number
			}
		]
	}
}

Stock

Stock {
	DisplayData {
		chart: {},
		textData: {
			symbol: String,
			name: String,
			price: Number
		}
	}
	Transaction {
		date: Date,
		symbol: String,
		name: String,
		type: String,
		quantity: Number,
		price: Number,
		totalValue: Number,
		execute: false
	}
}

Presentation Components

Main, Header, Footer, Landing, Home

2018-09-26

Transaction and Stock relationships