Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

A .NET library used to perform semantic web-driving of the Fidelity website.

License

Notifications You must be signed in to change notification settings

SonnevilleJ/FidelityWebDriver

Repository files navigation

Project Overview

FidelityWebDriver is a wrapper around the Selenium WebDriver, used to perform semantic driving of the Fidelity website.

Current build status

MSBuild: Build Status Mono: Build Status

Demo app

The demo app depends on Docker, so be sure you have Docker installed!

The demo app will use the specified credentials to log into the www.Fidelity.com website. Once logged in, it will print to the console some basic account info as well as the most recent transactions.

Launching the demo

  1. Start a Selenium docker container with the following command: docker run -d -p 4444:4444 selenium/standalone-chrome
  2. Complie the solution and run Sonneville.FidelityWebDriver.Demo.exe with any of the below parameters:
  -u, --username=VALUE       the username to use when logging into Fidelity.
  -p, --password=VALUE       the password to use when logging into Fidelity.
  -s, --save                 indicates options should be persisted to demo.ini file.
  -h, --help                 shows this message and exits.

If the --save argument is given, settings are stored to demo.ini allowing future demo executions to omit the -u and -p parameters.

These managers work for you!

To use FidelityWebDriver, identify the IManager implementation which provides the functionality you'd like to consume. Instantiate the manager and required classes using your choice of IWebDriver implementation. An IOC library like Ninject is recommended. The Demo app module can be used to automatically bind all required classes.

Available managers Description
Login Manager manages login state for the www.Fidelity.com website
Positions Manager parses current positions
Transactions Manager parses previous transactions

Troubleshooting

FidelityWebDriver should always be functional if built from the master branch. Logging is achieved via Apache log4net. Log files for the demo app can be retrieved from the following location:

Platform Location
Windows %LocalAppData%\John Sonneville\FidelityWebDriver.Demo
Mac/Linux ~/.local/share/John\ Sonneville/FidelityWebDriver.Demo

Please create an issue with any bugs!

About

A .NET library used to perform semantic web-driving of the Fidelity website.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages