Giter Site home page Giter Site logo

wesyoung / tasty_anaylzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from agiletrossdev/tasty_anaylzer

0.0 2.0 0.0 32 KB

CLI and library to ingest and process a trade history CSV file from TastyWorks.

Shell 0.68% Python 84.29% HTML 9.81% CSS 5.22%

tasty_anaylzer's Introduction

Tasty Analyzer

Library for ingesting a CSV file containing your trade history and displaying it's content and performing simple analysis on your trades. The CSV can be obtained from your TastyWorks account.

*** Still under development ***

Environment

Requires Python 3.

Execution

Direct execution of the CLI menu: python tasty_analyzer/menu.py

From the menu you can load a CSV file into memory and display it's contents.

TastyWorks CSV

A transaction in the TastyWorks CSV contains the following fields. There are few special cases that do not strictly adhere to this pattern.

  • Date: 12017-12-26T13:15:04-0500
  • Type: Trade
  • Action: SELL_TO_CLOSE
  • Symbol: AMZN 180119C01280000
  • Instrument Type: Equity Option
  • Description: Sold 1 AMZN 01/19/18 Call 1280.00 @ 1.27
  • Value: 127.00
  • Quantity: 1.0
  • Average Price: 127.00
  • Commissions: 0.00 <---- No commission on close!
  • Fees: -0.15
  • Multiplier: 100
  • Underlying Symbol: AMZN
  • Expiration Date: 1/19/18
  • Strike Price: 1280.0
  • Call or Put: CALL

Example: 2017-12-26T13:15:04-0500,Trade,SELL_TO_CLOSE,AMZN 180119C01280000,Equity Option,Sold 1 AMZN 01/19/18 Call 1280.00 @ 1.27,127.00,1.0,127.00,0.00,-0.15,100,AMZN,1/19/18,1280.0,CALL `

tasty_anaylzer's People

Contributors

agiletrossdev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.