{"repo":"banbox/banexg","free":true,"listed":false,"github":"https://github.com/banbox/banexg","clone":"git clone https://github.com/banbox/banexg.git","description":"cryptocurrency trading library, support multiple accounts, websocket, dump and replay","language":"Go","stars":21,"topics":["altcoin","api","arbitrage","bitcoin","bot","btc","crypto","cryptocurrencies","cryptocurrency","e-commerce"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"中文 BanExg - CryptoCurrency Exchange Trading Library A Go library for cryptocurrency trading. Currently supported exchanges: binance , china . Both implement the interface BanExchange Features Support for multiple accounts, with seamless switching and no conflicts between them. Comprehensive Websocket support, including subscribing and unsubscribing. Support for Websocket dump and playback, which can be used for backtesting. Automatic reconnection and resumption of subscriptions in case of a Websocket disconnection. How to Use Complete Initialization Options All above parameters are optional, pass according to actual needs. Some important notes: 1. API key configuration supports two methods: - Directly configure single account via OptApiKey and OptApiSecret - Configure multiple accounts via OptAccCreds and specify default account with OptAccName 2. Market type (OptMarketType) options: - MarketSpot: Spot - MarketMargin: Margin - MarketLinear: USDT-M Futures - MarketInverse: Coin-M Futures - MarketOption: Options 3. Contract type (OptContractType) options: - MarketSwap: Perpetual contracts - MarketFuture: Delivery contracts 4. Time in force (OptTimeInForce) options: - TimeInForceGTC: Good Till Cancel - TimeInForceIOC: Immediate or Cancel - TimeInForceFOK: Fill or Kill - TimeInForceGTX: Good Till Crossing - TimeInForceGTD: Good Till Date - TimeInForcePO: Post Only 5. API cache and retry counts can be set individually for different interfaces 6. Fees can be set with different rate","default_branch":null,"files":null,"tree":[],"storefront":"/r/banbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/banbox/banexg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}