GithubHelp home page GithubHelp logo

ronik-v / stock_strategy_testing_api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 16 KB

Oversimplistic asynchronous web api for receiving data from the Moscow Exchange.

License: Apache License 2.0

Python 97.70% Dockerfile 2.30%
api data-parsing fastapi investing investing-api investment-strategies web-api moex moex-data

stock_strategy_testing_api's Introduction

Stock strategy testing web api

  • Details

    Oversimplistic asynchronous web api for receiving data from the Moscow Exchange (MOEX)

    Through it you can get data on financial instruments, that is, prices (json): opening, closing, minimum prices, maximum prices.

    You can also get indicators: MACD, SIGNAL, SMA5, SMA12, EMA5, EMA12, VOLATILITY.

  • Using the api

    Request for get ticker data at 2022-05-01 to 2023-09-26:

    from requests import get
    data = get('http://127.0.0.1:9999/api_sst/data/GAZP/2022-05-01/2023-09-26').json()
    print(data)

    Request for strategy testing at 2022-05-01 to 2023-09-26:

    from requests import get
    sst_strategies = get('http://127.0.0.1:9999/api_sst/strategy/GAZP/2022-05-01/2023-09-26').json()
    print(sst_strategies)
  • Libraries to install

    requirements

    You may use command for install all:

    pip install -r requirements.txt
  • Docker

    file is here

stock_strategy_testing_api's People

Contributors

ronik-v avatar

Stargazers

 avatar

Watchers

 avatar

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.