Back to Blog
Gate io api7/7/2023 ![]() ![]() Probably a tiny error but those are the hardest, right?ĭoes anyone have any idea what could be the cause of this issue? Would really appreciate your help after having spent 8+ hours trying to get this to work. There are public APIs to retrieve the real-time market statistics, and private APIs which needs authentication to trade on user's behalf. Buy, sell or trade of hundreds of digital currencies such as Bitcoin (BTC), Litecoin (LTC), Ethereum (ETH), EOS (EOS),Ripple (XRP), Tether (USDT) etc. API version: 4.45.0 SDK version: 6.45.0 Welcome to Gate.io API APIv4 provides spot, margin and futures trading operations. Gate ecosystem Spot Trading (REST API) Spot Trading ETF Trading Margin Trading Flash swap Subaccount Wallet Derivatives Trading (REST API) USDT-M BTC-M Delivery Vanilla Options Market and Quotation Data Get up-to-date market information, trade data, and historical quotation to inform your trading decisions. We provide safe and transparent transactions. Based on the code below I seem to missing something. Gate.io is one of the global top 10 cryptocurrency exchanges with authentic trading volume.I have managed to get the /spot/accounts working, so I know that the key and secret are correct. I have followed the API documentation for CREATE ORDER available at Gate.io's website here: 2-When the price rises as much as I have determined, it has to automatically sell back all the tokens it bought. 1-When I enter the token name in the terminal, it has to automatically buy it 3 more than the market price. It does almost what we want but 2 features are missing. But if I put it into a HMAC-SHA512 generator (e.g. This is a simple trading bot working with gate.io api. I have however tried to get the GATE.IO v4 API working in my PHP implementation but keep getting "Signature mismatch". Gate.io is a centralized cryptocurrency exchange where users can find a large number of crypto coins and tokens to trade. Explanation from the website: Signature generation method is He圎ncode (HMACSHA512 (secret, signaturestring)), i.e., the hexadecimal digest output of HMAC-SHA512 with APIv4 secret as secret and signature string as message. I'm not an expert in API development or using signed messages in PHP. ![]()
0 Comments
Read More
Leave a Reply. |