Skip to content

Hashswim/TurningPoint

Repository files navigation

Turning Point

Turning Point is an ios stock advisor app that uses eBest investment securities open API to inform transaction signals and provide stock trading services through AI investment strategies for each stock.

Environment

swift swift xcode xcode

πŸ—’οΈŽ Table of Contents

  1. What can you do
  2. Features
  3. Technical Background
  4. Structrues
  5. Architecture

🎯 What can you do

  • You can check the logo of the stock using the backend stock home page table
  • You can register your shares in the AI model to receive transaction signals through individual prediction models
  • You can check the charts and details of the stocks you have or the training model, and you can buy or sell them
  • You can check the transaction information (date, type, price, etc.) sold through the advisor by stock
Guide Images

πŸ–₯︎ Features

login Main Home Tab Search Stocks
Trading Tab My page Tab Stock Detail View

πŸ›  Technical Background

  • Serverless AI model communication using Amplify rest api
  • Load application restart data by storing preferred items, profile images, access tokens, etc. using core data
  • Stock information and trading communications using eBest open api
  • Modularization reduces code reuse by managing duplicate view type files
  • Use inheritance and protocols to manage stock models and manage dependencies
  • Use modern collection view to configure collection view; efficiently configure data sources and cells; smoother and more efficient configuration
  • Use Lightweight Charts and Charts libraries to display chart data for high visibility

πŸ— Structrues

