Thetagang

Latest version: v1.12.2

Safety actively analyzes 638418 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 12

0.1.14

* Bump version.

* Update README.md

* Allow delta to be specified per right or symbol.

You can now set `target.puts/calls.delta` or `symbol.S.delta` to alter
delta on a per-symbol or contract type basis.


* Also allow separate delta per-symbol.

* When writing calls, strike should be >= avgCost.

* Use python3 -m pip command.

* Simply default config value handling.

Also fixed default value for min_pnl.


* Clarify percent vs ratio.

* Handle case of empty list.

0.1.13

* Bump version to 0.1.13.

* Update readme.

* Change default ibc logfile path.

* Add `maximum_new_contracts` config parameter.

When operating in some accounts, you may encounter situations where
many options are written for the same strikes/symbols/expiries. This
might have the undesirable effect of creating too much exposure at a
particular price/expiry.

One simple solution is to allow an option to simply cap the number of
new contracts written at any given time. With this, ThetaGang should
normally spread the contracts out provided you are running ThetaGang at
regular intervals (i.e., daily or weekly).

Additionally, I tidied up/changed formatting of the toml files.


* Fix slightly confusing config log statement.

* Remove -t from docker commands.

* Refactor Docker build, support multi-arch.

This should resolve 172.


* Fix buildx setup.

* Use util.isNan() here.

* Drop armv7 due to openjdk issues.

* Rearrange docker build steps for caching.

* Fix build cache handling.

* Update config java path to work with Docker by default.

* Remove extraneous text.

* Add missing qemu step for buildx.

* Can't use --load w/ buildx and multi-arch.

* Switch base image version.

* Add back armv7.

* Add dev libraries back for docker build.

* Raise exception on timeout waiting for data.

* Filter out tickers that are missing prices.

* Refactor dockerfile.

* Refactor dockerfile a little more.

* Allow more time when waiting on data.

* When rolling near expiration, allow one to set a minimum P&L.

* Print DTE for positions.

* Better logger, more config comments.

* Fix buildx cache arg.

* Rearrange dockerfile, add to dockerignore.

* Cache the TWS installer step.

* Update ignore files, rearrange dockerfile slightly.

* Add python 3.7 support, use debian for docker images.

* Remove pandas dep.

* Simplify docker build, make wheel outside docker.

* Install CA certs.

* Add wheel package.

* Cache poetry.

* Fix cache name.

* Add cache ID.

* Fix python version.

* Fix file permissions.

* Cache all of cache dir.

* Update README.md

* Update README.md

* Update README.md.

* Sort positions by DTE before printing.

0.1.12

* Bump version.

* Prefer primaryoverride config.ini setting.

* Remove matrix badge.

* Update README.md

* Update installer hash.

* Update README with more usage instructions.

* Fix README code error.

0.1.11

* Bump version.

* Add sweet meme thanks reddit.

* Wait for market prices after fetching tickers.

Also bump python dependencies.


* Prefer midpoint rather than market price for orders.

* Update TWS hash.

* Use docker build cache from dockerhub.

* Include build cache info in Docker image.

* Show cost rather than avg cost (avg cost * qty).

* Make sure buildkit is enabled.

* Update COPYING

* Update workflow names.

* Update README.md

* Update TWS hash.

* Fix hanging when market data unavailable.

Set a limit when waiting on market data, rather than waiting
indefinitely. We prefer the midpoint price rather than market price, but
fall back to using the market price if midpoint isn't available.


* Use buildx setup action.

* Put buildkit var back in.

0.1.10

* Bump version.

* Change paper account in sample.

* Add a few more notes/details to config and code.

* Run poetry update.

* Allow config of rolling behaviour when ITM.

* Use stable TWS (978), remove version config option.

For the sake of keeping everything simple, I've removed the twsVersion
config param in favour of hard coding the version to the latest stable.

If you have the value in your config, it will be ignored.


* Clarify buying power calculation, remove min().

0.1.9

* Bump version.

* Wait for order status to leave pending state.

* Config: replace `minimum_cushion` with `margin_usage`.

I found the concept of maintaining a minimum cushion to be too hard to
reason about, and it didn't properly reflect margin usage in a way that
made sense to me.

Thus, I've replaced it with `margin_usage`, which allows you to specify
how much margin to use as a factor of the net liquidation value. I find
this to be much better.


* Update thetagang.toml

Page 10 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.