Skip to content
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

Beta 5 Symbol Issue #94

Closed
turgayacar opened this issue May 12, 2018 · 2 comments
Closed

Beta 5 Symbol Issue #94

turgayacar opened this issue May 12, 2018 · 2 comments
Labels

Comments

@turgayacar
Copy link

Greetings;
I want to set Symbol by string;
Example = Symbol sym = "BTCUSDT";
but push error this update.
How to fix it?
Need set from string asset or symbol. And very useful.

@sonvister
Copy link
Owner

@turgayacar, the implicit conversion of string to Symbol was replaced with Symbol.Cache.Get() in 0.2.0-beta4 (issue #89) and a cache abstraction layer was added.

So, Symbol sym = "BTCUSDT"; is now Symbol sym = Symbol.Cache.Get("BTCUSDT");

The code is not as concise, but it resolves #89 and makes it clear that the Symbol is being pulled from the cache.

@turgayacar
Copy link
Author

Oh Thanks.
Best Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants