Comments (3)
@RaNo99, unfortunately I don't have access to this sort of data. I'd need you to help me by providing some JSON files.
from morgan-stanley-pl.
Here you go:
endpoint: /sw-ptpapi/v1/withdrawals/realtimeTransactions/*
Response part of interest:
{
//...
"order" : {
"exchangeFriendlyTzShortName" : "EST",
"fillsIfNotTooMany" : [ {
"fillDateTime" : "2019-11-25T11:11:09",
"fillPrice" : {
"amount" : "CENSORED",
"currency" : "USD"
},
"fillQuantity" : "CENSORED"
}, {
"fillDateTime" : "2019-11-25T11:11:09",
"fillPrice" : {
"amount" : "CENSORED",
"currency" : "USD"
},
"fillQuantity" : "CENSORED"
}, {
"fillDateTime" : "2019-11-25T11:11:09",
"fillPrice" : {
"amount" : "CENSORED",
"currency" : "USD"
},
"fillQuantity" : "CENSORED"
} ],
"formattedSymbolAndExchange" : "CENSORED",
"goodTillCancel" : true,
"limitOrder" : true,
"limitPrice" : {
"amount" : "CENSORED",
"currency" : "USD"
},
"orderDate" : "2019-11-12",
"orderQuantity" : "CENSORED",
"orderStatusDescription" : "Order is done",
"totalFillQuantity" : "CENSORED",
"uniqueFillDate" : "2019-11-25",
"weightedAverageFillPrice" : {
"amount" : "CENSORED",
"currency" : "USD"
}
},
//...
}
The order was placed on 2019-11-12. Then it waited until 2019-11-25 when the stock price finally grew high enough to match the ordered price. Then, in this particular case, it was sold in three parts (because not immediately there were enough buyers to buy all the stock units at the price I ordered). It's possible that a sale like this could extend over a few days (fortunately in my case all parts were sold on the same day), and that's where I think uniqueFillDate becomes helpful.
from morgan-stanley-pl.
It works fine for me now. Thanks @ncortines .
from morgan-stanley-pl.
Related Issues (18)
- Static currency exchange rates HOT 3
- Error when 'No Data Available for the Criteria Selected' HOT 1
- Releases calculation is broken
- Problem with "Release" records
- No exchange rate found (3 days easter holiday) HOT 4
- PIT 2017 form changes HOT 2
- Problem with "Release Shared" records HOT 10
- Incorrect dates in dividend details HOT 2
- Tax law changes 2019
- What about dividends? HOT 12
- Wrong PIT fields
- Cash withdrawals
- buy options sale records are ignored HOT 5
- Wrong PIT-36 fields
- Unable to process ESSP-funded Sale records HOT 10
- Some syntax issues? HOT 1
- Service base URL changes
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 morgan-stanley-pl.