Project Structure
β”œβ”€β”€ Podfile
β”œβ”€β”€ Podfile.lock
β”œβ”€β”€ Pods
β”‚   β”œβ”€β”€ Alamofire
β”‚   β”œβ”€β”€ Charts
β”‚   β”œβ”€β”€ DropDown
β”‚   β”œβ”€β”€ Headers
β”‚   β”œβ”€β”€ LightweightCharts
β”‚   β”œβ”€β”€ SwiftAlgorithms
β”‚   β”œβ”€β”€ SwiftyJSON
β”‚   └── TinyConstraints
β”‚
β”œβ”€β”€ amplify
β”‚   β”œβ”€β”€ #current-cloud-backend
β”‚   β”‚   β”œβ”€β”€ amplify-meta.json
β”‚   β”‚   β”œβ”€β”€ api
β”‚   β”‚   β”‚   └── apiTP
β”‚   β”‚   β”œβ”€β”€ auth
β”‚   β”‚   β”‚   └── turningpoint
β”‚   β”‚   └── function
β”‚   β”‚       └── turningpointd4c149cb
β”‚   β”‚           └── src
β”‚   β”‚               └── index.py #
β”‚   └── backend
β”‚ 
└── autoTradingApp
    β”œβ”€β”€ CoreData
    β”‚   β”œβ”€β”€ TransactionCoreDataManager.swift
    β”‚   β”œβ”€β”€ UserCoreData.xcdatamodeld
    β”‚   β”‚   └── UserCoreData.xcdatamodel
    β”‚   β”‚       └── contents
    β”‚   └── UserCoreDataManager.swift
    β”‚
    β”œβ”€β”€ Controller
    β”‚   β”œβ”€β”€ Initial
    β”‚   β”‚   └── InitialViewController.swift
    β”‚   β”œβ”€β”€ Login
    β”‚   β”‚   └── LoginViewController.swift
    β”‚   β”œβ”€β”€ MainTabBarController
    β”‚   β”‚   β”œβ”€β”€ MainTabBarControllerViewController.swift
    β”‚   β”‚   └── TabBarItem
    β”‚   β”‚       β”œβ”€β”€ Home
    β”‚   β”‚       β”‚   β”œβ”€β”€ DetailViewController.swift
    β”‚   β”‚       β”‚   β”œβ”€β”€ MainHomeTabController.swift
    β”‚   β”‚       β”‚   β”œβ”€β”€ StockTradingViewController.swift
    β”‚   β”‚       β”‚   └── StrategyTableView.swift
    β”‚   β”‚       β”œβ”€β”€ MyPage
    β”‚   β”‚       β”‚   └── MyPageViewController.swift
    β”‚   β”‚       β”œβ”€β”€ Search
    β”‚   β”‚       β”‚   β”œβ”€β”€ SearchViewController.swift
    β”‚   β”‚       β”‚   └── TradableViewController.swift
    β”‚   β”‚       └── Trading
    β”‚   β”‚           └── TradingViewController.swift
    β”‚   └── SignUp
    β”‚       β”œβ”€β”€ SignUpGuideViewController.swift
    β”‚       β”œβ”€β”€ SignUpIsUserViewController.swift
    β”‚       └── SignUpTOSViewController.swift
    β”‚
    β”œβ”€β”€ Model
    β”‚   β”œβ”€β”€ AlgorithmModel.swift
    β”‚   β”œβ”€β”€ Network
    β”‚   β”‚   β”œβ”€β”€ AmplifyManager.swift
    β”‚   β”‚   β”œβ”€β”€ CellDataModel.swift
    β”‚   β”‚   β”œβ”€β”€ JSONParser.swift
    β”‚   β”‚   β”œβ”€β”€ NetworkManager.swift
    β”‚   β”‚   β”œβ”€β”€ PredictedRawServerResponse.swift
    β”‚   β”‚   └── RequestType.swift
    β”‚   β”œβ”€β”€ Stock.swift
    β”‚   β”œβ”€β”€ TradingTransaction.swift
    β”‚   └── UserInfo.swift
    β”‚ 
    β”‚
    β”œβ”€β”€ View
    β”‚   β”œβ”€β”€ Initial
    β”‚   β”‚   └── GuideCollectionViewCell.swift
    β”‚   β”œβ”€β”€ Login
    β”‚   β”‚   β”œβ”€β”€ CustomTextField.swift
    β”‚   β”‚   β”œβ”€β”€ LoginView.swift
    β”‚   β”‚   └── temp.swift
    β”‚   β”œβ”€β”€ MenuTab
    β”‚   β”‚   β”œβ”€β”€ ChartView2.swift
    β”‚   β”‚   β”œβ”€β”€ MainTabView
    β”‚   β”‚   β”‚   β”œβ”€β”€ AdditionalTradingCellView.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ DropDownView.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ StcokListCellCollectionViewCell.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ StockInfoView.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ StockTradingViewTableCell.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ TradingSegmentedControl.swift
    β”‚   β”‚   β”‚   └── mainTabSegmentedControl.swift
    β”‚   β”‚   β”œβ”€β”€ MyPage
    β”‚   β”‚   β”‚   └── ExpandableTableViewCell.swift
    β”‚   β”‚   β”œβ”€β”€ SearchView
    β”‚   β”‚   β”‚   β”œβ”€β”€ CustomStepper.swift
    β”‚   β”‚   β”‚   β”œβ”€β”€ SearchViewCustomCell.swift
    β”‚   β”‚   β”‚   └── TransactionView.swift
    β”‚   β”‚   └── TradingView
    β”‚   β”‚       β”œβ”€β”€ HeaderCell.swift
    β”‚   β”‚       β”œβ”€β”€ HeaderView.swift
    β”‚   β”‚       β”œβ”€β”€ TradingCell.swift
    β”‚   β”‚       └── TransactionButton.swift
    β”‚   └── SignUp
    β”‚       β”œβ”€β”€ SignUpGuideView.swift
    β”‚       β”œβ”€β”€ SignUpIsUserView.swift
    β”‚       └── SignUpTOSView.swift
    β”‚
    └── Utility
        β”œβ”€β”€ Array+.swift
        β”œβ”€β”€ Font
        β”‚   β”œβ”€β”€ NotoSansFont.swift
        β”‚   β”œβ”€β”€ NotoSansKR-Bold.otf
        β”‚   └── NotoSansKR-Regular.otf
        β”œβ”€β”€ GuideConstant.swift
        β”œβ”€β”€ NSMutableAttributedString.swift
        β”œβ”€β”€ SwiftyJSON+.swift
        β”œβ”€β”€ UIColor+.swift
        └── UIImage+.swift

πŸ—Ί Architecture

Class Diagram
Flow Chart
Sequence Diagram

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages