Files
gocryptotrader/contrib/spellcheck/exclude_lines.txt
Gareth Kirwan f05f24da8b Types: Switch convert.StringToFloat64 to types.Number (#1415)
* Types: Add Number type

* Types: Switch StringToFloat64 for Number

This change mostly just renames the type.
convert package and StringToFloat64 represent actions, not types,
and make it misleading to use outside of the API context,
especially when using it for a Float64ToString operation.

* Common: Remove StringToFloat64

Replaced by types.Number

* fixup! Types: Switch StringToFloat64 for Number

Second pass at Okx

* Spellcheck: Fix whitespace handling for okx line
2023-12-20 13:01:27 +11:00

24 lines
960 B
Plaintext

os, errOs := order.StringToOrderStatus(genOrderDetail.Status)
if errOs != nil {
return order.Detail{}, fmt.Errorf("error parsing order status: %s", errOs)
tt, errOt := order.StringToOrderType(genOrderDetail.Type)
if errOt != nil {
return order.Detail{}, fmt.Errorf("error parsing order type: %s", errOt)
currency.CANN: 0.2,
currency.DOTA: 0.01,
currency.SCRPT: 0.01,
currency.NOO: 0.002,
currency.BU: 0.1,
currency.HAV: 10,
currency.GARD: 100,
currency.DASHS: 0.01,
currency.ALIS: 0.05,
currency.MIS: 0.002,
const pressXToJSON = `[0,"bu",[4131.85,4131.85]]`
wsTradeExecuted = "te"
wsBalanceUpdate = "bu"
"59512": errors.New("unable to set up this permission for ND brokers sub accounts. by default, all ND sub accounts can transfer funds out"),
currency.MIS: 0.002,
SHFT = NewCode("SHFT")
currency.SHFT: 84,