Quick Start
Key takeaways
- Fubon Futures Market Data Web API provides intraday futures/options data for Taiwan.
- Exceeding limits returns status code
429. - SDK examples are available for Python, Node.js, and C#.
| Item | Details |
|---|---|
| Interface | Web API |
| Market | Taiwan futures / options |
| Data types | Intraday |
| Rate limit | 429 on exceed |
| SDK | Python / Node.js / C# |
Fubon Futures Market Data Web API provides developer-friendly services for Taiwan futures and options.
Rate Limit
If your API requests exceed the limit, you will receive a response with a status code 429 ( For detailed limitations, please refer to Rate Limit )
API Category
Web API are categorized based on data types:
/intraday/products- Futures and Options Contract List(Query by conditions)/intraday/tickers- Futures and Options product list(Query by condition)/intraday/quote/{symbol}- Real-time quotes (query by symbol)/intraday/candles/{symbol}- Contract K Line(Query by symbol)/intraday/trades/{symbol}- Contract trade details (query by symbol)/intraday/volumes/{symbol}- Futures and Options price-volume data(query by symbol)
Using SDK
Fubon Futures Market Data Web API offers Python, Node.js, and C# SDKs. You can access the API through the following methods:
- Python
- Node.js
- C#
from fubon_neo.sdk import FubonSDK, Order
# Since version 2.2.4, add the following import:
# from fubon_neo.fugle_marketdata.rest.base_rest import FugleAPIError
sdk = FubonSDK()
accounts = sdk.login("Your ID", "Your password", "Your cert path", "Your cert password")
sdk.init_realtime()
restfutopt = sdk.marketdata.rest_client.futopt
const { FubonSDK } = require('fubon-neo');
const sdk = new FubonSDK();
const accounts = sdk.login("Your ID", "Your Password", "Your Cert Path", "Your Cert Password");
sdk.initRealtime();
const client = sdk.marketdata.restClient
const futopt = client.futopt;
using FubonNeo.Sdk;
var sdk = new FubonSDK();
var result = sdk.Login("Your ID", "Your password", "Your cert path", "Your cert password");
sdk.InitRealtime();
var rest = sdk.MarketData.RestClient.FutureOption;