nintaitrading-eu / area91-ex

Area91 repository
0 stars 0 forks source link

ER diagram + scripts: account link for product or market. #15

Open rockwolf opened 7 years ago

rockwolf commented 7 years ago

product_tick_info belongs to a product. But each product should belong to a certain account too. If I ever use another broker, I should be able to filter on it. Now, all the tick info is just linked to the product and the products belong to a market. Perhaps link the markets to a broker (= account)? And then show a dropdown, to see for which account you are doing everything? Actually, everything should be linked to a broker.

Could we add a flag to T_ACCOUNT perhaps? is_main / Used to identify brokers... products and markets are linked to it. /