-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for lending account (flexible earn).
- Loading branch information
1 parent
1378cd7
commit 0072cf7
Showing
8 changed files
with
101 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
/** | ||
* App config params. | ||
* Binance to Google Sheets! | ||
* Diego Manuel - diegomanuel@gmail.com | ||
* https://github.com/diegomanuel/binance-to-google-sheets | ||
* https://github.com/diegomanuel/binance-to-google-sheets-proxy | ||
*/ | ||
|
||
let DEBUG = false; | ||
const VERSION = "v0.5.3"; | ||
const REPO_URL = "https://github.com/diegomanuel/binance-to-google-sheets"; | ||
/** | ||
* Add-on config params. | ||
* You should only need to adjust the `USE_PROXY` value! | ||
*/ | ||
|
||
// Proxy usage | ||
const USE_PROXY = false; | ||
// See: https://github.com/diegomanuel/binance-to-google-sheets-proxy | ||
//const USE_PROXY = "https://btgs-proxy.setupme.io" | ||
|
||
// Other settings | ||
let DEBUG = false; // If enabled, will output more logs to the AppScript console | ||
const VERSION = "v0.5.4"; | ||
const REPO_URL = "https://github.com/diegomanuel/binance-to-google-sheets"; | ||
const SPOT_API_URL = "https://api.binance.com"; | ||
const FUTURES_API_URL = "https://fapi.binance.com"; | ||
const DELIVERY_API_URL = "https://dapi.binance.com"; | ||
const TICKER_AGAINST = "USDT"; | ||
const TICKER_AGAINST = "USDT"; // The default base cryptocurrency to build a full ticker | ||
const REQUEST_RETRY_MAX_ATTEMPTS = 10; // Max number of attempts when the API responses with status != 200 | ||
const REQUEST_RETRY_DELAY = 1000; // Delay between API calls when it fails in milliseconds |
This file contains 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
This file contains 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
This file contains 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
This file contains 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