v3-bitget-api-sdk's People
Forkers
wxyalive sesang06 katarain cnslm s-you u20024804 zhouzixy minhoo0013 cheng-yi-lin suriro wskylover ahn-jaehyeng jobmugi asmmel kunmosky1 zeniper wesreid supersignaldev heartade dumaprince zono33lhd miladbarzideh thecef02 shlbgt aatezgel atosreis nithronium urantialife gponsu ugurgulmen pestades perform2022 zr-mah lyenliang barryjburns xlaoshu andergit yoleyu jayxei25 azhazizov supr3meryo scholar-zhiwei privategithubhwx itsahedge txjs666 kennethoaguilar davidh180 forumaster 3news i-mastermind-i yellowpeete sung-chun shetsecure curtis8320170909 lisa3907 riddopic ybktester derlin-asp han0147 dmsrb kecheon cedfactory goldeneyes7777 alessandromazza98 klactic cryptoleeks stqt666 quantumleap-us kaywaez domison1012 highlander37 sunzheng1994 hcmsuper bigscoop flashds skntim allaugh ziemanngerd2 arbasha playerzz qll2333 mrxinkuncai dmytrotaran juanitor-app arthurqs apoctu xuxiaogh bertys oawang julieeeei billker0a 1zquant eric99543 erlden jaimewan louzhtt armando-palacio shin4141 kittencn xiaomniuv3-bitget-api-sdk's Issues
How can I install mobule Bitget??
I'm looking for the way to order by using python
and the 'example_mix.py' seems the way that I've been looking for.
However, I can not use any function in the 'example_mix.py'
because the module 'Bitget' can not be installed by pip install.
How can I replicate the exampld_mix.py??
Bitget Private API - CurrentTrack issue
.
我使用 bitget-php-sdk-api 执行 example_ws.php 时,报错如下:
PHP Fatal error: Uncaught WebSocket\ConnectionException: Connection to 'wss://ws.bitget.com/spot/v1/stream' failed: Server sent invalid upgrade response: HTTP/1.1 403 Forbidden
golang sdk是哪个蠢比写的?不知道不能import其他包的internal吗?
你自己新开一个项目看看,你能用吗?在自己项目的test测完就完了?这是写sdk?用过这么多交易所的sdk没见过这么差的
poetry support for python sdk
cannot install sdk through poetry
why i encounter this error every single day to get orderbook with websocket
[2023-07-15 06:09:55,919 ERROR] error from callback <bound method BitgetWsClient.__on_message of <src.sdks.bitget.ws.bitget_ws_client.BitgetWsClient object at 0x000001E00874B640>>: can only concatenate str (not "Bitget") to str
[2023-07-15 06:09:56,496 INFO ] Websocket connected
[2023-07-15 06:09:58,527 INFO ] Websocket connected
[2023-07-15 06:10:20,897 ERROR] error from callback <bound method BitgetWsClient.__on_message of <src.sdks.bitget.ws.bitget_ws_client.BitgetWsClient object at 0x000001E00874B640>>: can only concatenate str (not "Bitget") to str
[2023-07-15 06:10:21,368 INFO ] Websocket connected
[2023-07-15 06:10:23,597 INFO ] Websocket connected
[2023-07-15 06:10:45,939 ERROR] error from callback <bound method BitgetWsClient.__on_message of <src.sdks.bitget.ws.bitget_ws_client.BitgetWsClient object at 0x000001E00874B640>>: can only concatenate str (not "Bitget") to str
[2023-07-15 06:10:46,447 INFO ] Websocket connected
[2023-07-15 06:10:48,889 INFO ] Websocket connected
[NodeJS] Where is "BookInfo" ?
ModuleNotFoundError: No module named 'bitget'
Hi, I am using python by applying your examples, however I am getting
ModuleNotFoundError: No module named 'bitget'
Do you have a guide on how to install the bitget package? pip install bitget seems not working, thanks.
sign signature error with bitget-node-sdk-api
Hello,
Im trying to use the node sdk api bitget-node-sdk-api
I have configured the apiKey, secretKey and passphrase and given the authorization to read and write orders but im getting an authentication error response when I try to read orders from url
https://capi.bitget.com/api/swap/v3/order/orders?symbol=xrp_usd&status=5&from=1&to=100&limit=10 :
API authentication failed 40009 400
code: '40009',
msg: 'sign signature error',
requestTime: 1630896973038,
data: null
Is there something missing?
const bitgetAuthenticatedApi = new BitgetApi.OrderApi(
'https://capi.bitget.com',
{
headers: {
locale: 'en-US',
},
},
'apiKey',
'secretKey',
'passphrase'
);
async function getOrders() {
try {
const symbol = 'xrp_usd';
const status = 0;
const from = 1;
const to = 2;
const limit = 100;
const response = await bitgetAuthenticatedApi
.getOrders(symbol, status, from, to, limit);
const { data } = response;
console.log(data);
} catch(error) {
console.log(error);
}
}
getOrders();
The type BitgetWsHandle.BitgetClientBuilder is not visible
I'm trying to replicate this example. I can't though because BitgetWsHandle.BitgetClientBuilder is package-local, so not accessible for user code...
BitgetWsClient client = BitgetWsHandle.builder()
^^^^^^^^^^^^^^^^^^^^^^^^
The type BitgetWsHandle.BitgetClientBuilder is not visible
So I obviously propose to make BitgetClientBuilder public. When I do this change, I can compile and run the WebSocket example fine :)
BitgetMain.go build error
Hi, I tried to build BitgetMain.go but got an error.
% go build BitgetMain.go
# bitget/internal/common
../internal/common/bitgetwsclient.go:29:42: undefined: model.BookInfo
../internal/common/bitgetwsclient.go:37:43: undefined: model.BookInfo
../internal/common/bitgetwsclient.go:224:14: undefined: model.BookInfo
../internal/common/bitgetwsclient.go:242:21: assignment mismatch: 2 variables but 1 value
How can I solve this problem?
I can't get the websocket message when I placed an order with golang
获取K线数据这个接口真恶心
要传时间和时间戳
按照okex的接口抄都抄不好
"Parameter Symbol is empty" when calling the API to get funding rate for FOOTBALLUSDT_UMCBL
Hello, this is my first time making a post on Github - so forgive me if I've done this wrong in any way.
URL: https://api.bitget.com/api/mix/v1/market/current-fundRate?symbol=FOOTBALLUSDT_UMCBL
When you call the Bitget API on the ticker FOOTBALLUSDT_UMCBL you get the following error message:
b'{"code":"40019","msg":"Parameter symbol cannot be empty","requestTime":1672773466089,"data":null}'
Not too sure why this is happening as all the other tickers are working fine for me. Obviously, the parameter symbol isn't empty.
Is there way I can use proxy with php-api-sdk?
I would like to integrate proxy to the bitget-php-api sdk. Is that possible?
`Get Spot Account Record` pagination by `idLessThan` doesn't work
I'm trying to implement this endpoint:
https://www.bitget.com/api-doc/common/tax/Get-Spot-Account-Record
My test case:
- if you fetch with limit=20 you get 20 entries
- if you try with lower limit=10 you get 10 entries
- if you then fetch with the same parameters, but add
iddLessThan
you get only 5 entries
- if you then fetch with the same parameters, but add
It doesn't really matter which of the 10 entries id you choose, you won't get those original 20 entries by pagination with idLessThan
.
I can't use this endpoint without this pagination, because we have more than the page limit with the exact same timestamp (more than 500 entries at the exact same time).
Bitget V3
Issue with Open Orders
Building from bitget-php-sdk-api
GET /api/mix/v1/order/current
Requested:
$this->mixOrderApi->current('ETHUSDT_UMCBL');
Returns {"code":"00000","msg":"success","requestTime":1660145692300,"data":[]}
We currently have 4 Open Futures Order 1 being ETHUSDT_UMCBL
Also noticed bitget-php-sdk-api/src/api/mix/MixOrderApi.php is missing method for marginCoinCurrent
We also revised to try to capture GET /api/mix/v1/order/marginCoinCurrent
And that also returns {"code":"00000","msg":"success","requestTime":1660145692300,"data":[]}
constructor MixTraceModifyTPSLOrderReq() is already defined
An error during install (mvn install). Probably related to the Lombook
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] constructor MixTraceModifyTPSLOrderReq() is already defined in class com.bitget.openapi.dto.request.mix.MixTraceModifyTPSLOrderReq
[ERROR] /BitGet_Api/v3-bitget-api-sdk/bitget-java-sdk-api/src/main/java/com/bitget/openapi/dto/request/mix/MixTraceModifyTPSLOrderReq.java:[13,1] constructor MixTraceModifyTPSLOrderReq() is already defined in class com.bitget.openapi.dto.request.mix.MixTraceModifyTPSLOrderReq
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
API Request Error(code=Please wait a moment) --> To fix it, what should I do?
I have been using python-sdk-api well since a month ago. However, when I run place_order from 2 days ago, an error appears, but I don't know why. What should I do?
orderApi.place_order(symbol='ETHUSDT_UMCBL', marginCoin='USDT', size=1,side='open_short', orderType='limit', price='1650', timeInForceValue='normal')
/usr/local/lib/python3.8/dist-packages/bitget/mix/order_api.py in place_order(self, symbol, marginCoin, size, side, orderType, price, clientOrderId, timeInForceValue, presetTakeProfitPrice, presetStopLossPrice)
34 params["presetTakeProfitPrice"] = presetTakeProfitPrice
35 params["presetStopLossPrice"] = presetStopLossPrice
---> 36 return self._request_with_params(POST, MIX_ORDER_V1_URL + '/placeOrder', params)
37 else:
38 return "pls check args "
/usr/local/lib/python3.8/dist-packages/bitget/client.py in _request_with_params(self, method, request_path, params, cursor)
79
80 def _request_with_params(self, method, request_path, params, cursor=False):
---> 81 return self._request(method, request_path, params, cursor)
82
83 def _get_timestamp(self):
/usr/local/lib/python3.8/dist-packages/bitget/client.py in _request(self, method, request_path, params, cursor)
58 # exception handle
59 if not str(response.status_code).startswith('2'):
---> 60 raise exceptions.BitgetAPIException(response)
61 try:
62 res_header = response.headers
BitgetAPIException: API Request Error(code=Please wait a moment): Maybe something is wrong
model.BookInfo is not defined (Golang)
In internal/common/bitgetwsclient.go, model.BookInfo is used but it is not defined anywhere
type BitgetBaseWsClient struct {
NeedLogin bool
Connection bool
LoginStatus bool
Listener OnReceive
ErrorListener OnReceive
Ticker *time.Ticker
SendMutex *sync.Mutex
WebSocketClient *websocket.Conn
LastReceivedTime time.Time
AllSuribe *model.Set
Signer *Signer
ScribeMap map[model.SubscribeReq]OnReceive
BooksMap map[model.SubscribeReq]model.BookInfo
}
Could not cancel order by client order id
There is no api to cancel an order based on client_order_id, What is the purpose of the parameter client_order_id?
CORS issue: Access-Control-Allow-Origin header is defined twice in the response
python sdk cannot execute successfully
this is the code about get klines
class BitgetBot():
def __init__(self, symbol, interval, start_time, end_time):
self.marketApi = market.MarketApi(API_KEY, SECRET_KEY, PASS_PHRASE, use_server_time=False, first=True);
self.publicApi = public.PublicApi(API_KEY, SECRET_KEY, PASS_PHRASE, use_server_time=True, first=False);
self.symbol = symbol
self.interval = interval
self.start_time = start_time
self.end_time = end_time
def get_coin_klines(self):
klines = self.marketApi.candles(self.symbol, self.interval, self.start_time, self.end_time, 100)
print(klines)
if __name__ == '__main__':
delta = pd.Timedelta(hours=6)
end_time = pd.Timestamp(datetime.now())
start_time = end_time-delta
bot = BitgetBot('BTCUSDT_UMCBL', '300', str(int(start_time.timestamp())), str(int(end_time.timestamp())))
bot.get_coin_klines()
the infomation:
url: https://api.bitget.com/api/mix/v1/market/candles?symbol=BTCUSDT_UMCBL&granularity=300&startTime=1684893324&endTime=1684914924&limit=100
method: GET
body:
headers: {'Content-Type': 'application/json', 'ACCESS-KEY': '*****', 'ACCESS-SIGN': *****', 'ACCESS-TIMESTAMP': '***', 'ACCESS-PASSPHRASE': '****'}
response : []
status: 200
[]
API Request Error(code=40019): Parameter [symbol-here] cannot be empty
Hi, I try to call https://bitgetlimited.github.io/apidoc/en/spot/#get-candle-data with these settings
request_path: /api/spot/v1/market/candles?symbol=EPSUSDT_SPBL&period=1day&after=1675120108135&before=1683756508135&limit=10
url: https://api.bitget.com/api/spot/v1/market/candles?symbol=EPSUSDT_SPBL&period=1day&after=1675120108135&before=1683756508135&limit=10
method: GET
body:
headers: {'Content-Type': 'application/json', 'ACCESS-KEY': 'access-key, 'ACCESS-SIGN':'access-sign', 'ACCESS-TIMESTAMP': '1683756508135', 'ACCESS-PASSPHRASE': 'access-passphrase'}
but get
response : {"code":"40019","msg":"Parameter EPSUSDT_SPBL cannot be empty","requestTime":1683756572732,"data":null}
status: 400
Obviously EPSUSDT_SPBL is not parameter but value of parameter symbol. It looks like backend side of the endpoint is broken.
This looks similar to #28 but it's about different endpoint.
Coin named AI just Launched and in price graph its shoung 18000 price when it was launched but that was only arround 0.2$
404 error: /api/mix/v1/order/proportionOrder
I am calling MixOrderService.proportionOrder() in the Java SDK and it tries to load a URL that doesn't exist:
java.lang.RuntimeException: call /api/mix/v1/order/proportionOrder failed, status : 404, body : {"timestamp":"2022-09-19T18:24:33.674+00:00","status":404,"error":"Not Found","message":"No message available","path":"/api/mix/v1/order/proportionOrder"}
at com.bitget.openapi.common.client.ApiClient$HttpStatusInterceptor.intercept(ApiClient.java:115)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
at com.bitget.openapi.common.client.ApiClient$SignInterceptor.intercept(ApiClient.java:85)
... 24 more
What is going on?
Request for feedback on the python client
Hi there. I am the author of the openapi-generator python client which has now moved to https://github.com/openapi-json-schema-tools/openapi-json-schema-generator
You use this client.
I want to make sure that I understand what is important to the end users of the python client.
Can you provide some feedback on what features you value in the generator, any pain points, and what you would like improved?
If you could provide your feedback here it would help with future improvements. Thank you!
**SDK,还在代码里面打INFO
蠢逼
[2023-11-03T03:39:25.588Z] [INFO] check val:34664.15:0.0184:34664.16:0.0028:34664.00:0.2673:34664.17:0.9507:34663.84:14.7723:34664.28:0.0111:34663.83:0.3288:34664.29:0.0102:34663.74:1.2616:34664.34:0.0122:34663.64:1.0960:34664.68:0.0128:34663.60:0.5140:34664.73:0.0120:34663.43:1.5967:34665.00:0.2466:34663.42:1.7594:34665.17:0.0102:34663.41:0.0638:34665.51:0.0570:34663.40:0.3990:34665.73:1.0965:34663.19:0.0671:34665.99:0.5845:34663.10:0.2474:34666.00:0.2673:34662.97:6.3885:34666.87:0.1417:34662.96:0.1444:34667.21:0.0108:34662.86:0.0532:34667.31:0.0304:34662.79:0.0140:34667.35:0.2700:34662.70:0.3290:34667.36:0.4421:34662.68:0.6333:34667.78:0.0113:34662.67:0.5700:34667.83:0.4503:34662.62:0.0140:34667.86:1.1918:34662.60:0.0479:34667.87:0.4117:34662.58:0.0951:34668.00:0.2673:34662.50:0.1518:34668.18:1.0965:34662.40:0.4089:34668.36:0.0665
[2023-11-03T03:39:25.588Z] [INFO] start checknum mergeVal:-1100720018,checkVal:-1100720018
{"action":"update","arg":{"instType":"sp","channel":"books","instId":"BTCUSDT"},"data":[{"asks":[["34664.28","0.0111"],["34664.29","0.0102"],["34664.34","0.0122"],["34664.68","0.0128"],["34664.73","0.0120"],["34665.00","0.2466"],["34665.17","0.0102"],["34665.43","0"],["34666.62","0"],["34667.21","0.0108"],["34667.78","0.0113"],["34669.64","0.8224"],["34671.24","0.0119"],["34681.42","0.4930"],["34683.16","0.2951"],["34684.90","0.4858"],["34686.64","0.3595"],["34688.38","0.3285"],["34690.12","0.2546"],["34691.86","0.4453"],["34693.60","0.2403"],["34695.34","0.2856"],["34697.08","0.4215"],["34698.82","0.3785"],["34700.56","0.3690"],["34702.30","0.2474"],["34704.04","0.4644"],["34705.78","0.3022"],["34707.52","0.2355"],["34709.26","0.3189"],["34711.00","0.2903"],["34712.74","0.4596"],["34714.48","0.2760"],["34716.22","0.3404"],["34717.96","0.2879"],["34719.70","0.2498"],["34721.44","0.2832"],["34723.18","0.3213"],["34724.92","0.3571"],["34726.66","0.3356"],["34728.40","0.2283"],["34730.14","0.4238"],["34731.88","0.2665"],["34733.62","0.2927"],["34735.36","0.4548"],["34737.10","0.2331"],["34738.84","0.4739"],["34740.58","0.4620"],["34742.32","0.5025"],["34744.06","0.3237"],["34745.80","0.4262"],["34747.54","0.4191"],["34749.28","0.4906"],["34751.02","0.3142"],["34752.76","0.4143"],["34754.50","0.2975"],["34756.24","0.4024"],["34757.98","0.4524"],["34759.72","0.2236"],["34761.46","0.3905"],["34763.20","0.4477"],["34764.94","0.2593"],["34766.68","0.3857"],["34768.42","0.2259"],["34770.16","0.4834"],["34771.90","0.3070"],["34773.64","0.4381"],["34775.38","0.4501"],["34777.12","0.5001"],["34778.86","0.4119"],["34780.60","0.3952"],["34782.34","0.3452"],["34784.08","0.2999"],["34785.82","0.2522"],["34787.56","0.3165"],["34789.30","0.4048"],["34791.04","0.3642"],["34792.78","0.3261"],["34794.52","0.3809"],["34796.26","0.3523"],["34798.00","0.2450"],["34799.74","0.2641"],["34801.48","0.4286"],["34803.22","0.3309"],["34804.96","0.3499"],["34806.70","0.3618"],["34808.44","0.4310"],["34810.18","0.3332"],["34811.92","0.2212"],["34813.66","0.3094"],["34815.40","0.4429"],["34817.14","0.4954"],["34818
Done
Done
Originally posted by @AbuKram032012 in #25 (comment)
connect to bitget.com websocket
I run example_ws_contract.py code but always shows an error and never connect. anybody knows why this happen? thanks
error:
name 'websocket' is not defined
'NoneType' object has no attribute 'run_forever'
start connecting... url: wss://ws.bitget.com/spot/v1/stream
start connecting... url: wss://ws.bitget.com/spot/v1/stream
start connecting... url: wss://ws.bitget.com/spot/v1/stream
start connecting... url: wss://ws.bitget.com/spot/v1/stream
项目引用了org.apache.commons:commons-compress等24个开源组件,存在5个漏洞,建议升级
大佬,你好,我是@abbykimi,我IDE运行您这个项目的时候,提示有几个漏洞,项目调用了org.apache.commons:commons-compress等24个开源组件,存在5个安全漏洞,建议你升级下。
漏洞标题:Apache Commons Compress 资源管理错误漏洞
漏洞编号:CVE-2019-12402
漏洞描述:
Apache Commons Compress是美国阿帕奇(Apache)基金会的一个用于处理压缩文件的库。
Apache Commons Compress 1.15至1.18版本中存在资源管理错误漏洞。攻击者可利用该漏洞导致拒绝服务(无限循环)。
影响范围:[1.15, 1.19)
最小修复版本:1.19
引入路径:
com.upex.contract:[email protected]>org.apache.commons:[email protected]
另外4个漏洞,如需查看详细报告、复测或持续监测您的项目,戳这里https://www.mfsec.cn/jr?p=i746c3
如果你对这个issues有任何疑问可以回复我哈( @abbykimi ),我会及时回复你的。
bitget.exceptions.BitgetAPIException: API Request Error(code=40808): Parameter verification exception 0
執行 python 中的 planApi.place_plan() 也就是下方的 example
result = planApi.place_plan(symbol, marginCoin='USDT', size='0.001', side='open_short', orderType='limit', triggerPrice='22222', executePrice='22222', triggerType='fill_price', timeInForceValue='normal', clientOrderId='1004322029588606977')
print(result)
出現 bitget.exceptions.BitgetAPIException: API Request Error(code=40808): Parameter verification exception 0
發現在 /bitget/mix/plan_api.py
place_plan 檔案中的下方兩行
params["presetTakeProfitPrice"] = presetTakeProfitPrice
params["presetStopLossPrice"] = presetStopLossPrice
presetStopLossPrice 以及 presetStopLossPrice 值為空的時候如果出現在 params 會出現錯誤
改為
if presetTakeProfitPrice != '':
params["presetTakeProfitPrice"] = presetTakeProfitPrice
if presetStopLossPrice != '':
params["presetStopLossPrice"] = presetStopLossPrice
可以解決錯誤
How to change "stop loss" after placing an order?
I would like to place an order with orderApi (mix) and afterwards adapting the stop criteria. Is that somehow possible?
How to close a WebSocket connection?
I can't find a close method in BitgetWsClient.
Typo in a business type that is not in the API documentation
The endpoint I'm talking about is https://www.bitget.com/api-doc/contract/account/Get-Account-Bill
I got this response when asking for future account bill:
{
"amount": "<redacted>",
"billId": "<redacted>",
"businessType": "risk_captital_user_transfer",
"cTime": "<redacted>",
"coin": "USDT",
"fee": "0",
"feeByCoupon": "",
"symbol": "CKBUSDT",
}
The returned value is risk_captital_user_transfer
which has captital
instead of capital
.
I believe this is a typo.
BitgetWsHandle#BitgetClientBuilder should be a public class
module: bitget-java-sdk-api
class: com.bitget.openapi.ws.BitgetWsHandle.BitgetClientBuilder
description
The inner class BitgetClientBuilder
should mark as public
otherwise the setters
(pushUrl, apiKey, etc.) is not exported
Please fix it as soon as possible!
Java API doesn't compile on JDK 18
(./build just calls "mvn package")
root@c8:~/dev/v3-bitget-api-sdk/bitget-java-sdk-api# ./build
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /root/dev/apache-maven-3.8.5
Java version: 18, vendor: Oracle Corporation, runtime: /root/jdk-18
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-72-generic", arch: "amd64", family: "unix"
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.upex.contract:bitget-java-sdk-api:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 106, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ---------------< com.upex.contract:bitget-java-sdk-api >----------------
[INFO] Building bitget-java-sdk-api 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bitget-java-sdk-api ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/dev/v3-bitget-api-sdk/bitget-java-sdk-api/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ bitget-java-sdk-api ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 173 source files to /root/dev/v3-bitget-api-sdk/bitget-java-sdk-api/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.237 s
[INFO] Finished at: 2022-09-01T14:00:31+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project bitget-java-sdk-api: Fatal error compiling: java.lang.ExceptionInInitializerError: Unable to make field private com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs accessible: module jdk.compiler does not "opens com.sun.tools.javac.processing" to unnamed module @183a84f4 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
root@c8:~/dev/v3-bitget-api-sdk/bitget-java-sdk-api#
Note: Using JDK 8, I can compile the SDK fine.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.