Code Monkey home page Code Monkey logo

mi-platica's Introduction

App 🤑 Mi Platica

Swift Platform

Screenshot Demo
Screenshot Demo gif

Simple app which uses great Fintual API: https://fintual.cl/api-docs.

App show Portfolio with mutual funds.

Right now portfolio data is hardcoded. See PortfolioStorage.swift:25

func load() -> Portfolio? {
    
    let portfolio = Portfolio()
    portfolio.assetShares = [
        AssetShares(realAssetId: "186", shares: 51.8675),
        AssetShares(realAssetId: "187", shares: 493.9358),
        AssetShares(realAssetId: "2072", shares: 1655.6884),
        AssetShares(realAssetId: "282", shares: 205.4709),
        AssetShares(realAssetId: "3285", shares: 418.8769),
    ]
    
    return portfolio
}

2072, 282 and 3285 are real assets:

Example JSON responses

{
    "data": {
        "id": "2073",
        "type": "real_asset",
        "attributes": {
            "name": "FONDO MUTUO INVERSIÓN BRASIL",
            "symbol": "FFMM-BANCHILE-8533-B",
            "serie": "B",
            "last_day": {
                "date": "2018-12-17",
                "price": 1856.8507,
                "fixed_fee": 0.000054798235771433,
                "variable_fee": 0
            }
        }
    }
}

mi-platica's People

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.