Skip to content

Commit 1c2dad7

Browse files
committed
fixes
1 parent 3e24a45 commit 1c2dad7

File tree

8 files changed

+3529
-692
lines changed

8 files changed

+3529
-692
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ config.add_section('main')
8282
# Set the values for the `main` section.
8383
config.set('main', 'REGULAR_ACCOUNT', 'YOUR_ACCOUNT_NUMBER')
8484
config.set('main', 'REGULAR_USERNAME', 'YOUR_ACCOUNT_USERNAME')
85+
8586
config.set('main', 'PAPER_ACCOUNT', 'YOUR_ACCOUNT_NUMBER')
8687
config.set('main', 'PAPER_USERNAME', 'YOUR_ACCOUNT_USERNAME')
8788

@@ -108,7 +109,11 @@ REGULAR_ACCOUNT = 'MY_ACCOUNT_NUMBER'
108109
REGULAR_USERNAME = 'MY_ACCOUNT_USERNAME'
109110

110111
# Create a new session of the IB Web API.
111-
ib_client = IBClient(username=REGULAR_USERNAME, account=REGULAR_ACCOUNT)
112+
ib_client = IBClient(
113+
username=REGULAR_USERNAME,
114+
account=REGULAR_ACCOUNT,
115+
is_server_running=True
116+
)
112117

113118
# create a new session.
114119
ib_client.create_session()

0 commit comments

Comments
 (0)