mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
Integrate StandX exchange support by updating configuration files, adding environment variables, and enhancing documentation. Include new API endpoints and authentication details for StandX in README and dedicated documentation files. Update CLI and adapter logic to accommodate StandX functionalities.
This commit is contained in:
@@ -42,5 +42,11 @@ describe("resolveSymbolFromEnv", () => {
|
||||
|
||||
expect(resolveSymbolFromEnv("grvt")).toBe("ETHUSDT");
|
||||
});
|
||||
});
|
||||
|
||||
it("supports standx symbol defaults when explicit exchange id is provided", () => {
|
||||
delete process.env.EXCHANGE;
|
||||
process.env.STANDX_SYMBOL = "ETH-USD";
|
||||
|
||||
expect(resolveSymbolFromEnv("standx")).toBe("ETH-USD");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user