All Projects → herbsun → Okklineswift

herbsun / Okklineswift

Licence: mit
Draw the K-Line by Swift, support iOS & macOS

Programming Languages

swift
15916 projects
swift3
66 projects

Projects that are alternatives of or similar to Okklineswift

QT StockFigure
QT显示股票分时线
Stars: ✭ 16 (-96.06%)
Mutual labels:  stock, kline
Hycharts
柱状图、折/曲线图、K线图(主图、交易量图、辅助图), 图与图可以自由组合, 支持分页加载数据 -----> 低内存、低耗电、滑动缩放顺滑
Stars: ✭ 394 (-2.96%)
Mutual labels:  stock, kline
Klinechart
📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)
Stars: ✭ 303 (-25.37%)
Mutual labels:  stock, kline
Hqchart
HQChart - H5, 微信小程序 沪深/港股/数字货币/期货/美股 K线图(kline),走势图,缩放,拖拽,十字光标,画图工具,截图,筹码图. 分析家语法,通达信语法,(麦语法),第3方数据替换接口
Stars: ✭ 1,126 (+177.34%)
Mutual labels:  stock, kline
OKKLineMin
OKKLineMin kline for min for learning for iPhone (support Swift5 & the latest Swift & iPhone & iOS 16)(min K线图 用于学习了解)
Stars: ✭ 23 (-94.33%)
Mutual labels:  stock, kline
Yykline
iOS YYKline:Kline、Chart、Volume、Scroll、Scale、MACD、KDJ、K线图、分时图...
Stars: ✭ 2,318 (+470.94%)
Mutual labels:  stock, kline
Kschart
k线图/kline/kchart,已经集成MA/EMA/MACD/KDJ/BOLL/RSI/WR/AVG等指标,新增指标及其方便。适用于股票/区块链交易所等种类App。Swift5编写,CPU/内存占用率极低,60FPS稳定运行。示例集成websocket,并接入币安数据(需VPN)。
Stars: ✭ 909 (+123.89%)
Mutual labels:  stock, kline
StockView
股票相关控件(分时图、五日分时图、自选股迷你分时图、资金趋势图、盈亏额/盈亏率)- (曲线图、折线图)
Stars: ✭ 87 (-78.57%)
Mutual labels:  stock, kline
StockChart
StockChart是一款适用于Android的高扩展性、高性能股票图开发库,轻松完成各种子图的组合,还能灵活的定制自己的子图满足复杂的业务需求。
Stars: ✭ 62 (-84.73%)
Mutual labels:  stock, kline
trader
交易模块
Stars: ✭ 20 (-95.07%)
Mutual labels:  stock
googlefinance-client-python
googlefinance.client is a python client library for google finance api.
Stars: ✭ 88 (-78.33%)
Mutual labels:  stock
Stock WeChat
微信股价预警提示【由于微信封禁第三方 API,本项目不再维护】
Stars: ✭ 65 (-83.99%)
Mutual labels:  stock
trading sim
📈📆 Backtest trading strategies concurrently using historical chart data from various financial exchanges.
Stars: ✭ 21 (-94.83%)
Mutual labels:  stock
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+775.12%)
Mutual labels:  stock
Daily Stock Forecast
Daily Stock Forecasts using Machine Learning & Python
Stars: ✭ 341 (-16.01%)
Mutual labels:  stock
larapos
Laravel Point of sale with invoice full source code free download pos apps.
Stars: ✭ 38 (-90.64%)
Mutual labels:  stock
algorithmic-market-prediction
Implementation of Algorthmic Prediction of Candle Patterns
Stars: ✭ 21 (-94.83%)
Mutual labels:  stock
Resetter
The easiest way to reset your debian or ubuntu based linux back to stock
Stars: ✭ 333 (-17.98%)
Mutual labels:  stock
Deeptrade
A LSTM model using Risk Estimation loss function for stock trades in market
Stars: ✭ 256 (-36.95%)
Mutual labels:  stock
Pysnowball
雪球股票数据接口 python edition
Stars: ✭ 256 (-36.95%)
Mutual labels:  stock

OKKLineSwift

中文介绍

😄 OKKLineSwift is written in Swift3 to draw the stock K-line library

Screenshot

iOS Screenshot [Support drag gestures, long press gestures (see details), knead gestures (zoom in)]

OKKLineSwift

macOS Screenshot [Support drag events, crosshairs follow, mouse scrolling events (zoom in)]

OKKLineSwift

Support

Swift 3.0

iOS 8+

macOS 10.10+

Installation

Manually

  1. Download the full file.
  2. Drag the OKKLineSwift folder to your project.

Source directory

Directory Description
Configuration OKConfiguration.swift - This is a global control class that controls the global theme (e.g. color, font size, etc.)
Views OKKLineView - This class is the parent view of all views
OKKLineDrawView.swift - This class is a parent view of all K-line views that handle gestures and data sources
OKValueView.swift - Responsible for drawing prices
1、MainView:
OKKLineMainView.swift - Responsible for drawing the main graph
2、VolumeView:
OKKLineVolumeView.swift - Responsible for drawing the volume view
3、AccessoryView:
OKKLineAccessoryView.swift - Responsible for drawing the index view
4、SegmentView:
OKSegmentView.swift - Responsible for displaying timeline or indicator type
Models Data model directory, mainly K-line data and a variety of indicators model
Tools Tool class directory,for example:
OKLineBrush.swift - Responsible for drawing lines
OKMALineBrush.swift - Responsible for drawing the average class

TODO

  • [x] Support macOS system
  • [ ] Support for more metric types

Licenses

All the OK at the beginning of the project source code to comply with MIT license. Copyright (c) 2016 Herb. All rights reserved.

Contributions

Welcome to contribute to your ideas and code! You can pull requests and issues here! 👏

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].