Username: Password:

Author Topic: Reading Gunbot indicators from my C program?  (Read 10076 times)

Offline Alphadan

  • Rookie
  • *
  • Posts: 42
    • View Profile
Reading Gunbot indicators from my C program?
« on: March 31, 2020, 08:28:49 PM »
How would be the most efficient way to read the values that gunbot outputs in the terminal console from my external C program??? or does gunbot have any other means to read those externally, for example i saw one alternative GUI for gunbot how does it read these from gunbot?

Offline Truitaman

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Reading Gunbot indicators from my C program?
« Reply #1 on: March 31, 2020, 10:30:37 PM »
Gunbot core injects the datasets of information needed by Gunbot in the state files, you can locate those files in the json folder.

./json

they are named like this EXCHANGE-BASE-PAIR-state.json

inside the json you will find each field that are displayed in the core.

So mainly directly reading that file from your program you could be able to build anything you need like a profit tracker for example.

Offline Alphadan

  • Rookie
  • *
  • Posts: 42
    • View Profile
Re: Reading Gunbot indicators from my C program?
« Reply #2 on: April 01, 2020, 03:06:18 AM »
Thx, bro thats what i needed.