evdubs / renegade-way

Option Trading Application
Mozilla Public License 2.0
122 stars 24 forks source link

How to get start the project? #7

Open madeinquant opened 2 years ago

madeinquant commented 2 years ago

I have already installed TWS API and postresql 13.4 in a docker, following the procedure to launch this application and try to read the code starting from main.rkt. However, I am still don't how to launch this application. Would you give some details about the code and procedure to launch this application.

evdubs commented 2 years ago

From the README:

The intended way to launch this application is by doing the following:

$ racket main.rkt -u db-username -n db-name -p db-password

db-username defaults to 'user' and db-name defaults to local, so those arguments can be omitted if they match your database. db-password must be provided.

You will need to either use data from these projects or provide a database schema that mirrors the schema provided by:

ecnet-earnings-calendar iex-stocks nasdaq-symbols oic-options-chains spdr-etf-components yahoo-dividends-splits zacks-estimates-financial-statements

Have you set up your database with the schema from those projects? When you run racket main ... what errors do you have?

markmark1 commented 2 years ago

how to setup the schema from these projects is there a script to run on postgres

evdubs commented 2 years ago

Does this doc help? https://github.com/evdubs/renegade-way/blob/master/SETUP.md