<commit_before>'use strict'

const _isEmpty = require('lodash/isEmpty')
const runExample = require('../util/run_example')

module.exports = runExample({
  name: 'ws2-oc-multi',
  ws: {
    env: true,
    connect: true,
    auth: true,
    keepOpen: true,
    transform: true
  },
  params: {
    market: 'tBTCUSD'
  }
}, async ({ ws, debug, params }) => {
  const { market } = params
<commit_msg>(fix) WSv2 trades example name/unnecessary auth<commit_after>'use strict'

const _isEmpty = require('lodash/isEmpty')
const runExample = require('../util/run_example')

module.exports = runExample({
  name: 'ws2-trades',
  ws: {
    env: true,
    connect: true,
    keepOpen: true,
    transform: true
  },
  params: {
    market: 'tBTCUSD'
  }
}, async ({ ws, debug, params }) => {
  const { market } = params

{'fraction_non_alphanumeric': 0.15594059405940594, 'fraction_numerical': 0.0037128712871287127, 'mean_word_length': 3.3031914893617023, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4855084', 'n_tokens_mistral': 286, 'n_tokens_neox': 276, 'n_words': 69}