GithubHelp home page GithubHelp logo

max-alletsee / limit_order_optimizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from streamlit/streamlit-example

0.0 0.0 0.0 33 KB

A simple Streamlit app to find reasonable discounts and premiums for limit orders of stocks and ETFs

Python 100.00%
finance streamlit streamlit-webapp trading

limit_order_optimizer's Introduction

Limit Order Optimizer ๐Ÿ’ฐ

This repository contains the code for a small app that helps to design limit orders for stocks and ETFs. ๐Ÿ’ธ

Streamlit App

The app uses historical data of the fund to calculate the probability of executing a buy order with a certain discount or a sell order with a certain premium vs. today's price within a given number of days. (For instance, what is the probability of buying with a discount of -2% vs. today's price within the next 30 days?) The results are also visualized for different levels of discounts.

Users can easily upload historical data from Yahoo Finance for the stock or ETF they are interested in. If nothing is uploaded, the app shows the results for the UBS MSCI World SRI ETF (ISIN LU0629459743) between June 2018 and June 2023 as a default (data from Yahoo Finance here)

The app is built with Python ๐Ÿ , pandas and streamlit (see also the streamlit documentation).

This is information - not financial advice or any recommendation. The content and material is for information and educational purposes only. It does not constitute financial advice or recommendation and should not be considered as such. I am not a financial advisor and not authorized to offer financial advice. Always do your own research and seek independent financial advice when required. The value of investments and any income derived from them can fall as well as rise and you may not get back the original amount you invested.

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.