package com.yami.trading.huobi.hobi.constant;
|
|
public class TraderMadeOptions {
|
|
/**
|
* api_key
|
*/
|
public final static String apiKey = "5KCqpMNtUbb0V5x3kgZl";
|
|
/**
|
* Timeseries
|
*/
|
public final static String timeseries = "https://marketdata.tradermade.com/api/v1/timeseries";
|
|
/**
|
* live
|
*/
|
public final static String live = "https://onjdo.com/stock/api/live/getLiveRatesFromTraderMade";
|
public final static String kline = "https://onjdo.com/stock/api/live/getKLine";
|
|
/**
|
* 周和月数据时长跨度 5年
|
*/
|
public final static int weekAndMonthPeriod = 5;
|
|
/**
|
* 4小时数据时长跨度 3个月
|
*/
|
public final static int fourHourlyPeriod = 3;
|
|
/**
|
* 15分钟数据时长跨度 5天
|
*/
|
public final static int fifteenMinutePeriod = 3;
|
|
/**
|
* 30分钟数据时长跨度 10天
|
*/
|
public final static int thirtyMinutePeriod = 5;
|
|
|
/**
|
* 网站地址:https://openexchangerates.org/account/usage
|
*/
|
public final static String openExchangeRatesRates = "https://openexchangerates.org/api/latest.json?app_id=3d766beecc97471c9451c04fcabc784b";
|
|
}
|