Compare commits

..

35 Commits

Author SHA1 Message Date
Nelson Torres 11f11e077b . Update uv docs in pyproject.toml
. Format fixes
. Add uv docs
2025-01-28 13:15:07 -03:00
Nelson Torres 41b334dfbf Restore missing data at pyproject.toml
Restore keywords and classifiers for the project
2025-01-28 13:15:07 -03:00
Nelson Torres 40c61a88b5 uv migration
Migrate to uv, use msgspec from git due to python 3.13 compatibility
2025-01-28 13:15:07 -03:00
Nelson Torres 34956b7e43 minor refactor
cleaning the code
2025-01-28 13:15:07 -03:00
Nelson Torres cbb2ca619d added aux method for update and check if completed 2025-01-28 13:15:07 -03:00
Nelson Torres 9547a90d93 datetime for humans 2025-01-28 13:15:07 -03:00
Nelson Torres 56f52f887b More configs refactor
Now in the broker config file are the log configs for cryptofeed.
2025-01-28 13:15:07 -03:00
Nelson Torres 92e1238d93 get_config refactor 2025-01-28 13:15:07 -03:00
Nelson Torres a8eb8d90eb major refactor
all the logic now in the max_pain script
2025-01-28 13:15:07 -03:00
Nelson Torres 990b065fa4 fix the input values
for acm related to oi
2025-01-28 13:15:07 -03:00
Nelson Torres 266e37f966 moved function out of api 2025-01-28 13:15:07 -03:00
Nelson Torres 4c8bdb77b9 removed unused variable
minor refactor
expiry date changed to 20DEC24
2025-01-28 13:15:07 -03:00
Nelson Torres efec1f7f08 Update api.py
Now intrinsic values list is initialize in the aio_open_interest_feed_relay instead in the scope above.
2025-01-28 13:15:07 -03:00
Nelson Torres d3a23c9f33 renaming variable
fixed variable name for better understanding.
2025-01-28 13:15:07 -03:00
Nelson Torres 754364bfb2 Update poetry.lock 2025-01-28 13:15:07 -03:00
Nelson Torres f63308ee50 oi max_pain major refactor
Now the max_pain is calculated taking into account all strike prices and all close prices to find the intrinsic value as deribit.
2025-01-28 13:15:07 -03:00
Nelson Torres 2ef5305533 auxiliar methods 2025-01-28 13:15:07 -03:00
Nelson Torres 49a49373d4 some refactor 2025-01-28 13:15:07 -03:00
Nelson Torres 6d8e503fd7 added first calcs for max_pain 2025-01-28 13:15:07 -03:00
Nelson Torres 4f08d591d7 deactivate cryptofeed debug log 2025-01-28 13:15:07 -03:00
Nelson Torres addfeb9c85 Update api.py
Now we get the data for an e specific expiration date if and expiry_date is passed, or for all expiration if expiry_date is None
2025-01-28 13:15:07 -03:00
Nelson Torres 28911afa79 Update api.py
open_interest for each strike price and each expiry date
2025-01-28 13:15:07 -03:00
Nelson Torres 8667dab2f4 Update api.py
get_currencies function
2025-01-28 13:15:07 -03:00
Nelson Torres 3fdffcd39d Update api.py
covers cases when option_type comes as PUT or P, same with calls CALL or C
2025-01-28 13:15:07 -03:00
Nelson Torres c30c48ff5c Update api.py
This function receive a date in this format DDMMMYY and returns timestamps int
2025-01-28 13:15:07 -03:00
Nelson Torres 325748931f max_pain_daemon 2025-01-28 13:15:07 -03:00
Nelson Torres bc1a815066 maybe_open_oi_feed 2025-01-28 13:15:07 -03:00
Nelson Torres 6035565171 open_oi_feed 2025-01-28 13:15:07 -03:00
Nelson Torres b42be0d98e aio_open_interest_feed_relay 2025-01-28 13:15:07 -03:00
Nelson Torres a805c41f0e get_instrumets for cryptofeed.FeedHandler 2025-01-28 13:15:07 -03:00
Nelson Torres faa64f1fab minor get_config fix 2025-01-28 13:15:07 -03:00
Nelson Torres 06caeb6dc7 OpenInterest imports for cryptofeed 2025-01-28 13:15:07 -03:00
Nelson Torres 5e0085d7c5 clean up 2025-01-28 13:00:32 -03:00
Nelson Torres 33cc0a5bc4 add qtbase to ld library path 2025-01-28 13:00:32 -03:00
Nelson Torres 41e9b016b9 necessary libraries for qt6 2025-01-28 13:00:32 -03:00

Diff Content Not Available