Set up DB Parameters
THIS STEP IS OPTIONAL: Only required when you are using Orca as a package. Within SharkSigma, the user inputs can be selected from the frontend interface directly.
Last updated
Was this helpful?
THIS STEP IS OPTIONAL: Only required when you are using Orca as a package. Within SharkSigma, the user inputs can be selected from the frontend interface directly.
Last updated
Was this helpful?
In order to run Orca, we need to have some user inputs and set up DB parameters (such as db_name, time period, and time interval) to successfully run with those inputs.
To set up DB parameters, create a i.e, key-value pair; having the following keys:
instrument list: contains various instruments in
table name: DB table name for India/US.
For India, 'india_eod': , 'india_5m': 5-minute , 'india_1m': 1-minute intraday.
For the US, 'sp500_eod': EOD, 'sp500_5m': 5-minute intraday, 'sp500_1m': 1-minute intraday.
start and end date: specifies the time period in MM-DD-YYYY format.
time interval: (1D), (1W), (1min, 5min, 15min, 30min, 1H, 4H)
Now, let's look at the code: