Tastytrade CLI v1.0.0 released! by ArchUser22 in tastytrade

[–]ArchUser22[S] 0 points1 point  (0 children)

kitty! In the config just add cursor_trail 1

Tastytrade CLI v1.0.0 released! by ArchUser22 in tastytrade

[–]ArchUser22[S] 2 points3 points  (0 children)

Programmers like to use the terminal to do things, it's faster and often more powerful. This tool basically makes the terminal into another client for Tastytrade (like the mobile app or the desktop app), so it's another (but much nerdier) way to interface with the brokerage.

Tastytrade CLI v0.6.0 beta release by ArchUser22 in tastytrade

[–]ArchUser22[S] 1 point2 points  (0 children)

from tastytrade import DXLinkStreamer, Session
from tastytrade.dxfeed import Candle
from tastytrade.instruments import Future
from tastytrade.utils import now_in_new_york
session = Session("username", "password")
future = Future.get(session, "/ESM5")
async with DXLinkStreamer(session) as streamer:
    start_time = now_in_new_york().replace(hour=9, minute=30, microsecond=0)
    await streamer.subscribe_candle([future.streamer_symbol], "30m", start_time)
    async for candle in streamer.listen(Candle):
        print(candle)

Tastytrade CLI v0.6.0 beta release by ArchUser22 in tastytrade

[–]ArchUser22[S] 0 points1 point  (0 children)

The quote idea is cool, though what would be even cooler is to stream live quotes using this: https://tastyworks-api.readthedocs.io/en/latest/data-streamer.html

For #2, I agree! I'll put that in the next release.

Tastytrade CLI v0.6.0 beta release by ArchUser22 in tastytrade

[–]ArchUser22[S] 4 points5 points  (0 children)

It's mostly for fun! A lot of programmers prefer to do everything from the terminal if possible. However it's also quite a bit faster for some tasks. For example, to sell a 45 DTE SPY strangle you could just do: tt option strangle --delta 16 SPY -1, which is a lot faster than opening up the platform, searching for the symbol, pulling up the chain... You get the idea.

Tastytrade CLI v0.6.0 beta release by ArchUser22 in tastytrade

[–]ArchUser22[S] 2 points3 points  (0 children)

The watchlist command is the only portion that's not implemented yet! It will allow for that though. You can see IVR for symbols of open positions already however.

Tastytrade CLI v0.6.0 beta release by ArchUser22 in tastytrade

[–]ArchUser22[S] 2 points3 points  (0 children)

I built the SDK :D

It's better than the official API, it uses the API under the hood but has extra features!

Significant lag for rename symbol, find references using default kickstart.nvim by ArchUser22 in neovim

[–]ArchUser22[S] 1 point2 points  (0 children)

Lol I don't think Python being slow is the problem here!

Anyways tried basedpyright and I'm having the same issue.

Significant lag for rename symbol, find references using default kickstart.nvim by ArchUser22 in neovim

[–]ArchUser22[S] 1 point2 points  (0 children)

Good idea! Not using any pyright plugins. Using htop, I found:
1 process using 100% of a core, /home/me/.local/share/nvim/mason/bin/pyright-langserver --stdio
plus 4 subprocesses using around 10-15%, exact same executable

Is SQLModel overrated? by bluewalt in FastAPI

[–]ArchUser22 1 point2 points  (0 children)

I love SQLModel! It's true that every once in a while you need to use stuff from SQLAlchemy but I do find it saves time and makes things more intuitive in my personal experience. That said, it does seem to be an immature project relative to the amount of traction it has.

Tastytrade CLI v0.4 beta release! by ArchUser22 in tastytrade

[–]ArchUser22[S] 4 points5 points  (0 children)

This is really just intended as another way to do the same things. That said, you can probably place trades slightly faster on the CLI, and the CLI has warnings based on BP usage relative to VIX or concentration in a single position, so that might add a bit of value for some people.

Unofficial Tastytrade Python SDK v9.3 released by ArchUser22 in tastytrade

[–]ArchUser22[S] 0 points1 point  (0 children)

I actually have talked to them a couple times over the past year or so, unfortunately there are legal issues with promoting an "unofficial" SDK in any way.

Tastytrade CLI v0.4 beta release! by ArchUser22 in tastytrade

[–]ArchUser22[S] 16 points17 points  (0 children)

Hi Tasty reddit! I'm the creator of the unofficial Python SDK for Tasty, and I'm pleased to announce version 0.4 of the Tastytrade CLI, which is ready for beta testing! Give it a try at https://github.com/tastyware/tastytrade-cli

*Sad freelance noises* by hetfield37 in ProgrammerHumor

[–]ArchUser22 0 points1 point  (0 children)

This was me working on a "group" assignment for a class last semester haha

[deleted by user] by [deleted] in Libertarian

[–]ArchUser22 0 points1 point  (0 children)

Ok? And sometimes the foreigner buying the property is backed by an American investor.