Skip to content

A Demo Financial Application leveraging the power of Go, ClickHouse and Apache Echart

License

Notifications You must be signed in to change notification settings

jdevhari/GoClickHouseApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoClickHouseApp

Table of Contents

Scope

  • Setup a Clickhouse repository. Populate NIFTY tickdata for a trading day.
  • Develop backend Apis using GoLang & GoFiber
  • Render NIFTY Tick Data as Candlesticks at 5min, 15min or 1 Hour interval fetching data from Clickhouse Datastore and massaging data in GoLang Api

Technology Stack

Quick Start & Demo

  • Ensure you have Go Installed
  • Goto the folder cmd and execute the command go run main.go
  • Configure a Data Source of your choice at pkg/config/serverconfig.go
    • (Default) Mock Data from pkg/repository/mock/mockquery.go
    • Run a local docker image. Refer to Repository Setup
    • Point to existing Click house instance
  • Access the application at http://localhost:3000

Full Development setup

Screenshots

Note

The NIFTY tickdata data has been generated randomly. Dont be alarmed by the Volatality 😊

1 Min Timeframe

1 Min TimeFrame.

5 Min Timeframe

5 Min TimeFrame.

15 Min Timeframe

15 Min TimeFrame.

1 Hr Timeframe

1 Hr TimeFrame.

Next Steps

  • Deploy to AWS

References

About

A Demo Financial Application leveraging the power of Go, ClickHouse and Apache Echart

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published