Skip to content

Commit

Permalink
crex24: Add BadSymbol exception
Browse files Browse the repository at this point in the history
  • Loading branch information
brandsimon committed Dec 17, 2019
1 parent 77cd025 commit fd1573d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/crex24.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ module.exports = class crex24 extends Exchange {
'Failed to verify request signature.': AuthenticationError, // eslint-disable-quotes
"Nonce error. Make sure that the value passed in the 'X-CREX24-API-NONCE' header is greater in each consecutive request than in the previous one for the corresponding API-Key provided in 'X-CREX24-API-KEY' header.": InvalidNonce,
'Market orders are not supported by the instrument currently.': InvalidOrder,
"Parameter 'instrument' contains invalid value.": BadSymbol,
},
'broad': {
'API Key': AuthenticationError, // "API Key '9edc48de-d5b0-4248-8e7e-f59ffcd1c7f1' doesn't exist."
Expand Down

0 comments on commit fd1573d

Please sign in to comment.