Comments (7)
from cointrader.
Thanks Douggie --
Not quite sure what you mean by:
main the order state within your application.
from cointrader.
from cointrader.
Hi Douggie --
So, if I understand you correctly after a disconnect I simply need code to pull down the new order status?
from cointrader.
from cointrader.
Hi Ian,
Sorry this got mixed up an exchange thread.
Cointrader maintains all the order state for you and reconnects and determines the latest state. If cointrader fails, it recovers the state from the DB then connects to each exchange and reconciles the latest order state for you at start up.
There are also some JMX commands that allow you to create manual fill and order operations at runtime in the event something goes seriously wrong.
For performance the DB is persisted as a lazy write via a blocking queue, this queue is not durable so if you had a tonne of messages and a slow DB, this queue would back up, if you then restarted coin trader the state of stuff that was in the queue would be lost, in reality I have not see this happen.
from cointrader.
Thanks Douggie.
from cointrader.
Related Issues (20)
- no module file found for MarketsCommand.epl HOT 1
- Cannot exit console HOT 1
- buy antlr command error parsing HOT 3
- Information HOT 4
- Running BookTest in Eclipse failed due to failed db initialization HOT 2
- Latest master cannot build with mvn HOT 44
- I built it... but it fails to store data... HOT 3
- Is master a working version? HOT 2
- Upgrade to Apache Flink
- Problem with connecting to Mysql database HOT 2
- Location of cointrader.properties HOT 3
- NoClassDefFoundError: javax/xml/bind/JAXBException HOT 8
- doc update: input console under eclipse HOT 1
- exit fails HOT 4
- How to Add an XChange HOT 4
- Trigger on order fill? HOT 1
- Is last version working? HOT 3
- Dependency org.apache.zookeeper:zookeeper, leading to CVE problem HOT 2
- Application can not start because of the hibernate version HOT 3
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 cointrader.