Git Product home page Git Product logo

trading-platform's People

Watchers

 avatar

Forkers

regholl2023

trading-platform's Issues

Select expiration date to display all contracts

When viewing the expiration table, I want the ability to click on the option date to display all options expiring on that date, along with their basic info.

  • table pops up below when date is clicked.
  • default to earliest expiration date.
  • confirm the secondary table does not interfere with other table when using navigation menu.

Update README.md

Update README.md to include:

  • AWS SAM used to deploy State Machine
  • Dockerized lambdas
  • Troubleshooting

Error when processing option data for expiration table

Error from AWS Lambda:

[ERROR] TypeError: exceptions must derive from BaseException Traceback (most recent call last): File "/var/task/app.py", line 86, in lambda_handler expiration_date_summary = get_expiration_date_summary(option_position_df) File "/var/task/tools/ameritrade_helper.py", line 307, in get_expiration_date_summary df['expiration_date'] = df['instrument_description'].apply(get_date_from_contract_details) File "/var/lang/lib/python3.8/site-packages/pandas/core/series.py", line 4630, in apply return SeriesApply(self, func, convert_dtype, args, kwargs).apply() File "/var/lang/lib/python3.8/site-packages/pandas/core/apply.py", line 1025, in apply return self.apply_standard() File "/var/lang/lib/python3.8/site-packages/pandas/core/apply.py", line 1076, in apply_standard mapped = lib.map_infer( File "pandas/_libs/lib.pyx", line 2834, in pandas._libs.lib.map_infer File "/var/task/tools/ameritrade_helper.py", line 301, in get_date_from_contract_details raise "No date found in the string."

Update daily synopsis

  • Instruct to find websites
  • Try again with a different URL if browser fails
  • Uncomment the code for gpt_daily_synopsis
  • update cronjob to be 15 minutes before the market opens

Add LLM with search tool

  • Use OPENAI_MULTI_FUNCTIONS agent
  • Add tools for Playwright
  • Separate agent into its own Lambda
  • Build dockerfile image from Playwright python image
  • update SAM template.yaml

Need S&P 500 sector correlation heat map in report

  • Get market cap change (specify time period) for all S&P 500 components
  • Group by sector and find correlations
  • Plot heat map
  • Determine overall change of market cap for S&P 500 over same time period and display for reference.

API key cannot be passed in Telegram webhook header

Cannot set api key in header when specifying webhook for Telegram bot:

curl -X POST -H "x-api-key: api_key" -F "url=https://<ID>.execute-api.us-east-1.amazonaws.com/Prod/telegram-bot" https://api.telegram.org/botID:KEY/setWebhook

Might be able to use the Telegram secret token for the API key...

Add Step Function to SAM template

It is wasteful to call a lambda within a lambda. Instead, one lambda should be called, and the results passed to the next lambda, when possible.

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.