8000 Bullish exchange integration by AresArtemius · Pull Request #25884 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bullish exchange integration #25884

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

Draft
wants to merge 75 commits into
base: master
Choose a base branch
from

Conversation

AresArtemius
Copy link
Contributor

No description provided.

}, market);
}

async safeDeterministicCall (method: string, symbol: Str = undefined, since: Int = undefined, limit: Int = undefined, timeframe: Str = undefined, params = {}) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

hum why we need this method here?

Copy link
Contributor

Choose a reason for hiding this comment

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

If we provide until in params the exchange will return the latest limit entries. In this case all calls of the method by fetchPaginatedCallDeterministic will return the same entries. Thus we have to delete until from params before calling the method.

@carlosmiei
Copy link
Collaborator

@AresArtemius I think we're missing the handleErrors implementation

this.orderbooks[symbol] = this.orderBook ();
}
const orderbook = this.orderbooks[symbol];
const bids = this.separateBidsOrAsks (this.safeList (data, 'bids', []));
Copy link
Collaborator

Choose a reason for hiding this comment

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

you sure we need this method? why?

Copy link
Contributor

Choose a reason for hiding this comment

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

Both price and amount are in the same array without any key to distinguish.
Even indexes (including 0) are prices, odd indexes are amounts. I don't know how to handle it in a different way.

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
0