Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 5c1a51d
Merge: af44ece 797ac45
Author: Nelson Dane <[email protected]>
Date:   Mon Mar 4 14:22:25 2024 -0500

    Merge pull request NelsonDane#182 from NelsonDane/dependabot/docker/playwright-v1.42.1-jammy

    Bump playwright from v1.41.2-jammy to v1.42.1-jammy

commit 797ac45
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Mar 4 09:16:31 2024 +0000

    Bump playwright from v1.41.2-jammy to v1.42.1-jammy

    Bumps playwright from v1.41.2-jammy to v1.42.1-jammy.

    ---
    updated-dependencies:
    - dependency-name: playwright
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit af44ece
Merge: 7fd8e23 a45e09e
Author: Nelson Dane <[email protected]>
Date:   Fri Mar 1 09:34:13 2024 -0500

    Merge pull request NelsonDane#181 from NelsonDane/dependabot/pip/tastytrade-7.0

    Bump tastytrade from 6.7 to 7.0

commit a45e09e
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Mar 1 09:38:53 2024 +0000

    Bump tastytrade from 6.7 to 7.0

    Bumps [tastytrade](https://github.com/tastyware/tastytrade) from 6.7 to 7.0.
    - [Release notes](https://github.com/tastyware/tastytrade/releases)
    - [Commits](tastyware/tastytrade@v6.7...v7.0)

    ---
    updated-dependencies:
    - dependency-name: tastytrade
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7fd8e23
Merge: 6dd5601 9d787ad
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 26 10:11:02 2024 -0500

    Merge pull request NelsonDane#178 from NelsonDane/dependabot/pip/setuptools-69.1.1

    Bump setuptools from 69.1.0 to 69.1.1

commit 9d787ad
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 26 09:23:04 2024 +0000

    Bump setuptools from 69.1.0 to 69.1.1

    Bumps [setuptools](https://github.com/pypa/setuptools) from 69.1.0 to 69.1.1.
    - [Release notes](https://github.com/pypa/setuptools/releases)
    - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
    - [Commits](pypa/setuptools@v69.1.0...v69.1.1)

    ---
    updated-dependencies:
    - dependency-name: setuptools
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 6dd5601
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 23 15:05:58 2024 -0500

    fix type hints for newer python versions

commit 7f691e3
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 22 14:00:27 2024 -0500

    fix schwab old browser

commit 21a9666
Author: Nelson Dane <[email protected]>
Date:   Wed Feb 21 13:16:35 2024 -0500

    Webull Support (NelsonDane#61)

    * resolve conflicts

    * add webull API

    * Add to Docker and requirements.txt

    * fix getting obj and check for login

    * add webull to readme and add setup guide

    * save account id

    * get trade pin

    * update webull

    * update webull transaction

    * reorder imports

    * working webull orders

    * wb holdings fix

    * remove duplicate copies

    * mask string update

    * fix merge mistakes

    * allow webull fractionals

    * fix wb order amount

    * support for wb roth

    * update wb api

    * style: format code with Black and isort (NelsonDane#138)

    * style: format code with Black and isort

    This commit fixes the style issues introduced in bc82b2f according to the output
    from Black and isort.

    Details: None

    * split line

    ---------

    Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
    Co-authored-by: Nelson Dane <[email protected]>

    * fix holdings with multi account

    * style: format code with Black and isort

    This commit fixes the style issues introduced in 4708a23 according to the output
    from Black and isort.

    Details: None

    * no private member function calls

    * add commit hash

    * orders and holdings fix

    * restore buy

    * update wb

    * print correct account numbers

    * improve logged in checking

    * style: format code with Black and isort

    This commit fixes the style issues introduced in d9d99a2 according to the output
    from Black and isort.

    Details: None

    * fix wb final print

    * style: format code with Black and isort

    This commit fixes the style issues introduced in bb7cefe according to the output
    from Black and isort.

    Details: NelsonDane#61

    * fix account totals

    * style: format code with Black and isort

    This commit fixes the style issues introduced in aa7ea14 according to the output
    from Black and isort.

    Details: None

    * update readme

    * remove debug prints

    ---------

    Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

commit cf1c6ac
Merge: d4900a4 a62e5e4
Author: Nelson Dane <[email protected]>
Date:   Wed Feb 21 11:54:58 2024 -0500

    Merge pull request NelsonDane#177 from NelsonDane/deepsource-transform-b1fc884e

    style: format code with Black and isort

commit a62e5e4
Author: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date:   Wed Feb 21 16:54:14 2024 +0000

    style: format code with Black and isort

    This commit fixes the style issues introduced in d4900a4 according to the output
    from Black and isort.

    Details: None

commit d4900a4
Author: Nelson Dane <[email protected]>
Date:   Wed Feb 21 11:53:57 2024 -0500

    fix bad tasty orders on some accounts

commit 89c7ae7
Merge: 24fc717 c427ccb
Author: Nelson Dane <[email protected]>
Date:   Tue Feb 20 23:49:35 2024 -0500

    Merge pull request NelsonDane#176 from NelsonDane/dependabot/pip/selenium-4.18.1

    Bump selenium from 4.17.2 to 4.18.1

commit c427ccb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Feb 20 09:26:50 2024 +0000

    Bump selenium from 4.17.2 to 4.18.1

    Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.17.2 to 4.18.1.
    - [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
    - [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.18.1)

    ---
    updated-dependencies:
    - dependency-name: selenium
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 24fc717
Merge: 8ff00a0 7d4153c
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 16 12:46:49 2024 -0500

    Merge pull request NelsonDane#175 from NelsonDane/develop

    Merge tasty fix into main

commit 7d4153c
Merge: eec909c 8ff00a0
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 16 12:45:41 2024 -0500

    Merge remote-tracking branch 'origin/main' into develop

commit eec909c
Merge: 3a223e4 b69af27
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 16 12:43:34 2024 -0500

    Merge pull request NelsonDane#173 from MaxxRK/develop

    fix keyerror on order placement

commit b69af27
Author: Ryan Gullett <[email protected]>
Date:   Fri Feb 16 11:38:36 2024 -0600

    Update tastyAPI.py

    revert import order

commit 8ff00a0
Merge: 23bc3eb fe06845
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 16 10:28:17 2024 -0500

    Merge pull request NelsonDane#174 from NelsonDane/dependabot/pip/gitpython-3.1.42

    Bump gitpython from 3.1.41 to 3.1.42

commit fe06845
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Feb 16 10:06:17 2024 +0000

    Bump gitpython from 3.1.41 to 3.1.42

    Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.41 to 3.1.42.
    - [Release notes](https://github.com/gitpython-developers/GitPython/releases)
    - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
    - [Commits](gitpython-developers/GitPython@3.1.41...3.1.42)

    ---
    updated-dependencies:
    - dependency-name: gitpython
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 23bc3eb
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 15 15:47:46 2024 -0500

    update workflows

commit bd974b6
Author: Maxxrk <[email protected]>
Date:   Thu Feb 15 10:54:42 2024 -0600

    fix keyerror on order placement

commit 3b487d6
Merge: bdb7cb3 0391856
Author: Nelson Dane <[email protected]>
Date:   Wed Feb 14 13:06:41 2024 -0500

    Merge pull request NelsonDane#172 from NelsonDane/dependabot/pip/schwab-api-0.3.10

    Bump schwab-api from 0.3.9 to 0.3.10

commit 0391856
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Wed Feb 14 09:39:41 2024 +0000

    Bump schwab-api from 0.3.9 to 0.3.10

    Bumps [schwab-api](https://github.com/itsjafer/schwab-api) from 0.3.9 to 0.3.10.
    - [Commits](https://github.com/itsjafer/schwab-api/commits)

    ---
    updated-dependencies:
    - dependency-name: schwab-api
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit bdb7cb3
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 12 12:23:59 2024 -0500

    fix tasty trade errors

commit c13a75c
Merge: 4392080 ccb1fb9
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 12 10:18:47 2024 -0500

    Merge pull request NelsonDane#170 from NelsonDane/dependabot/pip/firstrade-0.0.14

    Bump firstrade from 0.0.12 to 0.0.14

commit ccb1fb9
Author: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date:   Mon Feb 12 15:17:33 2024 +0000

    style: format code with Black and isort

    This commit fixes the style issues introduced in 5d7b4ef according to the output
    from Black and isort.

    Details: NelsonDane#170

commit 5d7b4ef
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 12 10:17:14 2024 -0500

    save to creds folder

commit 8757e62
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 12 13:15:46 2024 +0000

    Bump firstrade from 0.0.12 to 0.0.14

    Bumps [firstrade](https://github.com/MaxxRK/firstrade-api) from 0.0.12 to 0.0.14.
    - [Release notes](https://github.com/MaxxRK/firstrade-api/releases)
    - [Commits](https://github.com/MaxxRK/firstrade-api/commits)

    ---
    updated-dependencies:
    - dependency-name: firstrade
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 4392080
Merge: 02a65c5 bc523ae
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 12 08:15:09 2024 -0500

    Merge pull request NelsonDane#171 from NelsonDane/dependabot/pip/tastytrade-6.7

    Bump tastytrade from 6.6 to 6.7

commit bc523ae
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 12 13:12:13 2024 +0000

    Bump tastytrade from 6.6 to 6.7

    Bumps [tastytrade](https://github.com/tastyware/tastytrade) from 6.6 to 6.7.
    - [Release notes](https://github.com/tastyware/tastytrade/releases)
    - [Commits](tastyware/tastytrade@v.6.6...v6.7)

    ---
    updated-dependencies:
    - dependency-name: tastytrade
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 02a65c5
Merge: 18ee7eb c2ef287
Author: Nelson Dane <[email protected]>
Date:   Mon Feb 12 08:11:03 2024 -0500

    Merge pull request NelsonDane#169 from NelsonDane/dependabot/pip/setuptools-69.1.0

    Bump setuptools from 69.0.3 to 69.1.0

commit c2ef287
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 12 09:16:14 2024 +0000

    Bump setuptools from 69.0.3 to 69.1.0

    Bumps [setuptools](https://github.com/pypa/setuptools) from 69.0.3 to 69.1.0.
    - [Release notes](https://github.com/pypa/setuptools/releases)
    - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
    - [Commits](pypa/setuptools@v69.0.3...v69.1.0)

    ---
    updated-dependencies:
    - dependency-name: setuptools
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 18ee7eb
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 9 23:12:22 2024 -0500

    pin workflow versions

commit 487a0fb
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 9 23:03:55 2024 -0500

    update workflow

commit bbbcd03
Author: Nelson Dane <[email protected]>
Date:   Fri Feb 9 21:31:35 2024 -0500

    add missing requirement

commit a32427b
Merge: 420e646 3a223e4
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 14:31:48 2024 -0500

    Merge pull request NelsonDane#165 from NelsonDane/develop

    Package Version Checker at Start

commit 3a223e4
Merge: 5ea9d34 8cd40f7
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 14:30:01 2024 -0500

    Merge pull request NelsonDane#168 from NelsonDane/deepsource-transform-5d1f5db3

    style: format code with Black and isort

commit 8cd40f7
Author: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date:   Thu Feb 8 19:28:40 2024 +0000

    style: format code with Black and isort

    This commit fixes the style issues introduced in 5ea9d34 according to the output
    from Black and isort.

    Details: NelsonDane#165

commit 5ea9d34
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 14:28:22 2024 -0500

    remove installed check

commit 3635ee4
Merge: ca8d415 787aca1
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 14:16:35 2024 -0500

    Merge pull request NelsonDane#166 from NelsonDane/deepsource-transform-5728561a

    style: format code with Black and isort

commit 787aca1
Author: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date:   Thu Feb 8 19:15:09 2024 +0000

    style: format code with Black and isort

    This commit fixes the style issues introduced in ca8d415 according to the output
    from Black and isort.

    Details: None

commit ca8d415
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 13:49:22 2024 -0500

    package version checker

commit 215b150
Merge: 3023c18 420e646
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 13:47:24 2024 -0500

    Merge branch 'main' into develop

commit 420e646
Merge: 75bf754 7174a1d
Author: Nelson Dane <[email protected]>
Date:   Thu Feb 8 10:27:49 2024 -0500

    Merge pull request NelsonDane#164 from NelsonDane/dependabot/pip/tastytrade-6.6

    Bump tastytrade from 6.5 to 6.6

commit 7174a1d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Feb 8 09:57:16 2024 +0000

    Bump tastytrade from 6.5 to 6.6

    Bumps [tastytrade](https://github.com/tastyware/tastytrade) from 6.5 to 6.6.
    - [Release notes](https://github.com/tastyware/tastytrade/releases)
    - [Commits](tastyware/tastytrade@6.5...v.6.6)

    ---
    updated-dependencies:
    - dependency-name: tastytrade
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 75bf754
Merge: 7cdda99 6f85bb1
Author: Nelson Dane <[email protected]>
Date:   Tue Feb 6 14:21:32 2024 -0500

    Merge pull request NelsonDane#161 from NelsonDane/dependabot/docker/playwright-v1.41.2-jammy

    Bump playwright from v1.41.1-jammy to v1.41.2-jammy

commit 6f85bb1
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Feb 5 09:54:02 2024 +0000

    Bump playwright from v1.41.1-jammy to v1.41.2-jammy

    Bumps playwright from v1.41.1-jammy to v1.41.2-jammy.

    ---
    updated-dependencies:
    - dependency-name: playwright
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7cdda99
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 30 23:49:19 2024 -0500

    fix import order

commit 7ce3e85
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 30 23:03:54 2024 -0500

    print completed

commit e12e62c
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 30 18:18:00 2024 -0500

    update updater

commit 36b4911
Merge: 276203a f1f7f94
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 30 12:18:02 2024 -0500

    Merge pull request NelsonDane#153 from NelsonDane/dependabot/pip/tastytrade-6.5

    Bump tastytrade from 6.4 to 6.5

commit f1f7f94
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 30 09:32:37 2024 +0000

    Bump tastytrade from 6.4 to 6.5

    Bumps [tastytrade](https://github.com/tastyware/tastytrade) from 6.4 to 6.5.
    - [Release notes](https://github.com/tastyware/tastytrade/releases)
    - [Commits](tastyware/tastytrade@v6.4...6.5)

    ---
    updated-dependencies:
    - dependency-name: tastytrade
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 276203a
Author: Nelson Dane <[email protected]>
Date:   Sat Jan 27 16:52:05 2024 -0500

    Add Public.com PR mention

commit 82353a7
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 23:50:19 2024 -0500

    Merge Develop into Main (NelsonDane#147)

    * add firsttrade

    * finish firstrade

    * add firstrade to dockerfile

    * remove duplicate import

    * fix order

    * fix incorrect comment

    * correct object def

    * add vars to readme

    * ignore pickle files

    * small formatting fix

    * add traceback

    * change ft api version

    * fix firstrade buy only

    * change ft_api version

    * fix firstrade api to use acount dict

    * update ft_api version

    * change ft_api version

    * remove redundant variable

    * code cleanup

    * Deepsource style fix

    * add new print to ft

    * update readme

    * style: format code with Black and isort

    This commit fixes the style issues introduced in c57833a according to the output
    from Black and isort.

    Details: None

    * update mask string

    * style: format code with Black and isort

    This commit fixes the style issues introduced in 7b0fb19 according to the output
    from Black and isort.

    Details: None

    * fidelity fix

    * fix import styling

    * revert import order

    * last import order fix

    * remove unused prices

    * bad indent

    * style: format code with Black and isort

    This commit fixes the style issues introduced in 57b3cde according to the output
    from Black and isort.

    Details: None

    ---------

    Co-authored-by: Donald Ryan Gullett <[email protected]>
    Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
    Co-authored-by: maxxrk <[email protected]>

commit 3023c18
Merge: 57b3cde e7e7083
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 23:48:51 2024 -0500

    Merge pull request NelsonDane#148 from NelsonDane/deepsource-transform-eb0ccb04

    style: format code with Black and isort

commit e7e7083
Author: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Date:   Wed Jan 24 04:47:06 2024 +0000

    style: format code with Black and isort

    This commit fixes the style issues introduced in 57b3cde according to the output
    from Black and isort.

    Details: None

commit 57b3cde
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 23:45:56 2024 -0500

    bad indent

commit a1fd8ee
Merge: 629a0c2 f34e24f
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 23:45:00 2024 -0500

    Merge remote-tracking branch 'origin/main' into develop

commit 629a0c2
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 23:37:15 2024 -0500

    remove unused prices

commit 9016ff6
Author: maxxrk <[email protected]>
Date:   Tue Jan 23 19:46:24 2024 -0600

    last import order fix

commit d02fd5e
Author: maxxrk <[email protected]>
Date:   Tue Jan 23 19:45:25 2024 -0600

    revert import order

commit faf8c06
Author: maxxrk <[email protected]>
Date:   Tue Jan 23 19:39:41 2024 -0600

    fix import styling

commit 1db00ba
Author: maxxrk <[email protected]>
Date:   Tue Jan 23 19:30:57 2024 -0600

    fidelity fix

commit f34e24f
Merge: 53b9e77 8096ecb
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 12:09:54 2024 -0500

    Merge pull request NelsonDane#145 from NelsonDane/dependabot/pip/selenium-4.17.2

    Bump selenium from 4.16.0 to 4.17.2

commit 8096ecb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 23 17:02:03 2024 +0000

    Bump selenium from 4.16.0 to 4.17.2

    Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.16.0 to 4.17.2.
    - [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
    - [Commits](https://github.com/SeleniumHQ/Selenium/commits)

    ---
    updated-dependencies:
    - dependency-name: selenium
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 53b9e77
Merge: 7b5a16e d161e3f
Author: Nelson Dane <[email protected]>
Date:   Tue Jan 23 12:01:10 2024 -0500

    Merge pull request NelsonDane#143 from NelsonDane/dependabot/pip/python-dotenv-1.0.1

    Bump python-dotenv from 1.0.0 to 1.0.1

commit d161e3f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 23 09:58:12 2024 +0000

    Bump python-dotenv from 1.0.0 to 1.0.1

    Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.0.0 to 1.0.1.
    - [Release notes](https://github.com/theskumar/python-dotenv/releases)
    - [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
    - [Commits](theskumar/python-dotenv@v1.0.0...v1.0.1)

    ---
    updated-dependencies:
    - dependency-name: python-dotenv
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 7b5a16e
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 22 15:44:50 2024 -0500

    fix holdings indent

commit d321f9e
Merge: 9a829ca 98e0df1
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 22 12:14:50 2024 -0500

    Merge pull request NelsonDane#139 from NelsonDane/dependabot/docker/playwright-v1.41.1-jammy

    Bump playwright from v1.40.1-jammy to v1.41.1-jammy

commit 98e0df1
Merge: 82d061c 9a829ca
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 22 12:09:11 2024 -0500

    Merge branch 'main' into dependabot/docker/playwright-v1.41.1-jammy

commit 9a829ca
Merge: 8beec56 d299da2
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 22 12:08:52 2024 -0500

    Merge pull request NelsonDane#140 from NelsonDane/dependabot/pip/pandas-2.2.0

    remove pandas

commit d299da2
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 22 12:08:00 2024 -0500

    remove pandas

commit 83b9b16
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 22 10:03:43 2024 +0000

    Bump pandas from 2.1.4 to 2.2.0

    Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.1.4 to 2.2.0.
    - [Release notes](https://github.com/pandas-dev/pandas/releases)
    - [Commits](pandas-dev/pandas@v2.1.4...v2.2.0)

    ---
    updated-dependencies:
    - dependency-name: pandas
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 82d061c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jan 22 09:07:46 2024 +0000

    Bump playwright from v1.40.1-jammy to v1.41.1-jammy

    Bumps playwright from v1.40.1-jammy to v1.41.1-jammy.

    ---
    updated-dependencies:
    - dependency-name: playwright
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 8beec56
Author: Nelson Dane <[email protected]>
Date:   Sun Jan 21 22:44:09 2024 -0500

    Faster Login with auto IRA retrieval (NelsonDane#135)

    * faster login

    * Auto stash before merge of "develop-robinhood" and "develop-formatting"

    * add return back

    * remove rh ira hardcoding

    * style: format code with Black and isort

    This commit fixes the style issues introduced in 100d155 according to the output
    from Black and isort.

    Details: NelsonDane#135

    ---------

    Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

commit 7c7c3bc
Author: Nelson Dane <[email protected]>
Date:   Sat Jan 20 22:09:25 2024 -0500

    reorder ignores

commit eb3289a
Merge: 7fedaa2 ac8e4c2
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 18 11:47:47 2024 -0500

    Merge pull request NelsonDane#134 from NelsonDane/develop-formatting

    Schwab v1 fallback

commit ac8e4c2
Merge: 1d03339 a774432
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 18 11:45:53 2024 -0500

    Merge pull request NelsonDane#133 from NelsonDane/develop-schwab

    Fallback to Schwab v1 if v2 fails

commit a774432
Merge: f3fca43 1d03339
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 18 11:44:52 2024 -0500

    Merge branch 'develop-formatting' into develop-schwab

commit f3fca43
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 15 14:36:22 2024 -0500

    add thinkorswim instructions

commit 4a1346e
Author: Nelson Dane <[email protected]>
Date:   Mon Jan 15 14:27:08 2024 -0500

    fallback to v1 on schwab orders

commit 1d03339
Merge: f6e1bad 7fedaa2
Author: Nelson Dane <[email protected]>
Date:   Sat Jan 13 14:52:26 2024 -0500

    Merge branch 'main' into develop-formatting

commit 7fedaa2
Author: Nelson Dane <[email protected]>
Date:   Sat Jan 13 14:51:49 2024 -0500

    fix watchtower docker updates

commit c7c4392
Merge: c6e8f62 4b9742b
Author: Nelson Dane <[email protected]>
Date:   Sat Jan 13 12:36:28 2024 -0500

    Merge pull request NelsonDane#129 from NelsonDane/dependabot/docker/playwright-v1.40.1-jammy

    Bump playwright from v1.32.0-jammy to v1.40.1-jammy

commit f6e1bad
Merge: 4fe63cc c6e8f62
Author: Nelson Dane <[email protected]>
Date:   Fri Jan 12 09:01:39 2024 -0500

    Merge remote-tracking branch 'origin/main' into develop-formatting

commit 4b9742b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jan 11 21:41:22 2024 +0000

    Bump playwright from v1.32.0-jammy to v1.40.1-jammy

    Bumps playwright from v1.32.0-jammy to v1.40.1-jammy.

    ---
    updated-dependencies:
    - dependency-name: playwright
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit c6e8f62
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 11 16:34:00 2024 -0500

    Add Firstrade Support (NelsonDane#120)

    * add firsttrade

    * finish firstrade

    * add firstrade to dockerfile

    * remove duplicate import

    * fix order

    * fix incorrect comment

    * correct object def

    * add vars to readme

    * ignore pickle files

    * small formatting fix

    * add traceback

    * change ft api version

    * fix firstrade buy only

    * change ft_api version

    * fix firstrade api to use acount dict

    * update ft_api version

    * change ft_api version

    * remove redundant variable

    * code cleanup

    * Deepsource style fix

    * add new print to ft

    * update readme

    * style: format code with Black and isort

    This commit fixes the style issues introduced in c57833a according to the output
    from Black and isort.

    Details: None

    * update mask string

    * style: format code with Black and isort

    This commit fixes the style issues introduced in 7b0fb19 according to the output
    from Black and isort.

    Details: None

    ---------

    Co-authored-by: Donald Ryan Gullett <[email protected]>
    Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

commit 63514d0
Merge: 3827e5e 187cbdd
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 11 10:22:52 2024 -0500

    Merge branch 'main' into develop

commit 187cbdd
Merge: 6025b0c 1e3512c
Author: Nelson Dane <[email protected]>
Date:   Thu Jan 11 10:21:49 2024 -0500

    Merge pull request NelsonDane#131 from NelsonDane/dependabot/pip/gitpython-3.1.41

    Bump gitpython from 3.1.40 to 3.1.41

commit 1e3512c
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Jan 11 09:20:12 2024 +0000

    Bump gitpython from 3.1.40 to 3.1.41

    Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.40 to 3.1.41.
    - [Release notes](https://github.com/gitpython-developers/GitPython/releases)
    - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
    - [Commits](gitpython-developers/GitPython@3.1.40...3.1.41)

    ---
    updated-dependencies:
    - dependency-name: gitpython
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

commit 3827e5e
Merge: 1e98f45 6025b0c
Author: Nelson Dane <[email protected]>
Date:   Wed Jan 10 14:16:58 2024 -0500

    Merge branch 'main' into develop

commit 6025b0c
Merge: c7dfc94 ad2f6e9
Author: Nelson Dane <[email protected]>
Date:   Wed Jan 10 13:15:32 2024 -0600

    Merge pull request NelsonDane#130 from NelsonDane/dependabot/pip/schwab-api-0.3.9

    Bump schwab-api from 0.3.8 to 0.3.9

commit ad2f6e9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jan 9 09:22:16 2024 +0000

    Bump schwab-api from 0.3.8 to 0.3.9

    Bumps [schwab-api](https://github.com/itsjafer/schwab-api) from 0.3.8 to 0.3.9.
    - [Commits](https://github.com/itsjafer/schwab-api/commits)

    ---
    updated-dependencies:
    - dependency-name: schwab-api
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
maxxrk authored and MaxxRK committed Aug 15, 2024
1 parent 9dd8d32 commit 7c8d049
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion fidelityAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def fidelity_init(FIDELITY_EXTERNAL=None, DOCKER=False):
return fidelity_obj


def fidelity_account_info(driver: webdriver) -> dict or None:
def fidelity_account_info(driver: webdriver) -> dict | None:
try:
# Get account holdings
driver.get("https://digital.fidelity.com/ftgw/digital/portfolio/positions")
Expand Down
22 changes: 11 additions & 11 deletions helperAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ def __init__(self):
self.__holdings: bool = False # Get holdings from enabled brokerages
self.__logged_in: dict = {} # Dict of logged in brokerage objects

def set_action(self, action: str) -> None or ValueError:
def set_action(self, action: str) -> None | ValueError:
if action.lower() not in ["buy", "sell"]:
raise ValueError("Action must be buy or sell")
self.__action = action.lower()

def set_amount(self, amount: float) -> None or ValueError:
def set_amount(self, amount: float) -> None | ValueError:
# Only allow floats
try:
amount = float(amount)
except ValueError:
raise ValueError(f"Amount ({amount}) must be a number")
self.__amount = amount

def set_stock(self, stock: str) -> None or ValueError:
def set_stock(self, stock: str) -> None | ValueError:
# Only allow strings for now
if not isinstance(stock, str):
raise ValueError("Stock must be a string")
Expand All @@ -66,7 +66,7 @@ def set_time(self, time):
raise ValueError("Time must be day or gtc")
self.__time = time.lower()

def set_price(self, price: str or float) -> None or ValueError:
def set_price(self, price: str | float) -> None | ValueError:
# Only "market" or float
if not isinstance(price, (str, float)):
raise ValueError("Price must be a string or float")
Expand All @@ -76,7 +76,7 @@ def set_price(self, price: str or float) -> None or ValueError:
price = price.lower()
self.__price = price

def set_brokers(self, brokers: list) -> None or ValueError:
def set_brokers(self, brokers: list) -> None | ValueError:
# Only allow strings or lists
if not isinstance(brokers, (str, list)):
raise ValueError("Brokers must be a string or list")
Expand All @@ -86,7 +86,7 @@ def set_brokers(self, brokers: list) -> None or ValueError:
else:
self.__brokers.append(brokers.lower())

def set_notbrokers(self, notbrokers: list) -> None or ValueError:
def set_notbrokers(self, notbrokers: list) -> None | ValueError:
# Only allow strings or lists
if not isinstance(notbrokers, str):
raise ValueError("Not Brokers must be a string")
Expand All @@ -96,13 +96,13 @@ def set_notbrokers(self, notbrokers: list) -> None or ValueError:
else:
self.__notbrokers.append(notbrokers.lower())

def set_dry(self, dry: bool) -> None or ValueError:
def set_dry(self, dry: bool) -> None | ValueError:
# Only allow bools
if not isinstance(dry, bool):
raise ValueError("Dry must be a boolean")
self.__dry = dry

def set_holdings(self, holdings: bool) -> None or ValueError:
def set_holdings(self, holdings: bool) -> None | ValueError:
# Only allow bools
if not isinstance(holdings, bool):
raise ValueError("Holdings must be a boolean")
Expand All @@ -123,7 +123,7 @@ def get_stocks(self) -> list:
def get_time(self) -> str:
return self.__time

def get_price(self) -> str or float:
def get_price(self) -> str | float:
return self.__price

def get_brokers(self) -> list:
Expand Down Expand Up @@ -153,7 +153,7 @@ def alphabetize(self):
self.__brokers.sort()
self.__notbrokers.sort()

def order_validate(self, preLogin=False) -> None or ValueError:
def order_validate(self, preLogin=False) -> None | ValueError:
# Check for required fields (doesn't apply to holdings)
if not self.__holdings:
if self.__action is None:
Expand Down Expand Up @@ -259,7 +259,7 @@ def set_account_type(self, parent_name: str, account_name: str, account_type: st
def get_name(self) -> str:
return self.__name

def get_account_numbers(self, parent_name: str = None) -> list or dict:
def get_account_numbers(self, parent_name: str = None) -> list | dict:
if parent_name is None:
return self.__account_numbers
return self.__account_numbers.get(parent_name, [])
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requests==2.31.0
-e git+https://github.com/NelsonDane/robin_stocks.git@f490a2eb0d5fc53afc93e077b3ea2a555124e105#egg=robin-stocks
schwab-api==0.3.11
selenium==4.18.1
setuptools==69.1.0
tastytrade==6.7
setuptools==69.1.1
tastytrade==7.0
-e git+https://github.com/NelsonDane/webull.git@824442ea6a97f76d5a44cf4ea05aa2a0864ee4bc#egg=webull
webdriver-manager==4.0.1

0 comments on commit 7c8d049

Please sign in to comment.