mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
* Exchanges: Add in exchange defined tolerance settings to conform to min max amounts/price/notional etc (Initial) * Add to tests fix linter * Binance: Implement CMF and usdtMarginFutures fetching of currency information, addr nits * binance: Add in test for tolerance set up * exchanges: add in more tolerance settings and add tests * nits: addr * fix linter issue * RPCServer: Use ordermanager instead of going direct to exchange * Nits: Addr * nits: glorious addr phase one * nits: glorious nits phase 2 * exchange: move tolerance -> limits in order package add wrapper function, split binance functions to asset files * nits: Addr thrasher + also include locking of limits struct when we update via syncer later on * nits: mdc addr * nits: glorious nits * limits: unexport mutex * limit: revert maths optim. and fix spelling * limit: Add decimal package * limit: don't check price on market order * Orders: Add order execution checks on fake orders so as to always conform to tight specifications even in simulation * binance: handle case where spot is not enabled but margin is * backtester: add in amount conforming to back tested events to simulate realistic orders * rm ln * order limit: return amount when limit is nil and conformToAmount is requested * nits: glorious nits + friends * backtester/orders: fix tests * nits: glorious nits * nits: glorious nits * RMLINE * nits: more glorious nits! * nits: pooosh * binance: fix margin logic * nits: Add warning, settings log and report item for exchange order execution limits * backtester: add specific warnings in report output * backtest: Adjust warnings
182 lines
3.4 KiB
JSON
182 lines
3.4 KiB
JSON
{
|
|
"orderSubmission": {
|
|
"orderSide": "BUY",
|
|
"orderType": "LIMIT",
|
|
"amount": 1333333337,
|
|
"price": 1333333337,
|
|
"orderID": "",
|
|
"assetType": ""
|
|
},
|
|
"withdrawWalletAddress": "",
|
|
"bankAccount": {
|
|
"bankAccountName": "bankAccountName",
|
|
"bankAccountNumber": "1337",
|
|
"bankAddress": "bankAddress",
|
|
"bankCity": "bankCity",
|
|
"bankCountry": "bankCountry",
|
|
"bankName": "bankName",
|
|
"bankPostalCode": "bankPostalCode",
|
|
"iban": "iban",
|
|
"intermediaryBankAccountName": "intermediaryBankAccountName",
|
|
"intermediaryBankAccountNumber": 1337,
|
|
"intermediaryBankAddress": "intermediaryBankAddress",
|
|
"intermediaryBankCity": "intermediaryBankCity",
|
|
"intermediaryBankCountry": "intermediaryBankCountry",
|
|
"intermediaryBankName": "intermediaryBankName",
|
|
"intermediaryBankPostalCode": "intermediaryBankPostalCode",
|
|
"intermediaryIban": "intermediaryIban",
|
|
"intermediaryIsExpressWire": false,
|
|
"intermediarySwiftCode": "intermediarySwiftCode",
|
|
"isExpressWire": false,
|
|
"requiresIntermediaryBank": false,
|
|
"swiftCode": "swiftCode",
|
|
"bankCode": 1337,
|
|
"intermediaryBankCode": 1337
|
|
},
|
|
"exchanges": {
|
|
"binance": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"bitfinex": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"bitflyer": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"bithumb": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"bitmex": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"bitstamp": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"bittrex": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"btc markets": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"btse": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"coinbasepro": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"coinbene": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"coinut": {
|
|
"key": "Key",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"exmo": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"ftx": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"gateio": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"gemini": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"hitbtc": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"huobi": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"itbit": {
|
|
"secret": "Secret",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"kraken": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"lakebtc": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"lbank": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"localbitcoins": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"okcoin international": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"okex": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"clientID": "ClientID",
|
|
"otpSecret": "-"
|
|
},
|
|
"poloniex": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"yobit": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
},
|
|
"zb": {
|
|
"key": "Key",
|
|
"secret": "Secret",
|
|
"otpSecret": "-"
|
|
}
|
|
}
|
|
} |