mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
exchanges: Remove FTX implementation and fix minor test issues (#1100)
* exchanges: Start removal of FTX * Get tests happy again * okx: improve logic and add basic coverage * Fix linterino * Round 2 plus rm useless assignment in test * Fix exchange_wrapper_issues test error * Fix nitters * Address nitters
This commit is contained in:
@@ -20,7 +20,7 @@ load := func() {
|
||||
// account details while utilizing the configured config.json apikeys.
|
||||
// ctx = global.set_sub_account(ctx, "sub_account_str")
|
||||
|
||||
info := exch.accountinfo(ctx, "ftx", "spot")
|
||||
info := exch.accountinfo(ctx, "binance", "spot")
|
||||
if is_error(info) {
|
||||
// handle error
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ load := func() {
|
||||
// NOTE: Get account info is cached and updated by another worker thread
|
||||
// therefore calling this script multiple times, if data has already been
|
||||
// fetched request verbosity will be limited.
|
||||
info := exch.accountinfo(ctx, "ftx", "spot")
|
||||
info := exch.accountinfo(ctx, "binance", "spot")
|
||||
if is_error(info) {
|
||||
// handle error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user