Skip to content

Latest commit

 

History

History
666 lines (272 loc) · 14.9 KB

File metadata and controls

666 lines (272 loc) · 14.9 KB

< Back

CORE API ERRORS

Binance (1 - 999)

1: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the candlesticks series.

2: Binance returned an invalid candlesticks series.

3: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the order book: ${this.extractErrorMessage(response)}

4: Binance returned an invalid order book.

5: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the exchange info

6: Binance returned an invalid exchange information object.

7: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the coin tickers: ${this.extractErrorMessage(response)}

8: Binance returned an invalid list of coin tickers.

9: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the balances.

10: Binance returned an invalid list of balances.

11: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the active positions.

12: Binance returned an invalid list of active positions.

13: Binance returned an invalid HTTP response code (${response.statusCode}) when interacting with a position.

14: Binance returned an invalid HTTP response code (${response.statusCode}) when retrieving the income records: ${this.extractErrorMessage(response)}

15: Binance returned an invalid list of income records.

16: ``

17: ``

18: ``

Candlestick (1.000 - 1.999)

1000: The Binance API should have returned at least 1 candlestick.

Candlestick Model

1200: A valid list of candlesticks is required in order to invoke saveCandlesticks.

Candlestick Validations

1300: The provided start (${start}) and|or end (${end}) timestamps are not valid numbers.

1301: The end (${end}) timestamp must be greater than the start (${start}) timestamp.

1302: The provided minutes interval (${intervalMinutes}) is invalid.

1303: The candlesticks query is larger than the permitted data limit. Limit: ${dataLimit}, Received: ${difference}

Candlestick File Service

1500: Couldnt build a candlesticks csv file because the retrieved list is empty.

1501: The candlesticks file cannot be generated because there is a task running.

Database (2.000 - 2.999)

2000: ``

External Request (3.000 - 3.999)

3000: ``

Utilities (5.000 - 5.999)

5000: ``

Server (6.000 - 6.999)

6000: ``

Server Validations

6300: The alarms configuration must be a valid object.

6301: The maxFileSystemUsage must be a number ranging 30-99, instead received: ${alarms.maxFileSystemUsage}

6302: The maxMemoryUsage must be a number ranging 30-99, instead received: ${alarms.maxMemoryUsage}

6303: The maxCPULoad must be a number ranging 30-99, instead received: ${alarms.maxCPULoad}

6304: The maxCPUTemperature must be a number ranging 50-90, instead received: ${alarms.maxCPUTemperature}

6305: The maxGPULoad must be a number ranging 30-99, instead received: ${alarms.maxGPULoad}

6306: The maxGPUTemperature must be a number ranging 50-120, instead received: ${alarms.maxGPUTemperature}

6307: The maxGPUMemoryTemperature must be a number ranging 50-90, instead received: ${alarms.maxGPUMemoryTemperature}

GUI Version (7.000 - 7.999)

7000: The provided version (${newVersion}) has an invalid format.

Auth (8.000 - 8.999)

8000: Couldnt initialize the Auth Module because there are no users stored in the db.

8001: The uid ${uid} was not found in the local authorities object.

8002: The user ${uid} is not authorized to perform the action. Has ${this.authorities[uid]} and needs ${requiredAuthority}

Auth Model

8300: ``

8301: Could not retrieve the otp secret because the uid (${uid}) was not found.

8302: The provided OTP token (${otpToken}) is invalid or no longer active for uid: ${uid}.

8303: The uid couldnt be extracted when verifying the ID Token.

8304: The ID Token has expired. Please generate a new one and try again.

Auth Validations

8500: The provided email (${email}) has an invalid format.

8501: The provided authority (${authority}) is invalid.

8502: The provided email (${email}) is being used by another user.

8503: The email cannot be updated because the user (${uid}) couldnt be found.

8504: The provided uid (${uid}) is invalid.

8505: The provided password is invalid.

8506: The provided uid (${uid}) didnt match any users in the database.

8507: The new authority cannot be the same as the on in the DB for user (${uid}).

8508: The provided FCM Token (${newFCMToken}) is invalid.

8509: The god user is inmutable, the value (${newEmail}) cannot be set.

8510: The provided OTP Token (${otpToken}) has an invalid format.

8511: The provided reCAPTCHA is invalid.

8512: The provided credentials are invalid.

8513: The provided ID Token has an invalid format.

API Secret (9.000 - 9.999)

9000: A list of valid uids must be provided in order to refresh the api secrets.

9001: A valid secrets object must be provided in order to update the local secrets.

9002: The uid (${uid}) was not found in the local secrets object.

9003: The uid (${uid}) provided an api secret with an invalid format: ${secret}.

9004: The uid (${uid}) provided an api secret that didnt match the one stored locally: ${secret}.

Validations (10.000 - 10.999)

10000: The reCAPTCHA could not be validated because Googles API returned an invalid verification response.

IP Blacklist (11.000 - 11.999)

11000: The IP ${ip} is currently blacklisted and therefore cannot interact with the API

IP Blacklist Validations

11300: The provided IP has an invalid format: ${ip}

11301: If the notes are provided, they must be valid: ${notes}

11302: The IP you are trying to blacklist is already registered: ${ip}

11303: The IP you are trying to update the notes for, does not exist: ${ip}

Request Guard (12.000 - 12.999)

12000: The API cannot accept requests because it is running on test mode.

12001: The API cannot accept requests because it has not yet been initialized.

12002: The param (${paramKey}) is required but was not provided.

12002: The API cannot accept requests because it is running on restore mode.

API Error (13.000 - 13.999)

13000: ``

Background Task (14.000 - 14.999)

14000: The task ${this.task.name} cannot be started because it is already running.

14001: The task ${this.task.name} progress cannot be updated because there isnt a task running.

14002: The task ${this.task.name} progress cannot be updated because an invalid value was provided(${currentProgress}).

14003: The task ${this.task.name} cannot be marked as errored because there isnt a task running.

File Manager (15.000 - 15.999)

15000: Google Cloud returned an invalid response when uploading ${originPath}.

15001: The upload process went through normally. However, the cloud file could not be listed in: ${destinationCloudPath}.

15002: Google Cloud returned an invalid response when downloading ${originCloudPath}.

15003: The downloaded file was not found in the local directory ${destinationPath}.

15004: The Google Cloud Download did not return valid files for ${cloudPath}.

15005: Google Cloud returned a valid response. However, no files could be extracted in: ${cloudPath}.

15006: The JSON File ${filePath} could not be read because it doesn't exist.

15007: The JSON File ${filePath} is empty.

15008: Error when parsing ${filePath}: ${this._utils.getErrorMessage(e)}

Market State Service (24.000 - 24.999)

24000: ``

24001: ``

Window State Service (25.000 - 25.999)

25000: The provided window config object is invalid.

25001: The provided requirement (${newConfiguration.requirement}) is invalid.

25002: The provided strongRequirement (${newConfiguration.strongRequirement}) is invalid.

25003: The requirement cannot be greater than or equals to the strongRequirement. Received: ${newConfiguration.requirement} | ${newConfiguration.strongRequirement}.

Volume State Service (26.000 - 26.499)

26000: ``

26001: ``

Liquidity State Service (26.500 - 26.999)

26500: The provided liquidity config object is invalid.

26501: The provided max_peak_distance_from_price (${newConfiguration.max_peak_distance_from_price}) is invalid.

26502: The provided intensity_weights config object is invalid.

26503: One of the provided intensity weights is invalid.

26504: The provided appbulk_stream_min_intensity (${newConfiguration.appbulk_stream_min_intensity}) is invalid.

KeyZone State Service (27.000 - 27.999)

27000: The provided keyzones config object is invalid.

27001: The provided buildFrequencyHours (${config.buildFrequencyHours}) is invalid.

27002: The provided zoneSize (${config.zoneSize}) is invalid.

27003: The provided zoneMergeDistanceLimit (${config.zoneMergeDistanceLimit}) is invalid.

27004: The provided stateLimit (${config.stateLimit}) is invalid.

27005: The provided scoreWeights are invalid.

27006: The provided priceSnapshotsLimit (${config.priceSnapshotsLimit}) is invalid.

27007: ``

27008: The provided keyzoneIdleOnEventMinutes (${config.keyzoneIdleOnEventMinutes}) is invalid.

27009: The provided eventScoreRequirement (${config.eventScoreRequirement}) is invalid.

27010: The provided buildLookbackSize (${config.buildLookbackSize}) is invalid.

27011: The provided supportEventDurationSeconds (${config.supportEventDurationSeconds}) is invalid.

27012: The provided resistanceEventDurationSeconds (${config.resistanceEventDurationSeconds}) is invalid.

27013: The provided eventPriceDistanceLimit (${config.eventPriceDistanceLimit}) is invalid.

27014: The provided startAt (${startAt}) is invalid.

27015: The provided startAt (${endAt}) is invalid.

27016: The beginning of the range must be less than the end.

Position Service (29.000 - 29.499)

29000: ``

29001: ``

29002: ``

29003: ``

29004: ``

29005: ``

29006: ``

Position Utilities (29.500 - 29.999)

29500: The position cannot be closed because there isnt an active one.

29501: ``

29501: ``

29501: ``

Position Validations (30.000 - 30.999)

30000: The long and short statuses must be valid booleans. Received: ${newStrategy.long_status}, ${newStrategy.short_status}

30001: The leverage must be a valid number ranging 2-20. Received: ${newStrategy.leverage}

30002: The position size must be a valid number ranging 0.1-100. Received: ${newStrategy.increase_side_on_price_improvement}

30003: The position size must be a valid number ranging 25-10,000. Received: ${newStrategy.position_size}

30004: The provided strategy is not a valid object.

30005: ``

30006: The price change requirements in the take profits must be provided in ascending order.

30007: The provided position id is invalid: ${id}.

30008: The provided take profit 1 object does not contain all the required properties.

30009: The positions date range is invalid. Received: ${startAt} - ${endAt}.

30010: The positions starting point must be less than the end. Received: ${startAt} - ${endAt}.

30011: The positions query is larger than the permitted data limit. Limit: ${dataLimit}, Received: ${difference}

30012: The pos. action payloads cannot be listed because an invalid kind was provided: ${kind}

30013: The pos. action payloads date range is invalid. Received: ${startAt} - ${endAt}.

30014: The pos. action payloads starting point must be less than the end. Received: ${startAt} - ${endAt}.

30015: The pos. action payloads query is larger than the permitted data limit. Limit: ${dataLimit}, Received: ${difference}

30016: The side_increase_limit must be a valid number ranging 1-1,000. Received: ${newStrategy.side_increase_limit}

30017: The side_min_percentage must be a valid number ranging 1-100. Received: ${newStrategy.side_min_percentage}

30018: The side_increase_idle_hours must be a valid number ranging 0.1-100. Received: ${newStrategy.side_increase_idle_hours}

30019: ``

30020: ``

30021: ``

30022: ``

30023: ``

30024: ``

30025: ``

30026: ``

30027: ``

30028: ``

30029: ``

30030: ``

Position Model (31.000 - 31.999)

31000: The position record ${id} was not found in the database.

31001: ``

31002: ``

31003: ``

Coins Service (37.000 - 37.499)

37000: The provided symbol ${symbol} is invalid.

37001: The coin ${symbol} cannot be installed because it already is.

37002: The coin ${symbol} cannot be installed because it is not supported.

37003: The coin ${symbol} cannot be uninstalled because it is not currently installed.

37004: The coin ${symbol} could not be retrieved because it wasnt found among the installed coins.

37005: The full state of the coin cannot be retrieved because ${symbol} is not installed.

37006: The coin ${symbol} does not have a loaded price.

37007: The provided coins config object is invalid.

37008: The provided requirement (${newConfiguration.requirement}) is invalid.

37009: The provided strongRequirement (${newConfiguration.strongRequirement}) is invalid.

37010: The requirement cannot be greater than or equals to the strongRequirement. Received: ${newConfiguration.requirement} | ${newConfiguration.strongRequirement}.

37011: The provided supportedCoinsIntervalHours (${newConfiguration.supportedCoinsIntervalHours}) is invalid.

37012: The provided priceWindowSize (${newConfiguration.priceWindowSize}) is invalid.

37013: The provided priceIntervalSeconds (${newConfiguration.priceIntervalSeconds}) is invalid.

Reversal Service (37.500 - 37.999)

37500: The provided reversal config object is invalid.

37501: ``

37502: The provided reversal score_weights object is invalid.

37503: The provided score weights object must contain valid numbers randing 1-100.

37504: The sum of the weights must be equals to 100. Received: ${weightsSum}.

37505: The provided reversal id (${id}) is invalid.

37506: The provided reversal id (${id}) was not found in the database.

37507: The provided event_sort_func (${newConfiguration.event_sort_func}) is invalid.

37508: The reversal compliant symbols could not be sorted because the function is invalid.

37509: The provided support_reversal_score_requirement (${newConfiguration.support_reversal_score_requirement}) is invalid.

37510: ``

Transaction Service (38.000 - 38.999)

38000: The USDT balance could not be retrieved from the Binance API. Received ${balances.length}

38001: The extracted USDT balance object is not complete. Available ${balances[0].availableBalance} | Balance: ${balances[0].balance}

38002: ``

38003: ``

38004: ``

38005: ``

38006: ``

38007: ``

Transaction Validations (39.000 - 39.999)

39000: The provided date range is invalid.

39001: The end of the query must be greater than the beginning.

39002: ``

39003: ``

Transaction Model (40.000 - 40.999)

40000: ``

40001: ``

40002: ``