Skip to content

kecci/go-market-stock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-market-stock

List of SDK Market Stock Libraries.

Source Method Data Website
IDX Scraping Web Historical Data https://www.idxchannel.com/market-stock
IQPlus Dial TCP Realtime Data http://www.iqplus.info/produk/data_feed/

IDX

Example Data alt

Usage

package main

import (
	"encoding/json"
	"log"
	"time"

	"github.com/kecci/go-market-stock/idx"
)

func main() {
    stock, _ := idx.GetMarketStockByCode("BBCA")
	stockByte, _ := json.Marshal(stock)
	log.Println(string(stockByte))
}

Run Example

go run ./idx/example/main.go

IQPlus

Docs: https://github.com/kecci/go-market-stock/tree/master/iqplus

About

SDK Market Stock Libraries in Go

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages