exchange.GetBase
Gets the base address of the current exchange API interface.
exchange.GetBase()Examples
Print the API base URL used by the current exchange object.
javascript
function main() {
Log(exchange.GetBase())
// Output: https://api.binance.com (Binance spot, for example)
}
python
def main():
Log(exchange.GetBase())
# Output: https://api.binance.com (Binance spot, for example)
rust
fn main() {
Log!(exchange.GetBase());
// Output: https://api.binance.com (Binance spot, for example)
}Returns
| Type | Description |
string | The base address of the current exchange API interface. |
See Also