The following examples are for testing and demonstrating the use of the crate. Please review the examples before running them to fully understand what is happening and how they are used. If you have any suggestions, feel free to let me know!
Demonstrates how to use the Account API, accessbile at: account_api.rs
Command:
cargo run --example account_api --features="config"
Demonstrates how to use the Product API, accessbile at: product_api.rs
Command:
cargo run --example product_api --features="config"
Demonstrates how to use the Fee API, accessbile at: fee_api.rs
Command:
cargo run --example fee_api --features="config"
Demonstrates how to use the Order API, accessbile at: order_api.rs
Command:
cargo run --example order_api --features="config"
Demonstrates how to use the WebSocket API, accessbile at: websocket.rs
Command:
cargo run --example websocket --features="config"
Demonstrates how to use the Watch Candles via the WebSocket API, accessbile at: watch_candles.rs These candles are limited to 5 minute granularity and cannot be currently changed (as of 20231019).
Command:
cargo run --example watch_candles --features="config"
Demonstrates how to create a custom configuration file to meet your needs in integration, accessbile at: custom_config.rs
Command:
cargo run --example custom_config --features="config"