![]() In October 2017, Gemini announced that it was allowing registered users to withdraw Bitcoin Cash from the exchange provided they had a balance available on the exchange prior to the Bitcoin hard fork in August 2017. Additionally, in 2016, Gemini announced it would allow users to withdraw Ethereum Classic (ETC) from the exchange, following a hard fork in Ethereum's code. On May 5, 2016, Governor Andrew Cuomo of New York State announced the approval of Gemini as the first licensed Ethereum exchange based in the United States. Gemini began adding to the financial services it offers thereafter, some of which include FIX and API support. Gemini holds a Limited Purpose Trust Charter from the New York Department of Financial Services that was granted in October 2015. Gemini began in order to facilitate the purchase and storage of Bitcoin through a complex system of private keys and password protected environments. ![]() Tyler and Cameron Winklevoss announced Gemini in June 2013 and the company went live on October 25, 2015. Currently, Gemini operates in 60+ countries, including the United States, the United Kingdom, Canada, Australia, and Singapore. It was founded in 2014 by Cameron and Tyler Winklevoss. ![]() Gemini Trust Company, LLC ( Gemini) is an American cryptocurrency exchange and custodian that allows customers to buy, sell, and store digital assets. Please help improve it by removing promotional content and inappropriate external links, and by adding encyclopedic content written from a neutral point of view. The Node module you use, in this case gemini-apiĬonst GeminiAPI = require("gemini-api").This article contains content that is written like an advertisement.If you lose your API secret you simply should delete the corresponding API key and create a new one.įor accessing the Gemini sandbox API with JavaScript you will have to define a few things: You have to save the secret on a secure place. ![]() Please note that the API secret will only be shown to you when you create your API key. When it comes to your account and your funds, you will require an API key and an API secret to use the private REST API. In order to access the public API, you don’t even need an API key, because this information is for everyone. see your trading history and trade volume.Private REST APIs allow you to manage both orders and funds: Public REST APIs provide market data such as: Output offers both public and private REST APIs. Var activeOrdersAfterCancel = await restClient.getMyActiveOrders() Ĭonsole.log('after cancel : ' + JsonBeautifyDefault(activeOrdersAfterCancel)) Var activeOrders = await restClient.getMyActiveOrders() Ĭonsole.log('active orders : ' + JsonBeautifyDefault(activeOrders)) Īwait restClient.cancelAllActiveOrders() TODO: maybe run in parallel and apply map/reduce My solution :Ĭonst main = require("async-main").default Ĭonst GeminiAPI = require("gemini-api").default Ĭonst JsonBeautify = require("json-beautify") Ĭonst secret = "2zLLJdd7tptRGUy1wEqafuaAtztv" Ĭonst key = "account-75fGnAH8Fpkrh76UqZYW" Ĭonst restClient = new GeminiAPI(geminiApiConfig) Īsync function ExecAssignmentLogicAsync()Ĭonsole.log('generated orders : ' + JsonBeautifyDefault(orders)) I can recognize the generated orders and they do get cancelled eventually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |