This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************** | |
* conectaorders.js | |
* Conecta no canal privado de ordens da Bitget (v2), | |
* exibe as mensagens e implementa o heartbeat. | |
* | |
* ************************************************************ | |
*/ | |
const WebSocket = require('ws'); | |
const crypto = require('crypto'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************** | |
* Cópia original do back-up. | |
* Aparentemente funcionando | |
* bem com coordenadorR-c e | |
* sem workerExecBitget. | |
*/ | |
"use strict"; | |
const { Worker } = require('worker_threads'); | |
const fs = require('fs'); | |
const path = require('path'); |