We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This party is one I know has volume discounts
query dealTicket { estimateFees( marketId:"90360cb6312346f8a5380cc7d6a7df30583135e743246d68ffd1a51effe7394e", partyId:"bba3b2283a00006ce531dbbb2b33e640c630ec8d9482aa8d4077fbdbb37c4fe4", price:"236900", size:"1000", timeInForce:TIME_IN_FORCE_GTC, side:SIDE_BUY, type:TYPE_MARKET ) { totalFeeAmount fees{ makerFee infrastructureFee liquidityFee buyBackFee treasuryFee highVolumeMakerFee makerFeeReferralDiscount makerFeeVolumeDiscount infrastructureFeeReferralDiscount infrastructureFeeVolumeDiscount liquidityFeeReferralDiscount liquidityFeeVolumeDiscount } } }
but I am gettign NULLS back from all discount fields on the API.
{ "data": { "estimateFees": { "totalFeeAmount": "1629850", "fees": { "makerFee": "459113", "infrastructureFee": "1147781", "liquidityFee": "22956", "buyBackFee": "", "treasuryFee": "", "highVolumeMakerFee": "", "makerFeeReferralDiscount": null, "makerFeeVolumeDiscount": null, "infrastructureFeeReferralDiscount": null, "infrastructureFeeVolumeDiscount": null, "liquidityFeeReferralDiscount": null, "liquidityFeeVolumeDiscount": null } } } }
The text was updated successfully, but these errors were encountered:
This works.
It is missing high voulme maker fee but it cannot know that since it doesnt know who is on the othe side of the trade.
So it is done. Happy.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This party is one I know has volume discounts
but I am gettign NULLS back from all discount fields on the API.
The text was updated successfully, but these errors were encountered: