Trading Bot with JavaScript

Joined
Nov 29, 2022
Messages
1
Reaction score
0
Hello, I'm looking for help with programming a bot that gets its data from the stock exchange via a node.js via an Api.


How the data for trading can be read there is an implementation problem for me.


Attached is a photo of the "Array" output from the Firefox console log.




Here as a text file:



index.svelte-fbc564b3.js:31:3482





Array(3) [ {…}, {…}, {…} ]
0: Object { chain: (4) […], profit: {…}, time: "2022-11-29T01:00:01+01:00", … }
chain: Array(4) [ "USDT", "BTC", "ASR", … ]
orders: Array(3) [ {…}, {…}, {…} ]
profit: Object { constructor: r(s)
, s: 1, e: 0, … }
time: "2022-11-29T01:00:01+01:00"
<prototype>: Object { … }
1: Object { chain: (4) […], profit: {…}, time: "2022-11-29T01:00:01+01:00", … }
chain: Array(4) [ "BTC", "ASR", "USDT", … ]
orders: Array(3) [ {…}, {…}, {…} ]
profit: Object { constructor: r(s)
, s: 1, e: 0, … }
time: "2022-11-29T01:00:01+01:00"
<prototype>: Object { … }
2: Object { chain: (4) […], profit: {…}, time: "2022-11-29T01:00:01+01:00", … }
chain: Array(4) [ "ASR", "USDT", "BTC", … ]
orders: Array(3) [ {…}, {…}, {…} ]
profit: Object { constructor: r(s)
, s: 1, e: 0, … }
time: "2022-11-29T01:00:01+01:00"
<prototype>: Object { … }
length: 3
<prototype>: Array []




Thanks for Help! ;-)
 

Attachments

  • SharedScreenshot.jpg
    SharedScreenshot.jpg
    64.2 KB · Views: 4

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top