Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function to retrieve perpetual asset contexts #35

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sairamplex
Copy link

Add function to retrieve perpetual asset contexts

@@ -1,4 +1,4 @@
use crate::info::{AssetPosition, Level, MarginSummary};
use crate::{info::{AssetPosition, Level, MarginSummary},meta::Meta};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add a space , meta::Meta

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@@ -88,3 +88,23 @@ pub struct CandlesSnapshotResponse {
#[serde(rename = "n")]
pub num_trades: u64,
}

#[derive(Deserialize, Debug, Clone)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably move this to meta.rs

@lmlmt
Copy link
Contributor

lmlmt commented Aug 19, 2024

@sairamplex Will merge once conflicts are resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants