Coder Social home page Coder Social logo

dragthor / tastybot Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 6.0 73 KB

Tastyworks Automated Bot w/Unofficial API - macOS, Linux, and Windows.

License: Apache License 2.0

C# 100.00%
automated-trading-bot equity-trading futures-trading options-trading automated-options-trading-bot tastytrade

tastybot's Issues

Separate the logging concern

Currently we are writing output to the console. Let's separate this concern so that we would write to anything (file system, event log, redis, SQL, etc.)

Call spread Example

Implement a credit call spread example to go along with the put spread example.

Terminate function should make Api call

I believe there is an Api call that needs to be made in order clear the session. This should help prevent the auth delay that seems to happen when there are too many open Tasty sessions.

/market-metrics does not seem to be working

  • The response coming back has dates of year 0001 and all the fields are null
  • When I look at the same response in the browser it has all the fields filled in
  • I'm also able to replay the requests from the browser using curl and get the correct response
  • However, the request from the .net app for just this one route seems to have no response data for a symbol like SPY (or for /MNG after adding url encoding to the parameter)
  • I took the authorization code from this app and substituted it into the curl request and got the correct response back, so it's nothing to do with the authorization header

Any ideas?

I've cleaned up a few of the headers to match what the browser is sending and I've captured the request that works with curl and the one that fails from the app (by changing them to send to http://localhost:3000 and capturing with Wireshark) and the messages are nearly identical.

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.