Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

♻️ Adding back reverse mode for FTX futures #36

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thibaultyou
Copy link
Owner

Related to this issue.

@thibaultyou thibaultyou added the enhancement New feature or request label Oct 13, 2021
@@ -12,7 +12,7 @@ import { getTickerPrice } from './ticker.utils';

export const getRelativeOrderSize = (balance: number, size: string): number => {
const percent = Number(size.replace(/%/g, ''));
if (percent <= 0 || percent > 100) {
if (percent <= 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why would > 100% be allowed?

Copy link
Owner Author

Choose a reason for hiding this comment

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

if you're using leverage to trade like a degenerate 😅

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants