-
Notifications
You must be signed in to change notification settings - Fork 124
Add function to retrieve perpetual asset contexts #35
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
base: master
Are you sure you want to change the base?
Add function to retrieve perpetual asset contexts #35
Conversation
src/info/response_structs.rs
Outdated
@@ -1,4 +1,4 @@ | |||
use crate::info::{AssetPosition, Level, MarginSummary}; | |||
use crate::{info::{AssetPosition, Level, MarginSummary},meta::Meta}; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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)] |
There was a problem hiding this comment.
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
@sairamplex Will merge once conflicts are resolved |
This is like the third implementation of this, why haven't any of these landed yet? |
Add function to retrieve perpetual asset contexts