Hi,
I’m new to programming and database design, and I got thrown into a very large project creating a system for a trading department at a broker to keep track of all bond trades that are made. Instead of physically writing out tickets and time stamping them, they want to have a digital ticket that accepts data, puts it in a database, the stores it so they can run reports off of it for years to come. This is as far as I have gotten.
They also want to be able to see what bonds are owned. To do this, they need to find all the entries that have the field “BUY/SELL” = “BUY” . I created a query to do this. Then, they need to have all the bonds that have “SELL” as the “BUY/SELL” field. I have created a query to do this.
The part that is killing me is that I have to take the bonds that have been sold and remove them from the ones that have been bought. If a certain account number has bought 50 NY Metro Municpal Bonds (identified by symbol), and then they sold 30 of the same bond, I need to be able to see that they now hold 20.
Any help would be greatly appreciated in this project, I’ve looked at add/delete queries and all kinds of books/forums and I cannot figure out how to do this.
Thanks!
I’m new to programming and database design, and I got thrown into a very large project creating a system for a trading department at a broker to keep track of all bond trades that are made. Instead of physically writing out tickets and time stamping them, they want to have a digital ticket that accepts data, puts it in a database, the stores it so they can run reports off of it for years to come. This is as far as I have gotten.
They also want to be able to see what bonds are owned. To do this, they need to find all the entries that have the field “BUY/SELL” = “BUY” . I created a query to do this. Then, they need to have all the bonds that have “SELL” as the “BUY/SELL” field. I have created a query to do this.
The part that is killing me is that I have to take the bonds that have been sold and remove them from the ones that have been bought. If a certain account number has bought 50 NY Metro Municpal Bonds (identified by symbol), and then they sold 30 of the same bond, I need to be able to see that they now hold 20.
Any help would be greatly appreciated in this project, I’ve looked at add/delete queries and all kinds of books/forums and I cannot figure out how to do this.
Thanks!