Skip to content

Commit

Permalink
Merge pull request IbcAlpha#125 from dmytro-sheyko/feature/USERPROFILE
Browse files Browse the repository at this point in the history
IbcAlpha#124 Replaced %HOMEDRIVE%%HOMEPATH%->%USERPROFILE%
  • Loading branch information
rlktradewright authored Jul 13, 2021
2 parents e4a0c6a + e670129 commit b808c71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion resources/StartGateway.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ setlocal enableextensions enabledelayedexpansion


set TWS_MAJOR_VRSN=978
set CONFIG=%HOMEDRIVE%%HOMEPATH%\Documents\IBC\config.ini
set CONFIG=%USERPROFILE%\Documents\IBC\config.ini
set TRADING_MODE=
set TWOFA_TIMEOUT_ACTION=exit
set IBC_PATH=%SYSTEMDRIVE%\IBC
Expand Down
2 changes: 1 addition & 1 deletion resources/StartTWS.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ setlocal enableextensions enabledelayedexpansion


set TWS_MAJOR_VRSN=978
set CONFIG=%HOMEDRIVE%%HOMEPATH%\Documents\IBC\config.ini
set CONFIG=%USERPROFILE%\Documents\IBC\config.ini
set TRADING_MODE=
set TWOFA_TIMEOUT_ACTION=exit
set IBC_PATH=%SYSTEMDRIVE%\IBC
Expand Down
6 changes: 3 additions & 3 deletions userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ script files to reflect this.
| -------- | ------------------------- | --------------------------------------|
| Windows | IBKR TWS program files | `C:\Jts` |
| | IBC program files | `C:\IBC` |
| | config.ini | `%HOMEDRIVE%%HOMEPATH%\Documents\IBC` |
| | config.ini | `%USERPROFILE%\Documents\IBC` |
| Unix | IBKR TWS program files | `/home/<username>/Jts` |
| | IBC program files | `/opt/ibc` |
| | config.ini | `/home/<username>/ibc` |
Expand Down Expand Up @@ -381,7 +381,7 @@ filestore:
Note that this folder may also be addressed using environment variables like
this:

`%HOMEDRIVE%%HOMEPATH%\Documents`
`%USERPROFILE%\Documents`

- on Unix it is the `/home/<username>` directory.

Expand Down Expand Up @@ -464,7 +464,7 @@ There are two ways that IBC can locate your edited `config.ini` file.

- if you do not specify a configuration file name, IBC will expect to find a
file named `config.ini` in the current computer user's private filestore. For
Windows users, the location is `%HOMEDRIVE%%HOMEPATH%\Documents\IBC`. For Unix
Windows users, the location is `%USERPROFILE%\Documents\IBC`. For Unix
users, it is `~/ibc`.

### Starting IBC
Expand Down

0 comments on commit b808c71

Please sign in to comment.