Comments (10)
That is because your FnMut is not Send
from binance-rs-async.
If I add the constraint on the library :
`NonNull<pq_sys::pg_conn>` cannot be shared between threads safely
`Cell<i32>` cannot be shared between threads safely
`RefCell<HashMap<StatementCacheKey<Pg>, pg::connection::stmt::Statement>>` cannot be shared between threads safely
from binance-rs-async.
I could add better tooling on that module to make it easier to split between sync and async, but that wouldn't solve your problem.
from binance-rs-async.
@Igosuki Actually my issue has been resolved with #23, ported https://github.com/joelchen/teleporter was just to reproduce the issue, my other project is not using pq_sys::pg_conn.
from binance-rs-async.
Actually I'm wondering if I shouldn't just add the auto trait constraint somehow in the code because you are the second person to get hit by this.
from binance-rs-async.
I'm interested in what you want to do with that ticker data, I'm personally building trading tools these days.
from binance-rs-async.
@Igosuki The ticker data is written to file instead of database, and thereafter being analyzed.
from binance-rs-async.
I agree that the Fn must be Send so I merged and added better examples
from binance-rs-async.
@joelchen I know that you are doing that, I actually use this library to write orderbooks to parquet files in a similar fashion.
I'm just wondering what you'll do with the data, machine learning ?
from binance-rs-async.
Well, my email is on my profile if you wanna talk about your project.
from binance-rs-async.
Related Issues (20)
- Stop Loss Orders & Take Profit Orders for futures HOT 3
- NOT working - get_exchange_info HOT 1
- Futures API HOT 2
- not support COIN-M Futures
- Change in API caused deserialization to break model HOT 1
- New type "AMENDMENT" as order modify in Execution Type x of Order Update event ORDER_TRADE_UPDATE HOT 1
- Fix: wallet api bugs HOT 12
- Margin Account cancel_all_orders on open OCO order yields MarginOCOOrderResult instead of MarginOrderCancellationResult HOT 6
- add PartialEq on OrderStatus and similar types HOT 1
- errors while using the wallet feature? HOT 2
- Is futures websocket stream not implemented? HOT 10
- futures position_information implementation HOT 1
- The GET method internally creates a new `reqwest::Client` each time.
- Configure timeout of the client. HOT 5
- Dependency Dashboard
- Proxy support? HOT 11
- Version 1.3.2 didn't match with the available ones HOT 2
- Signature for this request in not valid HOT 2
- How to solve recvWindow error?
- tokio-tungstenite updating to version 0.20 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binance-rs-async.