Designed for Quantitative Investment and Trading Platforms
API Simple Integration
Includes Real-Time and Historical Data
Latency as Low as 170 Milliseconds
Try the API right now!
Covers All Global Currency Pairs
Historical Data & Real-Time Quotes
US Dollar exchange rate market
Euro exchange rate market
1// Powered by AllTick.co Financial Data APIs.
2package main
3import (
4 "io/ioutil"
5 "log"
6
7 "net/http"
8)
9
10func httpExample() {
11 //Encode the following JSON with URL encoding and copy it to the "query" field in the query string of an HTTP request.
12 //{"trace" : "go_http_test1","data" : {"code" : "700.HK","kline_type" : 1,"kline_timestamp_end" : 0,"query_kline_num" : 2,"adjust_type": 0}}
13 url := "http://quote.aatest.online/quote-stock-b-api/kline?token=e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806&query=%7B%22trace%22%20%3A%20%22go_http_test1%22%2C%22data%22%20%3A%20%7B%22code%22%20%3A%20%225.HK%22%2C%22kline_type%22%20%3A%201%2C%22kline_timestamp_end%22%20%3A%200%2C%22query_kline_num%22%20%3A%202%2C%22adjust_type%22%3A%200%7D%7D"
14 log.Println("request:", url)
15
16 resp, err := http.Get(url)
17 if err != nil {
18 log.Println("req error:", err)
19 return
20
21 }
22 defer resp.Body.Close()
23
24 body, err := ioutil.ReadAll(resp.Body)
25 if err != nil {
26 log.Println("read response error:", err)
27 return
28 }
29 log.Println("response:", string(body))
30}
31
Application Scenarios
Market Data API for Quantitative Trading and Securities Trading Platforms
Why Choose AllTick
Accurate、Fast、 Reliable、Tick by Tick
Reliable Market Data Source
Our system has 99.95% SLA. AllTick tends to raise the standards for quality and uptime to the next level.
Wide Coverage
We support around 100 000 symbols across a different range of assets available from all over the world.
Low-Latency Interface for Real-Time Push
The real-time data stream conducted through WebSocket has ultra-low latency, averaging only about 170 milliseconds.
High-Frequency Data with Tick-by-Tick Updates
Real-time push of every tick, each one traceable and 100% synchronized with the exchange's real-time trading quotes.
Simple Pricing
Instant Access Cancel Anytime
Personal Pricing
Business Pricing
Free
Great for trying our APIs
0 USDT
/Month
10 Product
10 API calls per minute (6 seconds each)
1 Websockets
1 Years Historical K-line
Last Price
End of Day Data
Basic
Great for WebSocket
99 USDT
/Month
100 products available
Supports Forex, Commodities, Stocks, Cryptocurrencies
60 API calls per minute (1 second each)
1 Websockets
1 Years Historical K-line
Last Price
End of Day Data
Real-time K-line
Order Book
Real-time tick-by-tick
Premium
Great for Trades
199 USDT
/Month
200 products available
Supports Forex, Commodities, Stocks, Cryptocurrencies
600 API calls per minute (10 calls per second)
3 Websockets
3 Years Historical K-line
Last Price
End of Day Data
Real-time K-line
Order Book
Real-time tick-by-tick
Professional
Perfect for exchanges
399 USDT
/Month
3000 products available
Supports Forex, Commodities, Stocks, Cryptocurrencies
1200 API calls per minute (20 calls per second)
10 Websockets
5 Years Historical K-line
Last Price
End of Day Data
Real-time K-line
Order Book
Real-time tick-by-tick
All HK Stocks
Access the entire HK stocks market.
399 USDT
/Month
Full Hong Kong Stock Market Data (about 3000 stocks)
1200 API calls per minute (20 calls per second)
10 Websockets
5 Years Historical K-line
Last Price
End of Day Data
Real-time K-line
Order Book
Real-time tick-by-tick
All CN Stocks
Access the entire All CN stocks market.
599 USDT
/Month
Full CN Stock Market Data (about 5000 stocks)
1200 API calls per minute (20 calls per second)
10 Websockets
5 Years Historical K-line
Last Price
End of Day Data
Real-time K-line
Order Book
Real-time tick-by-tick
Contact US
Not sure which plan to choose?
Customer service team is available online:
Mon-Fri 01:00 - 10:00 (UTC+0)
Mon-Fri 09:00 - 18:00 (Singapore Time)