Skip to content

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

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

@jmcph4
Copy link

jmcph4 commented Feb 11, 2025

This is like the third implementation of this, why haven't any of these landed yet?

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.

4 participants