Import xls/csv data from Goldstarway trading platform into Oracle database
I use free version of db engine called Oracle Database Express Edition 11g Release 2 (known as Oracle XE). (http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html)
I use free tool Oracle SQL Developer. (http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html)
The bash is standard on Unix/Linux platforms, also it is possible use cygwin bash on Windows
-
create a new schema (owner of db objects) in the database or use someone which is already prepared
SQL> create user trader identified by gc2orcl; SQL> grant connect to trader; SQL> grant resource to trader; SQL> grant create view to trader;
-
start sqlplus ession from ddl directory and connect as the owner
SQL> connect trader/gc2orcl SQL> @010_INSTALL.sql
- configure CONNECT variable in the script closed_positions_report.sh and Account_Summary.sh
- export "Closed possitions" from TraderPro and save into directory with scripts
- execute ./closed_positions_report.sh
- execute report.sql from Oracle Developer