Skip to content

Commit 1a4f0c5

Browse files
committed
Reorganize
1 parent 5c8104d commit 1a4f0c5

3 files changed

Lines changed: 1 addition & 105 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The Client needs specific account information to create a and validate a new ses
6161

6262
**Write a Config File:**
6363

64-
It's common in Python to have a config file that contains information you need to use during the setup of a script. Additionally, you can make this file in a standard way so that way it's easy to read everytime. In Python, there is a module called `configparser` which can be used to create config files that mimic that of Windows INI files.
64+
It's common in Python to have a config file that contains information you need to use during the setup of a script. Additionally, you can make this file in a standard way so that way it's easy to read everytime. In Python, there is a module called `configparser` which can be used to create config files that mimic that of Windows INI files.
6565

6666
To create a config file using hte `configparser` module, run the script below in a separate file or go to the [Resources Folder](https://github.com/areed1192/interactive-broker-python-api/tree/master/resources) and run the `write_config.py` file.
6767

@@ -74,11 +74,9 @@ config = ConfigParser()
7474
config.add_section('main')
7575

7676
config.set('main', 'REGULAR_ACCOUNT', 'YOUR_ACCOUNT_NUMBER')
77-
config.set('main', 'REGULAR_PASSWORD', 'YOUR_ACCOUNT_PASSWORD')
7877
config.set('main', 'REGULAR_USERNAME', 'YOUR_ACCOUNT_USERNAME')
7978

8079
config.set('main', 'PAPER_ACCOUNT', 'YOUR_ACCOUNT_NUMBER')
81-
config.set('main', 'PAPER_PASSWORD', 'YOUR_ACCOUNT_PASSWORD')
8280
config.set('main', 'PAPER_USERNAME', 'YOUR_ACCOUNT_USERNAME')
8381

8482
new_directory = pathlib.Path("config/").mkdir(parents=True, exist_ok=True)

tests/test_startup.py

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)