Gunthy

GUNBOT: The automatic profit generator => General Discussion => Topic started by: Alphadan on March 31, 2020, 08:28:49 PM

Title: Reading Gunbot indicators from my C program?
Post by: Alphadan 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?
Title: Re: Reading Gunbot indicators from my C program?
Post by: Truitaman 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.
Title: Re: Reading Gunbot indicators from my C program?
Post by: Alphadan on April 01, 2020, 03:06:18 AM
Thx, bro thats what i needed.