Stock trading C++ —2
Budget: $250 – $750 USD
Using an existing project for code blocks write a c++ console program for windows 11 that performs a specific sequence of actions using the td ameritrade api. Read the requirements before bidding,
1. Log in using the account and password
2. Generate access and refresh tokens
3. Renew access and refresh tokens
4. Log out
5. Save the tokens to a file
6. Load the tokens from a file
7. Log in using the tokens
8. Retrieve the cash balance and margin buying power
9. Retrieve the stock owned in the account
10. Retrieve a list of working orders store them in an array
11. Place a buy order
12. Place a sell order
13. Place a 1st triggers seq order comprising a buy order followed by a sell order
14.. Cancel the buy order from 11
15. Cancel all open orders
16. Get the current market price of the stock.
17.. retrieve historical data for the stock for the past week
18. Log out with the tokens.
The entire sequence should be linear.
You must use the existing project. The finished project must compile and run on the server. You will be provided anydesk access and a td ameritrade account and password. Thinkorswim is installed on the server.
The program is to trade stock, not options or futures or forex.
Do not expect a developer account. It must work with a regular margin account. This may be a technical issue, but i prefer if it uses regular accounts.
1. Log in using the account and password
2. Generate access and refresh tokens
3. Renew access and refresh tokens
4. Log out
5. Save the tokens to a file
6. Load the tokens from a file
7. Log in using the tokens
8. Retrieve the cash balance and margin buying power
9. Retrieve the stock owned in the account
10. Retrieve a list of working orders store them in an array
11. Place a buy order
12. Place a sell order
13. Place a 1st triggers seq order comprising a buy order followed by a sell order
14.. Cancel the buy order from 11
15. Cancel all open orders
16. Get the current market price of the stock.
17.. retrieve historical data for the stock for the past week
18. Log out with the tokens.
The entire sequence should be linear.
You must use the existing project. The finished project must compile and run on the server. You will be provided anydesk access and a td ameritrade account and password. Thinkorswim is installed on the server.
The program is to trade stock, not options or futures or forex.
Do not expect a developer account. It must work with a regular margin account. This may be a technical issue, but i prefer if it uses regular accounts.
Related categories:
Engineering
Software Architecture
Software Testing
Website Management
Web Hosting