mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 15:10:44 +00:00
FTX: Margin lending/borrow rate history (#981)
* Adds lending rates/borrows to FTX and the command * Movements, renames, rpc test * Fleshing out rpc response * Allows rpcserver to calculate offline (but not gctcli). Expands tests * rn structs. add exchange_wrapper_issues support * Adds a nice yearly rate * Surprise yearly borrow rate! * Rn+Mv to margin package. Fixes some serious whoopsies * Adds average lend/borrow rates instead of sum * rm oopsie whoopsie * This is what the linter was having an issue with * re-gen * lintl * niteroos
This commit is contained in:
@@ -11,6 +11,8 @@ import (
|
||||
var (
|
||||
// ErrCurrencyCodeEmpty defines an error if the currency code is empty
|
||||
ErrCurrencyCodeEmpty = errors.New("currency code is empty")
|
||||
// ErrCurrencyNotFound returned when a currency is not found in a list
|
||||
ErrCurrencyNotFound = errors.New("currency code not found in list")
|
||||
// ErrCurrencyPairEmpty defines an error if the currency pair is empty
|
||||
ErrCurrencyPairEmpty = errors.New("currency pair is empty")
|
||||
// EMPTYCODE is an empty currency code
|
||||
|
||||
Reference in New Issue
Block a user